Open a file or URL with the default handler.
Source:
sandbox-agent/docs/content/docs/api-reference/operations/post_v1_desktop_open.mdxCanonical URL: https://rivet.dev/sandbox-agent/docs/api-reference/operations/post_v1_desktop_open Description: POST /v1/desktop/open: request parameters and responses.
POST /v1/desktop/open
Opens a file path or URL using xdg-open on the managed desktop.
Request body
Required.
application/json
{
"schema": {
"$ref": "#/components/schemas/DesktopOpenRequest"
}
}Related schemas: DesktopOpenRequest.
Responses
200
Target opened
Content type: application/json
{
"schema": {
"$ref": "#/components/schemas/DesktopOpenResponse"
}
}Related schemas: DesktopOpenResponse.
409
Desktop runtime is not ready
Content type: application/json
{
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}Related schemas: ProblemDetails.