# Process


[API catalog](/reference/api/) · [Docker Sandboxes overview](/reference/api/sandboxes/latest/) · [Product manual](https://docs.docker.com/ai/sandboxes-api/) · [OpenAPI specification](/reference/api/sandboxes/api.yaml)

API version: v1


> This API is experimental. Features, interfaces,
> and behavior may change.




Schema constraints and annotations:

```json
{
  "description": "Process is the handle returned before interaction begins.",
  "properties": {
    "exitCode": {
      "description": "exit_code is the process exit code, set only when state is exited and absent otherwise.",
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "label": {
      "description": "(IMMUTABLE) label retains the unique, immutable process label and its generated default.",
      "minLength": 1,
      "type": "string"
    },
    "lastStreamSequence": {
      "description": "last_stream_sequence is the highest stream_sequence emitted for the process when this report was assembled; 0 before any output.",
      "format": "int64",
      "type": [
        "integer",
        "string"
      ]
    },
    "name": {
      "description": "(IDENTIFIER) name is scoped to the discovered sandbox endpoint API base.",
      "type": "string"
    },
    "pid": {
      "description": "pid is the process id inside the sandbox when available.",
      "format": "int32",
      "type": "integer"
    },
    "receiptKind": {
      "$ref": "#/components/schemas/ReceiptKind",
      "description": "receipt_kind classifies this response on CreateProcess; every other operation\nreturning a Process, including ListProcesses, always reports unspecified."
    },
    "session": {
      "description": "session is the session tag from the create, empty when untagged.",
      "type": "string"
    },
    "state": {
      "$ref": "#/components/schemas/ProcessState",
      "description": "state is the process state, concrete in conforming responses."
    },
    "uid": {
      "description": "(IMMUTABLE) uid is the existing process incarnation, also used as the resource name terminal.",
      "readOnly": true,
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "label"
  ],
  "title": "Process",
  "type": "object"
}
```



