Get fragments by ID
GET/pipelines/:pipeline_id/fragments
Returns the fragments of a pipeline that have the given identifiers, with the decrypted text in page_content, as a JSON array without the list envelope, in the order of the identifiers in the request. The array omits identifiers that match no fragment, fragments whose classification is outside the key's classification allow-list for the pipeline and, unless the request sets include_expired=true, fragments of expired document versions. A request names at most 1,000 identifiers.
Permissions. Read and execute on the pipeline.
Documents, versions and fragments describes fragments.
Request
Responses
- 200
- 400
- 401
- 404
- 500
The body is an array of the fragments found, in the order of the requested identifiers, which can be empty.
The request names more than 1,000 identifiers (Invalid parameter, with At most 1000 fragment ids can be requested at once in details.error), or an id value is not a UUID.
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 not found).
The text of a fragment could not be decrypted (Internal server error). The API server log records the cause.