Brain
List Documents
GET
/
brain
/
{brain_id}
/
documents
curl --request GET \
--url https://api.isosceles.ai/brain/{brain_id}/documents \
--header 'Authorization: Basic <encoded-value>'
[
{
"brain_id": "e46c625f-9057-4e0c-88ba-3a27d0c34748",
"chunks": 0,
"created_at": "Sat, 21 Sep 2024 00:08:12 GMT",
"document_id": "2c3bad22-dd58-41c4-a6a5-50ccd2f513a4",
"id": 5575,
"name": "pg16.pdf",
"status": "COMPLETE",
"type": "file",
"url": "https://athena-copilot.s3.ap-south-1.amazonaws.com/athena/b551edf3eb46430b884ca8c720e0004f-pg16.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXZ5NGMGNXDFENIAQ%2F20240921%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20240921T000812Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=1e09eda7ebcb5a60f5aa57e498bba0a7aed86b7821eca83a0d782f50c9465512"
}
]
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
Response
200 - application/json
The response is of type object[]
.
curl --request GET \
--url https://api.isosceles.ai/brain/{brain_id}/documents \
--header 'Authorization: Basic <encoded-value>'
[
{
"brain_id": "e46c625f-9057-4e0c-88ba-3a27d0c34748",
"chunks": 0,
"created_at": "Sat, 21 Sep 2024 00:08:12 GMT",
"document_id": "2c3bad22-dd58-41c4-a6a5-50ccd2f513a4",
"id": 5575,
"name": "pg16.pdf",
"status": "COMPLETE",
"type": "file",
"url": "https://athena-copilot.s3.ap-south-1.amazonaws.com/athena/b551edf3eb46430b884ca8c720e0004f-pg16.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAXZ5NGMGNXDFENIAQ%2F20240921%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20240921T000812Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=1e09eda7ebcb5a60f5aa57e498bba0a7aed86b7821eca83a0d782f50c9465512"
}
]
Assistant
Responses are generated using AI and may contain mistakes.