Get fragments by ID
GET/pipelines/:pipeline_id/fragments
Returns the fragments of a pipeline that have the given identifiers, as a JSON array without the list envelope. The array omits identifiers that match no fragment and fragments whose classification is outside the key's classification allow-list for the pipeline, and includes expired fragments. The order of the array is not defined. Each fragment holds the identifier, classification, metadata, version and position, but not the text: the fragment list of the document version returns the text when the request sets contents=true.
Permissions. Read and execute on the pipeline.
Documents, versions and fragments describes fragments.
Request
Responses
- 200
- 401
- 404
The body is an array of the fragments found, which can be empty.
The authentication headers are missing or invalid, or the API key is inactive or expired. Errors lists the messages.
No pipeline with this identifier exists, or the key lacks read and execute permission on the pipeline (Pipeline with id <id> not found).