cURL
curl --request GET \ --url https://api.example.com/api/v1/assistants/{assistant_id}/documents \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
List documents for an assistant.
assistant_id
[ { "id": "doc_1234567890", "user_id": "user_12345", "organization_id": "org_67890", "assistant_id": "asst_a1b2c3d4e5f67890", "name": "product_faq.pdf", "status": "completed", "created_at": "2023-10-28T16:00:00Z", "updated_at": "2023-10-28T16:05:00Z" }, { "id": "doc_abcdefghij", "user_id": "user_12345", "organization_id": "org_67890", "assistant_id": "asst_a1b2c3d4e5f67890", "name": "onboarding_guide.docx", "status": "completed", "created_at": "2023-10-29T10:00:00Z", "updated_at": "2023-10-29T10:02:00Z" } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response