API reference sections
Schema
Attachment
Type object
Shape
| Field | Type | Description |
|---|---|---|
| idrequired | AttachmentId | |
| session_idrequired | TerminalSessionId | |
| kindrequired | AttachmentKind | |
| sourcerequired | AttachmentSource | |
| media_typerequired | string | |
| byte_countrequired | integer (uint64, >= 0) | |
| dimensions | ImageDimensions or null | |
| statusrequired | AttachmentStatus | |
| delivery_moderequired | DeliveryMode | |
| deliveryrequired | DeliveryState | |
| turn_id | AgentTurnId or null | |
| preview_availablerequired | boolean | |
| created_at_msrequired | integer (int64) |
{
"id": "00000000-0000-4000-8000-000000000000",
"session_id": "00000000-0000-4000-8000-000000000000",
"kind": "image",
"source": "clipboard",
"media_type": "string",
"byte_count": 0,
"dimensions": {
"width": 0,
"height": 0
},
"status": {
"kind": "ingesting"
},
"delivery_mode": "native_structured",
"delivery": {
"kind": "pending"
},
"turn_id": "00000000-0000-4000-8000-000000000000",
"preview_available": false,
"created_at_ms": 0
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Used by
POST
Upload and attach verified image bytes/v1/sessions/{session_id}/attachmentsDELETE
Remove one pending attachment/v1/sessions/{session_id}/attachments/{attachment_id}
Generated from contract version 1. Last updated .
