documents

Fetch a document's metadata by ID.

Returns metadata for a single document.

include_impact=true: Adds a deletion_impact block showing how many chunks, edges, entities, and vectors would be removed if this document were deleted. Requires the existing RLS-scoped session — no extra DB connection.

Default (include_impact=false): Backward-compatible with v1 clients; deletion_impact is omitted from the response.

get/v1/documents/{document_id}

Request

  • Base URL: https://api.andish.ru (the document declares no server; this is the origin it was published from)
  • URL: https://api.andish.ru/v1/documents/{document_id}
  • Auth: none declared

Path parameters

document_idstring uuid required

Document UUID.

Query parameters

include_impactboolean

When true, includes a deletion_impact block in the response showing what would be affected by deleting this document.

Response

Successful Response

document_idstring required
statusstring required
created_atstring date-time required
updated_atstring date-time required
metaobject required
progress_percentinteger required
error_messagestring nullable
processed_atstring date-time nullable
contentstring nullable
is_parentboolean
document_datestring nullable
last_queried_atstring date-time nullable
content_summarystring nullable
chunks_countinteger nullable
entity_countinteger nullable
edge_countinteger nullable

Changes

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