List Pipeline Documents
GET/api/v1/pipelines/:pipeline_id/documents
Return a list of documents for a pipeline.
Request
Path Parameters
pipeline_id uuidrequired
Query Parameters
skip Skip
Default value:
0
limit Limit
Default value:
10
file_id any
only_direct_upload any
Cookie Parameters
session any
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
Array [
]
]
text Text (string)required
metadata objectrequired
excluded_embed_metadata_keys string[]
Default value:
[]
excluded_llm_metadata_keys string[]
Default value:
[]
page_positions
object
indices in the CloudDocument.text where a new page begins. e.g. Second page starts at index specified by page_positions[1].
anyOf
integer
id Id (string)required
[
{
"text": "string",
"metadata": {},
"excluded_embed_metadata_keys": [
"string"
],
"excluded_llm_metadata_keys": [
"string"
],
"page_positions": [
null
],
"id": "string"
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}