Skip to main content

Stage Trace Upload

POST 

/traces/uploads

Stage a trace export in object storage and return a handle to land it with.

workspace_id is a query parameter and the multipart body is read by hand rather than declared as UploadFile: FastAPI awaits request.form() before dependencies, so a declared file parameter would spool the whole export to disk before this membership check could refuse it.

Returns 403 if the caller does not belong to the workspace (or, if omitted, is not a platform admin). Returns 422 if the multipart body carries no single file part or the filename does not end in a supported trace-export suffix, and 413 if the export exceeds the configured per-upload byte limit.

Request​

Responses​

Successful Response