Documentation
Tracing and exports
View .mdOpenAPI

Delete all logged inputs and outputs

DELETEhttps://weights.fyi/run/v1/trace-contentscope: manage
text
DELETE https://weights.fyi/run/v1/trace-content
Authorization: Bearer <token>                    scope: manage
Available since
2026-10-10 implementation review: included in this build; see What is live for deployment status.
Answer time
synchronous: the copies are deleted before the answer.

Deletes every copy of inputs and outputs your account has kept, for every job, at once. Use it when you are done debugging, when you switched logging on by mistake, or when someone asks for their data to be removed. Copies expire by themselves after seven days; this is for when seven days is too long.

The call deletes the copies and nothing else. Your jobs, their results, your datasets and your traces' timings stay. It does not change the switches either, so if logging is still on, new jobs start keeping copies again; switch it off first with PUT /v1/trace-preferences. And it cannot reach copies that already left the service: a destination of yours with "include outputs" on may have received samples, and those must be deleted there.

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer and your token, with the manage scope.

Return value

200 OK with deleted, the number of copies removed; 0 when there were none.

Errors

StatusCodeWhen it happensWhat to do
401unauthorized, invalid_token, token_revoked, token_expiredNo token, or one that does not work.Use a valid token.
403scope_requiredThe token lacks manage.Use a token with manage.

Examples

sh
curl -s -X DELETE https://weights.fyi/run/v1/trace-content -H "Authorization: Bearer $WEIGHTS_API_KEY"
json
{"deleted": 2}

History

  • 2026-10-10 implementation review: added, with "Delete my stored trace content" on the panel.

See also