curl --request GET \
--url http://localhost/api/v1/assistants/custom/{assistant_id}/files \
--header 'Authorization: Bearer <token>'
[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tenant_id": "<string>",
"tenant_name": "<string>",
"title": "<string>",
"description": "<string>",
"created_on": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"created_by_username": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"name": "<string>",
"meta": {},
"source_uri": "<string>",
"source_date": "2023-12-25",
"source_name": "<string>",
"source_title": "<string>",
"text": "<string>",
"collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"collection_name": "<string>"
}
]
curl --request GET \
--url http://localhost/api/v1/assistants/custom/{assistant_id}/files \
--header 'Authorization: Bearer <token>'
[
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tenant_id": "<string>",
"tenant_name": "<string>",
"title": "<string>",
"description": "<string>",
"created_on": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"created_by_username": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"tags": [
"<string>"
],
"name": "<string>",
"meta": {},
"source_uri": "<string>",
"source_date": "2023-12-25",
"source_name": "<string>",
"source_title": "<string>",
"text": "<string>",
"collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"collection_name": "<string>"
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type DocumentOut · object[]
.