Skip to main content
POST
Complete Trace Upload

Authorizations

X-API-Key
string
header
required

Organization API key

Path Parameters

source_id
string
required
Required string length: 1 - 64
upload_id
string
required
Required string length: 1 - 64

Response

Successful Response

upload_id
string
required

Identifier of the upload.

source_id
string
required

The source the traces were imported into.

kind
string
required

How the traces were uploaded.

Allowed value: "signed_url"
status
enum<string>
required

uploading until the file is pushed to the signed URL and completed; pending until its traces are imported; completed once each trace has an outcome; failed if the file could not be imported.

Available options:
uploading,
pending,
completed,
failed
byte_size
integer
required

Size of the uploaded file in bytes.

Required range: x >= 0
imported_count
integer
required

Traces imported as new trajectories.

Required range: x >= 0
skipped_count
integer
required

Traces already imported by an earlier upload.

Required range: x >= 0
failed_count
integer
required

Traces that were not imported.

Required range: x >= 0
failures
TraceUploadFailure · object[]
required

The first 100 traces that were not imported, with their reasons.

error
string | null
required

Why a failed upload's file could not be imported.

created_at
string<date-time>
required

Time the upload was accepted.

completed_at
string<date-time> | null
required

Time the upload finished.