Skip to content

docs(api): add Usage API reference - #495

Open
sbezludny wants to merge 5 commits into
mainfrom
codex/document-usage-api
Open

docs(api): add Usage API reference#495
sbezludny wants to merge 5 commits into
mainfrom
codex/document-usage-api

Conversation

@sbezludny

@sbezludny sbezludny commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Affected components

  • Docs

Notes for the reviewer

This PR adds Usage to the API Reference, after Runtimes. It includes pages for terms, summary, and series, plus a short overview of authentication, dates, filters, metrics, and pagination.

The public reference selects usage terms by date and does not expose usageTermsId.

It also adds the Usage mapping to the endpoint generator and updates the checked-in OpenAPI file and sitemap.

Backend PR: https://github.com/checkly/monorepo/pull/4054

Release order

Merge this after the backend PR reaches production. The docs sync reads the production OpenAPI document and will remove these routes if they are not there yet.

Validation

  • npx mint openapi-check api-reference/openapi.json
  • python3 .github/scripts/check_frontmatter.py, 697 MDX files
  • DRY_RUN=1 node .github/scripts/detect-new-endpoints.mjs, all 160 spec paths accounted for
  • npx mint broken-links
  • npm run generate-sitemap, 635 URLs

I compared the checked-in spec with the base version. Only the Usage routes and schemas changed.

New dependency submission

None.

Screenshots

Not included. This PR adds reference pages and navigation, with no custom UI.

@mintlify

mintlify Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
checkly-422f444a 🟢 Ready View Preview Sep 3, 2026, 11:52 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant