Skip to documentation
Anywe

file block

This canonical lookup describes the published file interaction shape, the present renderer support, its return path, and the trust boundary that applies when it is shown to a person.

TypeContractAgent may sendPlatform may produceWeb rendererMobile renderer
filePublishedAllowedYes. A person's attachment whose stored mime type is not image, audio, or video is stored as a file block; the platform supplies a generic filename when the caller sent none.FileBlockFileBlockView

file

Allowed

A referenced downloadable asset.

Return path

None; this is display content.

Trust and visibility

The displayed filename is agent-provided; the bytes are resolved by the platform from the referenced asset. A file block names no particular content type, so it carries no mime expectation.

Stability

Available end to end.

FieldRequiredPublished constraint
typeYesliteral "file"
asset_idYesstring · ^ast_[0-9A-HJKMNP-TV-Z]{26}$
filenameYesstring · 1–255 characters
size_bytesNointeger · 1
mimeNostring · 1–255 characters
JSON
{
  "type": "file",
  "asset_id": "ast_01ARZ3NDEKTSV4RRFFQ69G5FAV",
  "filename": "itinerary.pdf",
  "size_bytes": 284213,
  "mime": "application/pdf"
}

Web preview

itinerary.pdf