Upload the file to S3 first using Get upload URL before calling this endpoint.
Request body
The object storage key that identifies the uploaded file. This is the key returned as part of the presigned upload flow.
The original filename of the document (e.g.
report.pdf).The session to associate the ingested document with.
Arbitrary key-value metadata to attach to the document chunks. Pass an empty object
{} if no tags are needed.Response
201 Created
The ID of the ingest log record created for this document. Use this to track the document’s ingestion status.
500 Internal Server Error
Always
"Internal Server Error".Machine-readable error code for debugging.
Example
Response