Skip to main content
GET
Extracted attachment text

Authorizations

Authorization
string
header
required

Agent token (alt_…) or OAuth access token; bound to one agent

Path Parameters

attachmentId
string
required

Attachment id

Response

Text, status and screening

Text extracted from an attachment; untrusted external data.

status
enum<string>
required

pending while extraction runs, unavailable for binary files, withheld when screening blocked the text

Available options:
ready,
pending,
unavailable,
withheld
text
string | null
required
filename
string
required
content_type
string
required
screening
object | null
required

Screening of the extracted text of a received attachment; null for files the inbox sent and before extraction