Skip to main content
POST
Finish multipart upload

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

username
string
required

The username associated with the request.

namespace
string
required

Namespace for the dataset.

datasetName
string
required

Name of the dataset.

Body

application/json
uploadId
string
required

Upload ID from the prepare response.

Example:

"2~VmxqYXRlRDZWfjJrRWRiZ2FEQXk3dHI4DGhGLygtTmQNXEZPQXFzMVZOZTUgdEdrXCEyNStkQUp3U3Q2RjJqSkV4MFNBOWxJCk0yIHEkfcQ"

key
string
required

S3 object key from the prepare response.

Example:

"uploads/data/20240301-143022-uuid.json"

parts
object[]
required

Array of completed parts with their ETags.

Minimum array length: 1
name
string

Optional name/label for the ingestion (e.g., original filename).

Example:

"sales-data-2024.csv"

infer
object
inferBatchSize
integer | null

Number of rows per LLM inference batch. Defaults to 1000. Reduce for large files to avoid S3 read timeouts caused by slow LLM processing.

Example:

100

dataDescription
string

A description of the dataset to help the AI system understand the context.

Maximum string length: 10000
Example:

"Employee dataset containing demographics and compensation."

schemaDefinition
object

A schema definition mapping field names to descriptions, to guide the AI system in structuring the extracted data.

Example:

Response

Completes the multipart upload and returns the ingestion id.

id
string<uuid>
required

Ingestion id created for background ingestion.

Example:

"550e8400-e29b-41d4-a716-446655440000"