Return a single document by ID, including parsing status, page count, tags, and timestamps. Returns 404 if the document does not exist on this project.
Lifecycle status. Pending while the document is being parsed; Processed once parsing has completed; Failed if parsing cannot complete.
uses_agentic_extraction
No
boolean
True when the document is parsed using the agentic (AI-assisted) parser, false when it is parsed by the standard parser.
last_parsed_at
No
string (date-time) (nullable)
Timestamp of the most recent successful parse, or null if it has never been parsed.
archive_requested_at
No
string (date-time) (nullable)
Timestamp when archival was requested for this document, or null. A non-null value means the document is queued to be moved into an archived project and will disappear from this project once archival completes.