Repository navigation
docs(drift): draft from internal source - #503
Conversation
Requested by @ipeleg via /publish-docs-pr
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Claude finished @ipeleg's task in 37s —— View job Code reviewThe change is small: one new changelog entry and a new frontmatter 1. 2. The changelog explains things no page documents.
3. The endpoint isn't linked. Other recent entries link the endpoint on first mention, for example 4. The description: "Get API call counts grouped by API key, endpoint, status code, and error code"Leave the auth-mode details to the OpenAPI body. 5. Content worth checking against the source PR (not style issues):
Minor: The first No changes pushed. This was a review only. |
|
|
|
||
| ## 2026-10-13 — `appId` filter and `appId` field on `GET /metrics/usage` | ||
|
|
||
| **Added** — `GET /metrics/usage`: the new optional `appId` query parameter filters usage by App — the durable identity for an integration, which persists across API key rotation. Accepts one or more `app_id_<uuid>` values as a comma-separated list (OR-matched, trimmed, canonicalized to lowercase, deduplicated). Requires `x-dev-portal-key`; a plain `x-api-key` cannot use this filter and attempts return `403`. OR-matches with `apiKey` and `apiKeyId`, and the three filters share a combined cap of **50** values before Apps expand to their keys. Every supplied ID must belong to the authenticating integrator; malformed IDs return `400` and unknown or foreign IDs return `403` for the entire request. The filter resolves every current credential under an App — including inactive keys — and an owned App without credentials returns an empty `metrics` array. |
There was a problem hiding this comment.
Important constraints get buried
The new filter paragraph packs six sentences into one block, making the authentication requirement, shared limit, and error responses hard to find. The response paragraph also exceeds the style guide’s three-sentence limit. Split these into shorter paragraphs or bullets so readers can quickly find the constraints.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Drafted from an internal source repo, requested by @ipeleg.
This PR was auto-generated by the
reusable-docs-draft-prworkflow from a Claude-drafted update in the source repo. It is opened as a draft — please review, edit as needed, and mark ready for review before merging.Review checklist
CLAUDE.mdstyle rulesNeeds human inputitems from the source comment are addressedGenerated by
reusable-docs-draft-pr.ymlinrelayprotocol/agents-config.