Skip to main content

PdfAnnotation

Provider annotation identifying a parsed PDF and reusable parsing output.

Usage profiles​

UsageFields and validation
In requestsView fields
In responsesView fields
In webhook payloadsView fields

In requests​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
filenamestringOptionalOptional identifying information about the original file
enginestringOptionalPDF parsing engine used by provider (e.g., "pdf-text", "mistral-ocr", "native")
tokenstringOptionalOpaque provider token or handle allowing reuse without re-parsing
sourceUrlstringOptionalOptional: original source reference (public URL or data: URL)
hashstringOptionalProvider-supplied hash identifying the parsed file.
contentArray of ContentPartOptionalOptional structured content returned by provider annotations (text, image URLs, etc.) Note: This can be large; include only if you need to round-trip provider annotations.

In responses​

API JSON uses JSON field names (camelCase).

FieldTypePresenceMeaning
filenamestringOptionalOptional identifying information about the original file
enginestringOptionalPDF parsing engine used by provider (e.g., "pdf-text", "mistral-ocr", "native")
tokenstringOptionalOpaque provider token or handle allowing reuse without re-parsing
sourceUrlstringOptionalOptional: original source reference (public URL or data: URL)
hashstringOptionalProvider-supplied hash identifying the parsed file.
contentArray of ContentPartOptionalOptional structured content returned by provider annotations (text, image URLs, etc.) Note: This can be large; include only if you need to round-trip provider annotations.

In webhook payloads​

Webhook JSON uses protobuf field names (snake_case).

FieldTypePresenceMeaning
filenamestringOptionalOptional identifying information about the original file
enginestringOptionalPDF parsing engine used by provider (e.g., "pdf-text", "mistral-ocr", "native")
tokenstringOptionalOpaque provider token or handle allowing reuse without re-parsing
source_urlstringOptionalOptional: original source reference (public URL or data: URL)
hashstringOptionalProvider-supplied hash identifying the parsed file.
contentArray of ContentPartOptionalOptional structured content returned by provider annotations (text, image URLs, etc.) Note: This can be large; include only if you need to round-trip provider annotations.

Where used​

ReferenceRelationship
Append a message without generatingPOST /api/v1/llm/append-message
Send a message to a conversationPOST /api/v1/llm/send-message
Send a message and wait for the resultPOST /api/v1/llm/send-message-sync
Withdraw your rating on a messagePOST /api/v1/llm/delete-message-rating
Get full conversation statePOST /api/v1/llm/conversation-state
Rate an assistant messagePOST /api/v1/llm/rate-message
Submit client-side tool results and wait for the next segmentPOST /api/v1/llm/submit-client-tool-results-sync
llm.message_publishedWebhook JSON uses protobuf field names (snake_case).
AnnotationNested in model
AnnotationNested in model
AnnotationNested in model

Download the public reference contract.

Document: DOC-API-MODEL-pdf-annotation.