Skip to content

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

Merged
sbezludny merged 6 commits into
mainfrom
codex/document-usage-api
Sep 8, 2026
Merged

docs(api): add Usage API reference#495
sbezludny merged 6 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

@ejanusevicius ejanusevicius left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@sbezludny
sbezludny merged commit 146aca8 into main Sep 8, 2026
6 checks passed
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.

2 participants