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

# GET /v1/trace-preferences

```text
GET https://weights.fyi/run/v1/trace-preferences
Authorization: Bearer <token>                    scope: read
```

**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: one row is read.

Says whether your account keeps copies of the inputs and outputs of new jobs, and the limits those copies live under. Both switches are off until you turn them on, and an account that never touched them reads `false` for both. The answer is cheap and has no side effect, so a program that is about to send sensitive pages can read it first and refuse to go on while input logging is on.

The switches are read when a job is made: a job keeps copies only for what was switched on at that moment, and stops as soon as you switch it off. The limits in the answer are fixed by the service, not settings of your own: copies are kept `retention_days` days, each at most `max_payload_bytes` (a larger one is kept as a marked, shortened preview), and at most `max_account_bytes` for your whole account, after which nothing more is kept until older copies expire or you delete them.

## Request

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

## Return value

**200 OK**:

| Field | Meaning |
|---|---|
| `log_inputs` | `true` when new jobs keep a copy of each page you send. |
| `log_outputs` | `true` when new jobs keep a copy of each result the model gives. |
| `retention_days` | How many days a copy is kept, `7`. |
| `max_payload_bytes` | The largest copy kept whole, 16,384 bytes (16 KiB). |
| `max_account_bytes` | The most your account keeps in all, 16,777,216 bytes (16 MiB). |

## 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 `read`. | Use a token with `read`. |

## Examples

```sh
curl -s https://weights.fyi/run/v1/trace-preferences -H "Authorization: Bearer $WEIGHTS_API_KEY"
```

```json
{"log_inputs": false, "log_outputs": false, "retention_days": 7, "max_payload_bytes": 16384, "max_account_bytes": 16777216}
```

## History

- 2026-10-10 implementation review: added.

## See also

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