Documents

Upload Document

post

Upload a single document for processing.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
project_idstringRequiredExample: {{project_id}}
Body
filestring · binaryRequiredExample: file:///Users/ryota/Desktop/sample_document.pdf
Responses
202

Successful Response

application/json
Responseobject
post
/projects/{project_id}/documents/upload

Batch Upload Documents

post

Upload multiple documents for processing.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
project_idstringRequired
Query parameters
storage_typestring · enumOptionalDefault: persistencePossible values:
Body
filesstring · binary[]Required
Responses
202

Successful Response

application/json
post
/projects/{project_id}/documents/batch-upload

Ingest From Url

post

Ingest a document from a public URL.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
project_idstringRequired
Query parameters
storage_typestring · enumOptionalDefault: persistencePossible values:
Body

Request to ingest a document from URL.

urlstring · uri · min: 1 · max: 2083Required

URL to ingest document from

filenameany ofOptional

Custom filename to use

stringOptional
or
nullOptional
Responses
202

Successful Response

application/json
post
/projects/{project_id}/documents/ingest-url

Get Document Status

get

Get document metadata and processing status.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
document_idstring · uuidRequired
project_idstring · uuidRequired

Project ID to operate on

Responses
get
/projects/{project_id}/documents/{document_id}

Get Document Download Url

get

Get document presigned download URL.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
project_idstring · uuidRequired

Project ID to operate on

document_idstring · uuidRequired
Responses
get
/projects/{project_id}/documents/{document_id}/download

Last updated