SpyBara
Go Premium

enterprise/analytics-api.md 2026-07-27 18:59 UTC to 2026-07-28 23:01 UTC

2 added, 0 removed.

2026
Thu 30 23:58 Wed 29 22:01 Tue 28 23:01 Mon 27 18:59 Fri 24 15:00 Thu 23 21:57 Wed 22 20:02 Tue 21 22:02 Mon 20 23:01 Fri 17 22:57 Thu 16 20:57 Wed 15 19:58 Tue 14 17:03 Wed 8 02:01 Mon 6 22:58

Analytics API

For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.

The Codex Analytics API provides aggregated Codex usage and activity metrics for a ChatGPT workspace.

The authenticated Codex Analytics API reference is the source of truth for current access requirements, routes, request and response schemas, metrics, time semantics, and pagination.

When to use the Analytics API

The Analytics API is appropriate when you need to:

  • Automate recurring Codex reporting.
  • Join aggregated Codex metrics with internal organizational data.
  • Build a controlled reporting layer for approved audiences.
  • Avoid coupling an integration to an interactive dashboard.

It's not a raw audit-log interface. Use the Compliance API when the workflow requires auditable activity records.

Confirm the administration boundaries

Analytics API results are scoped to a ChatGPT workspace, but requests authenticate with a Platform organization API key. The key's organization must match the organization associated with the workspace.

The authenticated reference owns current key provisioning, scope requirements, routes, schemas, fields, time semantics, and pagination behavior. This page doesn't duplicate that contract.