Files
coder/docs/reference/api
Susana Ferreira 7c7dd8fb63 chore: remove the retention start from the AI spend users response (#32687)
## Description

Only the old spend page read `retention_start` from the per-user AI
spend response, to limit its date picker. That page is gone, and the AI
Gateway retention endpoint now serves this purpose, so the field is
removed. The server still narrows a default period to the retention and
rejects an explicit one that starts before it.

Related to AIGOV-729

## Changes

- Remove `RetentionStart` from `codersdk.OrganizationAISpendReport`.
- Keep the retention start local to `aiSpendRetainedPeriod`, its only
reader.
- Regenerate the API docs and TypeScript types, and update the tests and
mocks.

Depends on #32686.

> [!NOTE]
> Generated by Coder Agents on behalf of @ssncferreira.
2026-11-24 18:11:49 +00:00
..