POST
/
documents
/
get-document-info
curl --request POST \
  --url https://api.zeroentropy.dev/v1/documents/get-document-info \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "collection_name": "<string>",
  "path": "<string>",
  "include_content": false
}'
{
  "document": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "collection_name": "<string>",
    "path": "<string>",
    "metadata": {},
    "index_status": "not_parsed",
    "size": 123,
    "num_pages": 123,
    "file_url": "<string>",
    "content": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.