Share feedback
Answers are generated based on the documentation.

Experimental

GetProcess reads one process by its endpoint-scoped resource name.

GET/v1/processes/{process}
GetProcess reads one process by its endpoint-scoped resource name.

Connection and access

API connection and authentication guidance

{endpoint}

endpoint: The sandbox API base URL from Sandbox.core.endpoint.uri; preserve its path prefix when appending /v1 routes. HTTP endpoints require a scoped endpoint bearer; direct Unix sockets use socket access control.

Use one of these alternatives. Requirements within an alternative apply together.

  • sandboxBearer

Parameters

process path Required

The process id.

Type: string

All schema constraints and annotations
{
  "type": "string"
}

Request and responses

Response 200

Success

application/json

Schema: Process

Response 404

The target is absent or not visible within the caller's scope.

application/json

Schema: Error

notFound

{
  "code": "notFound",
  "message": "The target is absent or not visible within the caller's scope."
}

Response default

The structured Error body identifies the failure with a stable code and optional typed details.

application/json

Schema: Error

Schema example

{
  "code": "notFound",
  "details": [],
  "message": "sandbox not found"
}

Referenced schemas

#/components/schemas/Error

#/components/schemas/Process

Complete operation contract
{
  "description": "GetProcess reads one process by its endpoint-scoped resource name.",
  "operationId": "getProcess",
  "parameters": [
    {
      "description": "The process id.",
      "in": "path",
      "name": "process",
      "required": true,
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Process"
          }
        }
      },
      "description": "Success"
    },
    "404": {
      "content": {
        "application/json": {
          "examples": {
            "notFound": {
              "summary": "The target is absent or not visible within the caller's scope.",
              "value": {
                "code": "notFound",
                "message": "The target is absent or not visible within the caller's scope."
              }
            }
          },
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      },
      "description": "The target is absent or not visible within the caller's scope."
    },
    "default": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      },
      "description": "The structured Error body identifies the failure with a stable code and optional typed details."
    }
  },
  "security": [
    {
      "sandboxBearer": []
    }
  ],
  "servers": [
    {
      "url": "{endpoint}",
      "variables": {
        "endpoint": {
          "default": "https://sandbox.invalid",
          "description": "The sandbox API base URL from Sandbox.core.endpoint.uri; preserve its path prefix when appending /v1 routes. HTTP endpoints require a scoped endpoint bearer; direct Unix sockets use socket access control."
        }
      }
    }
  ],
  "summary": "GetProcess reads one process by its endpoint-scoped resource name.",
  "tags": [
    "Processes"
  ],
  "x-sbx-authenticated-only": false,
  "x-sbx-conditional-permissions": [],
  "x-sbx-error-responses": [
    {
      "code": "NOT_FOUND",
      "description": "The target is absent or not visible within the caller's scope."
    }
  ],
  "x-sbx-plane": "data",
  "x-sbx-required-permissions": [
    "sandboxesExec"
  ],
  "x-sbx-serving-surface": "sandboxEndpoint"
}