cURL
curl --request GET \ --url https://api.example.com/api/core/files/{file_hash} \ --header 'Authorization: Bearer <token>'
{ "stem": "<string>", "extension": "<string>", "hash": "<string>", "num_pages": 123, "num_chunks": 123, "num_tokens": 123, "view_uri": "<string>", "download_uri": "<string>" }
Get information about a specific file
Bearer token authentication. Format: 'Bearer '
Type of the file source
ID of the file source
Successful Response
Response schema for file information. Used in multiple file-related endpoints.
Was this page helpful?