# ProcessOutput


[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
{
  "dependentSchemas": {
    "chunk": {
      "not": {
        "anyOf": [
          {
            "required": [
              "exited"
            ]
          },
          {
            "required": [
              "heartbeat"
            ]
          }
        ]
      }
    },
    "exited": {
      "not": {
        "anyOf": [
          {
            "required": [
              "chunk"
            ]
          },
          {
            "required": [
              "heartbeat"
            ]
          }
        ]
      }
    },
    "heartbeat": {
      "not": {
        "anyOf": [
          {
            "required": [
              "chunk"
            ]
          },
          {
            "required": [
              "exited"
            ]
          }
        ]
      }
    }
  },
  "description": "Output is one server frame on an interaction stream. At most one of chunk, exited, heartbeat is set.",
  "properties": {
    "chunk": {
      "$ref": "#/components/schemas/ProcessChunk",
      "description": "chunk carries ordered process output."
    },
    "exited": {
      "$ref": "#/components/schemas/ProcessExited",
      "description": "exited reports process completion."
    },
    "heartbeat": {
      "$ref": "#/components/schemas/ProcessHeartbeat",
      "description": "heartbeat keeps an idle stream alive and carries no resume position."
    }
  },
  "title": "Output",
  "type": "object",
  "unevaluatedProperties": false
}
```



