Get balances and limits
bearerAuthAuthorizationBearer <token>Send Authorization: Bearer rw_live_.... Create up to 5 keys at https://rewords.ai/developers/keys/ once your account has API balance.
Balances and limits for the API key's account.
application/json- response
edits_remaining?integerocr_remaining?integerpacks?array<>limits?curl -X GET 'https://api.rewords.ai/v1/account' \ -H 'Authorization: Bearer rw_live_your_key'{ "edits_remaining": 299, "ocr_remaining": 1840, "packs": [ { "kind": "edits", "remaining": 299, "expires_at": "2027-11-04T10:00:00Z" }, { "kind": "ocr", "remaining": 1840, "expires_at": "2027-11-04T10:00:00Z" } ], "limits": { "requests_per_minute": 30, "read_requests_per_minute": 240, "concurrent_jobs": 10, "max_queued_jobs": 30 }}Get an edit and its results GET
Page précédente
An edit finished Webhook
Sent to `callback_url` when an edit reaches `succeeded` or `failed`. The body is the same as `GET /edits/{id}`. Verify `X-Rewords-Signature: sha256=<64 hex characters: HMAC-SHA256 of the raw body with your webhook secret>`. The webhook secret belongs to your account (one for all keys) and can be reset on the API keys page. Any response other than `2xx` within 10 seconds counts as failed. A failed delivery is retried 1, 5 and 30 minutes after the previous attempt (the last one about 36 minutes after the first); after that we stop, and `GET /edits/{id}` still returns the result. Every retry sends the same bytes with the same signature. A delivery can arrive more than once, so ignore an `id` you have already handled.