Skip to main content
POST
/
documents
/
{document_id}
/
upload-complete
Document Upload Complete
curl --request POST \
  --url https://api.example.com/documents/{document_id}/upload-complete/ \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "document": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "organisation_id": "<string>",
    "status": "<string>",
    "detailed_description": "<string>",
    "description": "<string>",
    "num_tokens": 123
  }
}

Authorizations

Authorization
string
header
required

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

Headers

Api-key
string | null

Path Parameters

document_id
string<uuid>
required

Response

Successful Response

status
string
required
document
DocumentWithoutContent · object
required