Skip to main content
GET
/
api
/
core
/
files
Get all files
curl --request GET \
  --url https://api.example.com/api/core/files \
  --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>"
  }
]

Authorizations

Authorization
string
header
required

Bearer token authentication. Format: 'Bearer '

Query Parameters

source_type
string
required

Type of the file source

source_id
string
required

ID of the file source

Response

Successful Response

stem
string
required
extension
string
required
hash
string
required
num_pages
integer
required
num_chunks
integer
required
num_tokens
integer
required
view_uri
string
required
download_uri
string
required