Documents
Start a chunked upload
A resumable upload of a large file into the workspace workspace_id names, or, without one, for your document jobs, in parts of chunk_size bytes. Takes an Idempotency-Key header.
Send each call below straight to the document service, with X-Upload-Token: <session_token>:
- PUT {upload_session_url}/parts/{n} for each part, numbered from 0.
- POST {upload_session_url}/complete?wait_seconds=60 with an Idempotency-Key. It assembles the file in the background and answers 202 while it runs.
- Repeat step 2 with the same key until it answers 200 with result.file (workspace_id, file_id).
GET {upload_session_url} shows progress, and DELETE {upload_session_url} aborts.
post/v1/documents/upload-sessions
Request
- Base URLhttps://console.nace.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring
Scoped to your account. Retry with the same key to get the same session.
Request body
Response
The session.
Changes
No recorded changes to this operation across all 1 revision of this API.