Skip to main content
POST
Create Trace Upload

Authorizations

X-API-Key
string
header
required

Organization API key

Path Parameters

source_id
string
required
Required string length: 1 - 64

Body

application/json
byte_size
integer
required

Exact size of the OTLP JSON or JSONL file in bytes, at most 32 MiB.

Required range: x <= 33554432

Response

Successful Response

upload_id
string
required

Identifier of the upload.

source_id
string
required

The source the traces will be imported into.

upload_url
string
required

Signed GCS PUT URL valid for one hour; upload the file here with upload_headers, then call complete.

upload_headers
Upload Headers · object
required

Required HTTP headers for the PUT request to upload_url.

expires_at
string<date-time>
required

Time the signed URL expires.