API referenceAccount & usage
Account & usage
These endpoints back the dashboard and are authenticated with a session JWT (Authorization: Bearer …), not an API key. Use them to read your balance, chart usage, and rotate keys programmatically.
Get current account
GET
https://api.renderkit.tech/v1/me200 · application/json
{
"success": true,
"data": {
"id": "usr_4f1a…",
"email": "[email protected]",
"name": "Ada Lovelace",
"role": "user",
"plan": "growth",
"status": "active",
"credits": { "total": 25000, "used": 3120, "remaining": 21880 },
"api_keys": [ { "_id": "key_91…", "name": "production", "key_prefix": "rk_live_a1b2", "tier": "growth", "is_active": true } ],
"created_at": "2026-01-04T09:00:00.000Z"
},
"message": "Success"
}Usage analytics
Pre-aggregated daily usage buckets — cheap to query over any range.
GET
https://api.renderkit.tech/v1/usageQuery parameters
| Parameter | Type | Description |
|---|---|---|
fromstring | string | Start date, YYYY-MM-DD (inclusive). |
tostring | string | End date, YYYY-MM-DD (inclusive). |
endpointstring | string | Filter to one primitive. Options: screenshot, pdf, extract. |
200 · application/json
{
"success": true,
"data": {
"totals": { "renders": 3120, "credits": 4010, "cache_hits": 412, "errors": 7 },
"daily": [
{ "date": "2026-06-13", "endpoint": "screenshot", "renders_count": 220, "credits_used": 220, "cache_hits": 30, "errors_count": 0 }
]
},
"message": "Success"
}API keys
List, create, and revoke keys. New keys inherit your current plan as their tier; the plaintext value is returned once on creation.
| Method | Path | Purpose |
|---|---|---|
GET | /v1/keys | List your keys (prefixes only). |
POST | /v1/keys | Create a key. Body: { name }. Returns the plaintext once. |
DELETE | /v1/keys/:id | Revoke a key immediately (cache flush within 60s). |
201 · POST /v1/keys
{
"success": true,
"data": {
"id": "key_91…",
"name": "production",
"prefix": "rk_live_a1b2",
"tier": "growth",
"plain": "rk_live_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6"
},
"message": "Store this key now — it is shown once."
}The plaintext key appears once
data.plain is only ever returned by this create call (and the one-time claim after signup). Store it in a secret manager immediately — RenderKit keeps only its hash.