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-11-13 10:39:16 -05:00
2026-09-03 13:29:17 -07:00
2026-11-13 17:20:31 +01:00
2026-08-17 14:09:23 -08:00
2026-11-17 09:50:43 -05:00
2026-11-18 14:04:49 +07:00
2026-01-08 15:24:11 +04:00
2026-11-20 17:01:33 +01:00
2026-07-28 13:59:37 +02:00
2026-08-05 13:22:23 -07:00
2026-09-18 15:22:02 +01:00
2026-11-19 14:59:20 +00:00
2026-08-05 13:22:23 -07:00
2026-11-20 17:48:01 +00:00
2026-09-23 09:24:46 +00:00
2026-09-29 09:20:31 +01:00
2026-09-29 09:20:31 +01:00
2026-09-29 09:20:31 +01:00
2025-10-09 14:53:08 +02:00
2025-10-09 14:53:08 +02:00
2026-10-15 13:32:40 -05:00
2026-11-10 17:42:30 -05:00
2026-09-24 15:12:28 +03:00
2026-10-26 21:48:36 +00:00
2026-10-27 09:58:36 +00:00
2026-11-10 17:42:30 -05:00
2026-11-10 17:42:30 -05:00
2026-08-27 10:49:13 +01:00
2026-10-30 20:16:36 +00:00
2026-11-18 20:36:34 +07:00
2025-06-24 13:06:02 +02:00
2026-08-21 23:46:27 -06:00
2026-09-28 09:42:31 -05:00
2026-10-12 15:56:40 +03:00
2026-10-27 14:04:37 +03:00
2025-07-30 13:42:39 -07:00
2025-08-29 10:41:32 +02:00
2026-10-12 15:56:40 +03:00
2026-03-13 14:09:39 +00:00
2026-04-01 13:05:14 +00:00
2026-09-28 09:25:01 +00:00
2026-11-19 20:22:21 -07:00
2026-11-19 20:22:21 -07:00
2026-05-19 09:47:03 -05:00
2026-05-19 09:47:03 -05:00
2026-11-10 17:42:30 -05:00
2026-09-29 12:23:00 +00:00
2026-08-05 13:22:23 -07:00
2026-08-05 13:22:23 -07:00
2026-08-05 13:22:23 -07:00
2026-08-10 13:23:14 -07:00
2026-08-05 13:22:23 -07:00
2026-08-05 13:22:23 -07:00
2025-08-19 10:41:33 +02:00
2026-10-19 17:59:18 +03:00
2026-08-18 12:40:33 +07:00
2026-09-21 15:09:25 +02:00
2026-11-03 12:39:30 +11:00
2026-09-16 21:06:31 +05:00
2026-09-16 21:06:31 +05:00
2026-08-05 13:22:23 -07:00
2026-09-08 17:40:10 -07:00
2026-09-08 17:40:10 -07:00
2026-09-22 10:49:19 -07:00
2026-09-28 18:46:14 +00:00
2026-09-24 08:03:32 -07:00
2026-11-18 22:07:12 +00:00
2026-05-22 20:24:38 +10:00
2026-08-26 11:57:56 -06:00
2026-08-05 13:22:23 -07:00
2026-08-21 11:45:38 -05:00
2026-08-05 13:22:23 -07:00
2026-08-19 08:51:25 -05:00
2026-08-19 08:51:25 -05:00
2026-11-20 17:01:33 +01:00
2026-10-15 13:32:40 -05:00
2026-09-27 23:34:26 +02:00
2026-08-05 13:22:23 -07:00
2026-08-26 11:57:56 -06:00
2026-08-05 13:22:23 -07:00
2026-08-05 13:22:23 -07:00
2025-09-26 11:43:32 +02:00
2026-11-18 14:04:49 +07:00
2026-11-05 13:15:40 -05:00
2026-09-11 18:13:16 -05:00
2026-11-18 22:07:12 +00:00
2026-01-08 15:24:11 +04:00
2026-11-10 17:42:30 -05:00
2026-08-05 13:22:23 -07:00
2026-09-18 10:27:26 -06:00
2026-11-19 20:22:21 -07:00
2026-09-02 09:21:36 -07:00
2026-07-28 09:58:33 -06:00
2026-07-28 09:58:33 -06:00
2026-07-28 09:58:33 -06:00
2026-07-28 09:58:33 -06:00
2026-11-10 17:42:30 -05:00
2026-02-06 15:52:54 +00:00
2026-11-20 17:01:33 +01:00
2026-11-20 17:01:33 +01:00
2026-11-20 17:01:33 +01:00
2026-08-05 13:22:23 -07:00
2026-09-21 11:53:11 +02:00
2026-10-26 21:30:27 +01:00
2026-11-20 17:01:33 +01:00
2026-10-15 14:20:44 -05:00
2026-10-15 17:40:00 -05:00
2026-11-10 17:42:30 -05:00