source field in the request body. The source is a discriminated
union on type:
URL source ("type": "url")
Point an operation at any https:// or s3:// URL:
url—https://ors3://only. NDI verifies the resolved hostname.file_name— Used to choose the processing lane and appears in result metadata.
Upload source ("type": "upload")
Upload a file via POST /v1/uploads, then reference it by upload_id:
- TTL is set at upload time via
ttl_secondsform field. The default is 7 days; the maximum is also 7 days. Theexpires_atfield in the response shows the exact expiry. - Uploads are not single-use — the same
upload_idcan be used in multiple operations until it expires. - Upload IDs are scoped to your API key.
Workspace file source ("type": "workspace_file")
Reference a file already stored in a workspace. Granular operations read the
raw source bytes — the file does not need to be ingested first.
Parse result source ("type": "parse_result")
Reuse the retained result of a successful Parse job without downloading and
uploading the document again:
kind: "parse" and
status: "succeeded", and still have an available result.
Support varies by operation:
Workspace file uploads
Uploading files into a workspace is a separate endpoint — notPOST /v1/uploads.
Job with kind: "upload_file", not an upload object. The file
persists in the workspace after the job completes. See Files
for full documentation.