Dtypes

Read, view, edit and create any stored value (a document, a recording, a tool result) by its handle. Values are handles: each is addressed by its content hash.

Every value is a dtype stored once under its handle, <dtype>-<hash> (pdf-..., tree-..., audio-...): large results, uploads and <attachment id="..."/> markers all carry one. The stored value is never truncated, only its rendering is, and it never changes: edit and create return new handles. An unknown handle, or one owned by an entity the caller cannot read, is a 404; read a handle in the organization of the call that produced it. In a chat, ref may also be the tool_call_id of the result.

Read text with get_content (by path, range or query), look at pages, images and clips with get_media, and ask info what a handle is and where it came from. Any argument elsewhere may name part of a stored value instead of copying it: <ref id="<hash>" path="/json/pointer"/>.

Operations

Objects

AddressCandidate

CreateResponse

DtypeBatchResponse

DtypeInfoResponse

DtypePreview

DtypePreviewBatchResponse

DtypeResponse

DtypeSuggestResponse

DtypeValidateBatchResponse

DtypeValidateResult

EditResponse

ExtractFormFieldsResponse

GetContentResponse

GetMediaResponse