SpyBara
Go Premium

Documentation 2026-09-18 22:59 UTC to 2026-09-19 23:02 UTC

1 file changed +11 −8. View all changes and history on the product overview
2026
Wed 30 23:01 Tue 29 22:59 Sun 27 23:59 Fri 25 23:02 Thu 24 23:02 Wed 23 23:58 Tue 22 23:00 Sat 19 23:02 Fri 18 22:59 Thu 17 10:05 Wed 16 20:58 Tue 15 21:01 Mon 14 20:57 Sun 13 21:58 Fri 11 20:00 Thu 10 16:58 Wed 9 21:01 Fri 4 19:59 Thu 3 23:00 Wed 2 22:59 Tue 1 07:57
Details

2 2 

3> For the complete documentation index, see [llms.txt](https://learn.chatgpt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.3> For the complete documentation index, see [llms.txt](https://learn.chatgpt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.

4 4 

5The Codex Analytics API provides aggregated Codex usage and activity metrics for5The Analytics APIs provide aggregated usage and activity metrics for a ChatGPT

6a ChatGPT workspace.6workspace. The unified Daily Usage Analytics API reports daily ChatGPT, Codex,

7and Work usage. Confirm that the endpoint is enabled for your workspace before

8using it.

7 9 

8The [Codex Analytics API reference](https://chatgpt.com/public/admin/api-reference#tag/Codex%20Enterprise%20Analytics)10The [Admin API reference](https://chatgpt.com/public/admin/api-reference)

9is the source of truth for current access requirements, routes, request and11is the source of truth for current access requirements, routes, request and

10response schemas, metrics, time semantics, and pagination.12response schemas, metrics, time semantics, and pagination.

11 13 


13 15 

14The Analytics API is appropriate when you need to:16The Analytics API is appropriate when you need to:

15 17 

16- Automate recurring Codex reporting.18- Automate recurring workspace usage reporting.

17- Join aggregated Codex metrics with internal organizational data.19- Join aggregated usage metrics with internal organizational data.

18- Build a controlled reporting layer for approved audiences.20- Build a controlled reporting layer for approved audiences.

19- Avoid coupling an integration to an interactive dashboard.21- Avoid coupling an integration to an interactive dashboard.

20 22 


24 26 

25## Confirm the administration boundaries27## Confirm the administration boundaries

26 28 

27Analytics API results are scoped to a ChatGPT workspace, but requests29Analytics API results are scoped to a ChatGPT workspace. For the unified Daily

28authenticate with a Platform organization API key. The key's organization must30Usage Analytics API, use a workspace-scoped Admin key with

29match the organization associated with the workspace.31`enterprise.analytics.usage.read`. The Codex scope

32`codex.enterprise.analytics.read` doesn't grant access to that endpoint.

30 33 

31The API reference owns current key provisioning, scope requirements,34The API reference owns current key provisioning, scope requirements,

32routes, schemas, fields, time semantics, and pagination behavior. This page35routes, schemas, fields, time semantics, and pagination behavior. This page