chunks
workflow-agent

List Document Chunks

Get chunk metadata for a document (without content).

Returns a list of all chunk IDs and metadata for the document, allowing agents to discover available chunks before reading specific ones.

get/api/v1/documents/{documentId}/chunks

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

documentIdinteger required

Headers

authorizationstring nullable
x-api-keystring nullable

Response

Successful Response

document_idinteger required

Document ID

total_chunksinteger required

Total number of chunks

Changes

No recorded changes to this operation across all 5 revisions of this API.