GET
/
document
/
document-size-info
Get Document Info
curl --request GET \
  --url https://cloud.onyx.app/api/document/document-size-info \
  --header 'Authorization: Bearer <token>'
{
  "num_chunks": 123,
  "num_tokens": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

document_id
string
required

Response

200
application/json

Successful Response

The response is of type object.