[grid] Clarify auth challenge rate limit docs#427
Conversation
Summary: - update the source OpenAPI 429 description for auth credential challenges from OTP-only to credential challenge rate limiting - regenerate bundled openapi.yaml and mintlify/openapi.yaml Test Plan: - make build - make lint
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
✱ Stainless preview buildsThis PR will update the kotlin openapi python typescript Edit this comment to update them. They will appear in their respective SDK's changelogs. ✅ grid-openapi studio · code · diff
✅ grid-kotlin studio · code · diff
✅ grid-typescript studio · code · diff
✅ grid-python studio · code · diff
This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push. |
Greptile SummaryThis PR updates the Confidence Score: 5/5Safe to merge — purely a documentation clarification with no logic or behavior changes. Single-line wording fix across source spec and its two generated bundles; all three files are consistent, the edit follows repo conventions (source-only edit in openapi/), and the new description accurately reflects the implemented behavior. No files require special attention.
|
| Filename | Overview |
|---|---|
| openapi/paths/auth/auth_credentials_{id}_challenge.yaml | Source spec updated: 429 description broadened from "OTP rate limit" to "credential challenge rate limit" to cover both PASSKEY and EMAIL_OTP credential types. |
| openapi.yaml | Bundled output regenerated from source spec; 429 description updated consistently with the source change. |
| mintlify/openapi.yaml | Mintlify bundled output regenerated from source spec; 429 description updated consistently with the source change. |
Sequence Diagram
sequenceDiagram
participant Client
participant GridAPI as POST /auth/credentials/{id}/challenge
Client->>GridAPI: Request new challenge (PASSKEY or EMAIL_OTP)
alt Within rate limit
GridAPI-->>Client: 200 OK (new challenge issued)
else Exceeds credential challenge rate limit
GridAPI-->>Client: 429 RATE_LIMITED + Retry-After header
Note over Client: Back off and retry after Retry-After interval
end
Reviews (2): Last reviewed commit: "[grid] Clarify auth challenge rate limit..." | Re-trigger Greptile

Reason
The Grid implementation now rate-limits auth credential challenge reissues for both PASSKEY and EMAIL_OTP credentials. The OpenAPI source still described the
429 RATE_LIMITEDresponse as tied specifically to the OTP rate limit, which makes the generated SDK/docs contract narrower than the implemented behavior.Overview
POST /auth/credentials/{id}/challengefrom OTP-only to credential challenge rate limiting.openapi.yamlandmintlify/openapi.yamloutputs from the source spec.Test Plan
make buildmake lint