AgentAttachment

A request or response body; the type column links to the schemas it refers to.

AgentAttachment

An attachment part's file.

FieldTypeRequiredDescription
idstring (uuid)yes

The attachment's id.

file_namestringyes—
content_typestringyes

one of "image/png" | "image/jpeg" | "image/webp" | "image/gif" | "application/pdf"

size_bytesintegeryes—
widthinteger | nullyes

An image's width in pixels; null for a PDF.

heightinteger | nullyes

An image's height in pixels; null for a PDF.

urlstring (uri) | nullyes

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"
}