Documents

Get document visual components

Retrieves all visual components associated with a document.

get/api/v0/documents/{document_id}/visual-components

Path parameters

document_idstring uuid required

Query parameters

page_numberinteger nullable

The page number of the visual component

The page number of the visual component

include_metadataboolean nullable

Whether to return the metadata of the visual component

Whether to return the metadata of the visual component

typesstring[] nullable

Filter to these component types (repeatable, e.g. ?types=pid&types=schematic). Omit to return every type.

Filter to these component types (repeatable, e.g. ?types=pid&types=schematic). Omit to return every type.

Response

Successful Response

idstring uuid required

The ID of the visual component

typestring required

The type of the visual component

document_idstring uuid required

The ID of the document

page_numberinteger required

The page number of the visual component

sequence_numberinteger nullable

The sequence number for ordering within a page

labelstring required

The label of the visual component

descriptionstring required

The description of the visual component

contentstring nullable

The structured content of the component (e.g., HTML table)

created_atstring date-time required

The date and time the visual component was created

updated_atstring date-time required

The date and time the visual component was last updated

mask_urlstring nullable required

The URL of the mask image

metadataobject nullable required

The metadata of the visual component

render_svgstring nullable

SVG rendering of the component (for charts/graphs)

groundingobject nullable

Grounding metadata (bounding boxes, detections)

job_status_idstring uuid nullable

Job status ID when async processing is queued (e.g., chart regeneration)

job_statusstring nullable

Job status when async processing is queued

needs_reprocessingboolean

Whether this component needs reprocessing after bbox edit

parent_idstring uuid nullable

Public id of the parent visual component, when this component is nested

Changes

No recorded changes to this endpoint across all 1 revision of this API.