> ## Documentation Index
> Fetch the complete documentation index at: https://weights.fyi/run/llms.txt

# DELETE /v1/trace-content

```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](/run/docs/what-is-live.md) 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](/run/docs/reference/trace-preferences-put.md). 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

| Name | Where | Required | Meaning |
|---|---|---|---|
| `Authorization` | header | yes | `Bearer` and your token, with the `manage` scope. |

## Return value

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

## Errors

| Status | Code | When it happens | What to do |
|---|---|---|---|
| `401` | `unauthorized`, `invalid_token`, `token_revoked`, `token_expired` | No token, or one that does not work. | Use a valid token. |
| `403` | `scope_required` | The 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

- [GET /v1/trace-preferences](/run/docs/reference/trace-preferences-get.md) and [PUT /v1/trace-preferences](/run/docs/reference/trace-preferences-put.md).
- [Tracing and exports](/run/docs/tracing.md#logging-inputs-and-outputs), the topic.
