AgentAttachment
A request or response body; the type column links to the schemas it refers to.
AgentAttachment
An attachment part's file.
| Field | Type | Required | Description |
|---|---|---|---|
| id | string (uuid) | yes | The attachment's id. |
| file_name | string | yes | — |
| content_type | string | yes | one of "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "application/pdf" |
| size_bytes | integer | yes | — |
| width | integer | null | yes | An image's width in pixels; null for a PDF. |
| height | integer | null | yes | An image's height in pixels; null for a PDF. |
| url | string (uri) | null | yes | A presigned URL to open it, good for an hour; minted per read and never stored. Null when the deployment's blob store is not configured or could not sign one. |
jsonExample
{
"id": "5e0c9a14-7b2d-4c38-9f61-0a3d8e2b7c45",
"file_name": "forklift-certificate.pdf",
"content_type": "application/pdf",
"size_bytes": 482113,
"width": 0,
"height": 0,
"url": "string"
}