cURL
curl --request GET \ --url https://api.example.com/api/core/files \ --header 'Authorization: Bearer <token>'
[ { "stem": "<string>", "extension": "<string>", "hash": "<string>", "view_uri": "<string>", "download_uri": "<string>", "num_pages": 123, "num_chunks": 123, "num_tokens": 123, "document_type": "document" } ]
Get information about all files from a source
Bearer token authentication. Format: 'Bearer '
Type of the file source
knowledge_source
chat
ID of the file source
Successful Response
document
image
Was this page helpful?