Susana Ferreira
13381e306d
feat: paginate the organization unpriced AI models endpoint ( #32170 )
...
## Description
Paginates the experimental `GET
/api/experimental/organizations/{organization}/ai/model-prices/unpriced`
endpoint from #31753 . The list is keyed by the requested model, which
clients set, so it has no upper bound.
## Changes
- `GetUnpricedAIModels` takes `limit_opt` and `offset_opt`, and each row
carries the `count` of every model. A zero limit returns every model, so
the unpriced models notification is unchanged.
- The endpoint reads `limit` and `offset` with
`parseOrganizationAISpendPage` (default 10, maximum 100), as the other
AI spend endpoints do.
- `count` is now the number of models over every page.
- `ExperimentalClient.OrganizationUnpricedAIModels` takes an
`OrganizationAISpendPage`.
- Add query and handler tests for pagination.
Related to AIGOV-730
> [!NOTE]
> Generated by Coder Agents on behalf of @ssncferreira.
2026-11-20 17:48:01 +00:00
..
2026-10-07 14:24:58 +02:00
2026-10-16 00:21:40 -08:00
2026-10-23 12:53:40 +11:00
2026-08-21 23:46:27 -06:00
2026-05-28 10:00:37 -05:00
2026-10-13 07:57:56 +00:00
2026-10-28 07:44:13 -07:00
2026-11-09 18:02:55 +00:00
2026-01-08 15:24:11 +04:00
2026-06-23 17:32:47 -05:00
2026-08-26 11:57:56 -06:00
2026-08-28 15:44:31 +07:00
2026-10-27 10:14:02 +01:00
2026-08-26 11:57:56 -06:00
2026-08-03 11:34:27 +02:00
2026-06-16 09:01:43 +00:00
2026-08-20 15:43:58 -07:00
2026-09-29 11:48:53 +02:00
2026-06-26 14:33:26 +01:00
2026-11-20 11:38:34 +00:00
2026-11-20 11:38:34 +00:00
2026-06-23 12:15:10 +01:00
2026-06-23 12:15:10 +01:00
2026-11-11 11:50:16 +00:00
2026-09-14 13:47:48 -07:00
2026-08-21 23:46:27 -06:00
2026-07-02 13:45:05 +00:00
2026-10-19 11:12:41 +02:00
2026-11-20 17:48:01 +00:00
2026-11-20 17:48:01 +00:00
2026-09-02 11:29:35 +02:00
2026-09-02 11:29:35 +02:00
2026-08-19 19:46:23 +00:00
2026-10-29 13:00:05 +01:00
2026-10-06 10:48:07 +02:00
2026-10-27 18:18:41 -04:00
2026-10-27 18:18:41 -04:00
2026-11-18 20:36:34 +07:00
2026-08-26 11:57:56 -06:00
2026-11-13 10:40:30 +01:00
2026-11-17 15:34:04 +00:00
2026-10-12 15:56:40 +03:00
2026-10-27 14:04:37 +03:00
2026-10-27 14:04:37 +03:00
2026-09-27 23:34:26 +02:00
2026-09-29 12:23:00 +00:00
2026-10-29 20:32:56 +01:00
2025-12-15 11:26:41 -06:00
2026-11-04 17:15:42 -05:00
2026-08-20 14:51:27 +01:00
2025-08-20 23:38:09 +10:00
2026-11-05 14:22:30 -05:00
2026-08-26 11:57:56 -06:00
2026-09-18 12:58:06 +00:00
2026-09-21 17:42:31 +02:00
2026-08-21 23:46:27 -06:00
2026-05-05 02:54:03 +05:00
2026-09-14 13:47:48 -07:00
2026-09-27 23:34:26 +02:00
2026-09-27 23:34:26 +02:00
2026-05-20 22:40:50 +00:00
2026-05-05 02:54:03 +05:00
2026-08-26 11:57:56 -06:00
2026-09-03 13:29:17 -07:00
2026-08-11 11:04:51 -05:00
2025-10-23 14:24:54 +02:00
2026-05-05 02:54:03 +05:00
2026-09-27 23:34:26 +02:00
2026-09-27 23:34:26 +02:00
2026-08-26 11:57:56 -06:00
2026-05-28 10:00:37 -05:00
2026-08-26 11:57:56 -06:00
2026-11-18 22:07:12 +00:00
2026-08-21 23:46:27 -06:00
2026-06-04 14:37:19 -04:00
2026-10-23 12:53:40 +11:00
2026-05-05 02:54:03 +05:00
2026-08-20 15:43:58 -07:00
2026-10-13 16:24:45 +00:00
2026-11-18 22:07:12 +00:00
2026-10-28 07:44:13 -07:00
2026-08-26 11:57:56 -06:00
2026-08-26 11:57:56 -06:00
2026-08-21 23:46:27 -06:00
2026-08-21 23:46:27 -06:00
2026-05-05 02:54:03 +05:00
2026-10-26 15:38:48 -07:00
2026-08-26 11:57:56 -06:00
2026-10-26 15:38:48 -07:00
2026-11-13 11:40:07 -07:00
2026-04-07 12:25:32 -06:00
2026-05-05 02:54:03 +05:00