Share feedback
Answers are generated based on the documentation.

Experimental

Schema

Error

Type: object

An HTTP refusal, resource failure, or terminal stream error. Clients preserve unknown codes and structured details.
code · required
One or more alternatives must match

Schema: ErrorCode

Type: string

All schema constraints and annotations
{
  "type": "string"
}
All schema constraints and annotations
{
  "anyOf": [
    {
      "$ref": "#/components/schemas/ErrorCode"
    },
    {
      "type": "string"
    }
  ]
}
details

Type: array

Array item

Schema: ErrorDetail

All schema constraints and annotations
{
  "items": {
    "$ref": "#/components/schemas/ErrorDetail"
  },
  "type": "array"
}
message

Type: string

All schema constraints and annotations
{
  "type": "string"
}
All schema constraints and annotations
{
  "description": "An HTTP refusal, resource failure, or terminal stream error. Clients preserve unknown codes and structured details.",
  "examples": [
    {
      "code": "notFound",
      "details": [],
      "message": "sandbox not found"
    }
  ],
  "properties": {
    "code": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ErrorCode"
        },
        {
          "type": "string"
        }
      ]
    },
    "details": {
      "items": {
        "$ref": "#/components/schemas/ErrorDetail"
      },
      "type": "array"
    },
    "message": {
      "type": "string"
    }
  },
  "required": [
    "code"
  ],
  "title": "Error",
  "type": "object"
}