cURL
curl --request GET \ --url https://api.timbal.ai/orgs/{org_id}/k2/{kb_id}/files \ --header 'Authorization: Bearer <token>'
{ "files": [ { "content_length": 123, "content_type": "<string>", "created_at": "2023-11-07T05:31:56Z", "id": 123, "kb_id": 123, "metadata": "<unknown>", "name": "<string>", "uid": "<string>", "updated_at": "2023-11-07T05:31:56Z", "url": "<string>" } ], "next_page_token": "<string>" }
List files in a knowledge base
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Page token for pagination
Files listed successfully
Show child attributes