Skip to main content

PdfContent

PDF document content with file metadata.

Fields

modality
str
required
Must be "pdf".
value
PdfContentValue
required
PDF data — either a URL or base64-encoded content. Use PdfContentValue.from_dict() to construct.
file
PdfContentFile
required
File metadata with name, id, and optional size.

Example

JSON: