Skip to main content
A file is an input you uploaded (purpose: input) or the output of a request that succeeded (purpose: output).

The file object

Upload a file

POST /v1/kennet/files Send multipart/form-data with the trace as file: JSON, JSON Lines or UTF-8 text. Returns an input file.

Retrieve a file

GET /v1/kennet/files/{file_id}

List files

GET /v1/kennet/files Inputs, and outputs still within 30 days, newest first. limit 1 to 100; starting_after a file id; purpose input or output.

Download a file’s content

GET /v1/kennet/files/{file_id}/content An output’s content, for 30 days after its request succeeded; then 410 resource_expired. A single Range resumes a download; check the whole file against sha256.

Delete a file

DELETE /v1/kennet/files/{file_id} Deletes an input no batch has taken. 409 resource_state once a batch has taken it.