---
title: "What we retain about this org, and what we keep regardless"
method: GET
path: "/preview/retention"
tags: ["retention"]
---

# What we retain about this org, and what we keep regardless

`GET /preview/retention`

## Request

- Base URL: `https://autoresearch.sfcompute.com`
- URL: `https://autoresearch.sfcompute.com/preview/retention`
- Auth: HTTP bearer

What Autoresearch retains about this organization's workloads, and what it keeps regardless. Read this before assuming a command's output, result or logs will still be there later, and before telling a human what we store: an org can turn any of these captures off, in which case the data was NEVER WRITTEN rather than written and deleted. `policy` carries the six capture switches, the content window in days, and any default snapshot expiry; `kept_regardless` is what no setting turns off (the audit log, billing records, routing metadata, your own volume). `zero_data_retention: true` means every optional capture is off. Changing it is `set_retention`, which org admins only can call - so read this before you promise a human anything about what we store, and do not assume you may change it.

## Query parameters

- `workspace` string

## Request body

- object
  - `org` string, nullable: Organization: an org uuid or an org name from list_team's memberships; omitted = your active org.

## Response `200`

The capability's JSON result.

- Result: The capability's result: the same object the MCP tool returns as structuredContent. Resources carry an `object` type discriminator and an immutable id; money is integer micro-dollars in `*_usd_micros` fields.
  - `object` string: The resource type, when the result is one resource.

## Other responses

- `400`: Malformed request: bad JSON, a parameter that does not parse, or a value outside its range. Code `invalid`.
- `401`: No bearer token, or one this API cannot verify. Code `unauthenticated`.
- `403`: Authenticated, but the token's scopes or the account's role do not reach this operation. The message names the scope word to request. Code `forbidden`.
- `404`: No such route. Code `not_found`; the body names the OpenAPI document.
- `422`: A well-formed request the platform declined: no such node, a cap reached, a state that forbids the move. The message says which, and what to do instead. Code `refused`.
- `429`: Over this door's per-customer budget. Wait `Retry-After` seconds. Code `rate_limited`.
- `500`: Our fault. Retry; if it persists, quote the request-id. Code `internal`.

---

[API](https://skmtc.dev/givemeanode/apis/autoresearch-customer-api.md) · [All operations](https://skmtc.dev/givemeanode/apis/autoresearch-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/givemeanode/apis/autoresearch-customer-api/revisions/f88dcb70ac6c?raw)
