Download codex-rs/app-server-protocol/schema/json/v2/ConsumeAccountRateLimitResetCreditResponse.json from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/schema/json/v2/ConsumeAccountRateLimitResetCreditResponse.json
- Command line
-
hf download hf://SaylorTwift/codex/codex-rs/app-server-protocol/schema/json/v2/ConsumeAccountRateLimitResetCreditResponse.json
-
curl -L -o ConsumeAccountRateLimitResetCreditResponse.json https://huggingface.co/SaylorTwift/codex/resolve/main/codex-rs/app-server-protocol/schema/json/v2/ConsumeAccountRateLimitResetCreditResponse.json
1.18 kB
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "definitions": { | |
| "ConsumeAccountRateLimitResetCreditOutcome": { | |
| "oneOf": [ | |
| { | |
| "description": "A reset credit was consumed and the eligible rate-limit windows were reset.", | |
| "enum": [ | |
| "reset" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "description": "No current rate-limit window is eligible for a reset.", | |
| "enum": [ | |
| "nothingToReset" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "description": "The account has no earned reset credits available.", | |
| "enum": [ | |
| "noCredit" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "description": "The same idempotency key already completed a reset successfully.", | |
| "enum": [ | |
| "alreadyRedeemed" | |
| ], | |
| "type": "string" | |
| } | |
| ] | |
| } | |
| }, | |
| "properties": { | |
| "outcome": { | |
| "$ref": "#/definitions/ConsumeAccountRateLimitResetCreditOutcome" | |
| } | |
| }, | |
| "required": [ | |
| "outcome" | |
| ], | |
| "title": "ConsumeAccountRateLimitResetCreditResponse", | |
| "type": "object" | |
| } |