[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-venice-ai-venice-api-keys":3,"mdc-hr7tus-key":34,"related-org-venice-ai-venice-api-keys":4694,"related-repo-venice-ai-venice-api-keys":4854},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":32,"mdContent":33},"venice-api-keys","manage Venice API keys and rate limits","Manage Venice API keys. Covers GET\u002FPOST\u002FPATCH\u002FDELETE \u002Fapi_keys, GET \u002Fapi_keys\u002F{id}, GET \u002Fapi_keys\u002Frate_limits, GET \u002Fapi_keys\u002Frate_limits\u002Flog, the two-step \u002Fapi_keys\u002Fgenerate_web3_key wallet flow, INFERENCE vs ADMIN key types, and per-key consumption limits (USD \u002F DIEM).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"venice-ai","Venice AI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fvenice-ai.png","veniceai",[13,17,20],{"name":14,"slug":15,"type":16},"Security","security","tag",{"name":18,"slug":19,"type":16},"Authentication","authentication",{"name":21,"slug":22,"type":16},"API Development","api-development",119,"https:\u002F\u002Fgithub.com\u002Fveniceai\u002Fskills","2026-07-17T06:05:40.24171",null,15,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"Agent Skills for the Venice.ai API. One folder per surface area, each with a SKILL.md for agent runtimes (Cursor, Claude, Codex, etc.).","https:\u002F\u002Fgithub.com\u002Fveniceai\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fvenice-api-keys","---\nname: venice-api-keys\ndescription: Manage Venice API keys. Covers GET\u002FPOST\u002FPATCH\u002FDELETE \u002Fapi_keys, GET \u002Fapi_keys\u002F{id}, GET \u002Fapi_keys\u002Frate_limits, GET \u002Fapi_keys\u002Frate_limits\u002Flog, the two-step \u002Fapi_keys\u002Fgenerate_web3_key wallet flow, INFERENCE vs ADMIN key types, and per-key consumption limits (USD \u002F DIEM).\n---\n\n# Venice API Keys\n\nAdmin endpoints for managing Bearer API keys. You need an **ADMIN** key (or parent session) to call these. For wallet-only auth, use [`venice-auth`](..\u002Fvenice-auth\u002FSKILL.md) \u002F [`venice-x402`](..\u002Fvenice-x402\u002FSKILL.md) instead.\n\n| Endpoint | Purpose |\n|---|---|\n| `GET \u002Fapi_keys` | List your keys (masked). |\n| `POST \u002Fapi_keys` | Create a new key. Response contains the **only copy of the secret**. |\n| `PATCH \u002Fapi_keys` | Update `description`, `expiresAt`, `consumptionLimit`. |\n| `DELETE \u002Fapi_keys?id=...` | Revoke a key. |\n| `GET \u002Fapi_keys\u002F{id}` | Full details for one key (usage, limits, expiration). |\n| `GET \u002Fapi_keys\u002Frate_limits` | Balances + per-model rate-limit tiers for the current key. |\n| `GET \u002Fapi_keys\u002Frate_limits\u002Flog` | Last 50 rate-limit breaches. |\n| `GET \u002Fapi_keys\u002Fgenerate_web3_key` | Get a SIWE-style token to sign with a wallet. |\n| `POST \u002Fapi_keys\u002Fgenerate_web3_key` | Authenticate a wallet (holds sVVV) and mint a classic API key. |\n\nLimits: key creation is capped at **20 requests\u002Fminute** and **500 active keys per user**.\n\n## Key types\n\n| Type | Can call |\n|---|---|\n| `INFERENCE` | Inference endpoints plus any route that only requires authentication — e.g. `\u002Fchat\u002F*`, `\u002Fimage\u002F*`, `\u002Faudio\u002F*`, `\u002Fvideo\u002F*`, `\u002Fembeddings`, `\u002Faugment\u002F*`, `\u002Fcrypto\u002Frpc`, `\u002Fcharacters`, `\u002Fapi_keys\u002Frate_limits*`, `\u002Fsupport-bot`. Rejected from admin routes listed below with `401`. |\n| `ADMIN` | Everything an `INFERENCE` key can do, plus admin-only routes: `POST\u002FPATCH\u002FDELETE \u002Fapi_keys`, `GET \u002Fapi_keys` (list), `GET \u002Fapi_keys\u002F{id}`, `GET \u002Fbilling\u002Fbalance`, `GET \u002Fbilling\u002Fusage`. |\n\nA leaf app should almost always use **`INFERENCE`** keys — per-app, per-user, with consumption caps.\n\n## `GET \u002Fapi_keys`\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys \\\n  -H \"Authorization: Bearer $ADMIN_KEY\"\n```\n\nReturns:\n\n```json\n{\n  \"object\": \"list\",\n  \"data\": [\n    {\n      \"id\": \"uuid\",\n      \"apiKeyType\": \"INFERENCE\",\n      \"description\": \"backend prod\",\n      \"createdAt\": \"2025-10-01T12:00:00Z\",\n      \"expiresAt\": null,\n      \"lastUsedAt\": \"2026-04-20T10:05:00Z\",\n      \"last6Chars\": \"2V2jNW\",\n      \"consumptionLimits\": { \"usd\": 50, \"diem\": 10 },\n      \"usage\": { \"trailingSevenDays\": { \"usd\": \"4.20\", \"diem\": \"0.00\" } }\n    }\n  ]\n}\n```\n\nThe full secret is **never** returned on list — only `last6Chars`.\n\n## `POST \u002Fapi_keys` — create\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys \\\n  -H \"Authorization: Bearer $ADMIN_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"apiKeyType\": \"INFERENCE\",\n    \"description\": \"backend prod\",\n    \"expiresAt\": \"2026-12-31T23:59:59Z\",\n    \"consumptionLimit\": { \"usd\": 50, \"diem\": 10 }\n  }'\n```\n\nResponse includes the **one-time** `apiKey` secret:\n\n```json\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": \"uuid\",\n    \"apiKey\": \"VENICE_INFERENCE_KEY_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"apiKeyType\": \"INFERENCE\",\n    \"description\": \"backend prod\",\n    \"expiresAt\": \"2026-12-31T23:59:59Z\",\n    \"consumptionLimit\": { \"usd\": 50, \"diem\": 10 }\n  }\n}\n```\n\n**Save it immediately** — Venice won't show the secret again. If you lose it, delete and re-create.\n\n### Required\n\n- `apiKeyType`\n- `description`\n\n### Optional\n\n- `expiresAt` — empty string or ISO 8601 date\u002Fdatetime. Omit for non-expiring.\n- `consumptionLimit.usd` \u002F `.diem` — per-epoch caps. Null means no cap on that currency.\n- `consumptionLimit.vcu` — **deprecated** (legacy Diem). Use `diem` instead.\n\n## `PATCH \u002Fapi_keys` — update\n\n```bash\ncurl -X PATCH https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys \\\n  -H \"Authorization: Bearer $ADMIN_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{ \"id\": \"uuid\", \"description\": \"renamed\", \"consumptionLimit\": { \"usd\": 100 } }'\n```\n\nOnly `description`, `expiresAt`, and `consumptionLimit` are mutable. Pass `\"expiresAt\": \"\"` or `null` to remove an expiration.\n\n## `DELETE \u002Fapi_keys?id=\u003Cuuid>` — revoke\n\n```bash\ncurl -X DELETE \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys?id=uuid\" \\\n  -H \"Authorization: Bearer $ADMIN_KEY\"\n```\n\nReturns `{\"success\": true}`. Revocation is immediate.\n\n## `GET \u002Fapi_keys\u002F{id}` — details\n\nReturns one key's full metadata plus trailing-7-day usage. Useful for an admin dashboard row view.\n\n## `GET \u002Fapi_keys\u002Frate_limits`\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys\u002Frate_limits \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\"\n```\n\nReturns for the calling key:\n\n```json\n{\n  \"data\": {\n    \"accessPermitted\": true,\n    \"apiTier\": { \"id\": \"paid\", \"isCharged\": true },\n    \"balances\": { \"USD\": 50.23, \"DIEM\": 100.023 },\n    \"keyExpiration\": \"2025-06-01T00:00:00Z\",\n    \"nextEpochBegins\": \"2025-05-07T00:00:00.000Z\",\n    \"rateLimits\": [\n      {\n        \"apiModelId\": \"zai-org-glm-5-1\",\n        \"rateLimits\": [\n          { \"type\": \"RPM\", \"amount\": 100 },\n          { \"type\": \"TPM\", \"amount\": 200000 },\n          { \"type\": \"RPD\", \"amount\": 10000 }\n        ]\n      }\n    ]\n  }\n}\n```\n\nUse it to:\n\n- Display current balances in-app.\n- Warm-gate calls when the relevant model's RPM cap is near.\n- Know when the next epoch resets (DIEM, bundled credits).\n\n## `GET \u002Fapi_keys\u002Frate_limits\u002Flog`\n\nReturns the last 50 rate-limit breaches. Response is wrapped as `{ object: \"list\", data: [...] }`:\n\n```json\n{\n  \"object\": \"list\",\n  \"data\": [\n    { \"apiKeyId\": \"...\", \"modelId\": \"zai-org-glm-5-1\", \"rateLimitType\": \"RPM\",\n      \"rateLimitTier\": \"paid\", \"timestamp\": \"2026-04-20T12:34:56Z\" }\n  ]\n}\n```\n\nFeed these into your monitoring when tuning concurrency.\n\n## Web3 API keys — two-step wallet flow\n\nLets a wallet that **holds sVVV** mint a classic Bearer API key. No Venice account required.\n\n### 1. `GET \u002Fapi_keys\u002Fgenerate_web3_key`\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys\u002Fgenerate_web3_key\n```\n\nReturns `{ success: true, data: { token: \"\u003Cjwt-ish token>\" } }`.\n\n### 2. Sign the token with your wallet, then `POST \u002Fapi_keys\u002Fgenerate_web3_key`\n\n```ts\nimport { Wallet } from 'ethers'\n\nconst { data: { token } } = await fetch(`${base}\u002Fapi_keys\u002Fgenerate_web3_key`).then(r => r.json())\nconst wallet = new Wallet(process.env.WALLET_KEY!)\nconst signature = await wallet.signMessage(token)\n\nconst res = await fetch(`${base}\u002Fapi_keys\u002Fgenerate_web3_key`, {\n  method: 'POST',\n  headers: { 'Content-Type': 'application\u002Fjson' },\n  body: JSON.stringify({\n    apiKeyType: 'INFERENCE',\n    description: 'Web3 API Key',\n    address: wallet.address,\n    signature,\n    token,\n    consumptionLimit: { usd: 50 },\n  }),\n})\n\nconst { data } = await res.json()\nconsole.log(data.apiKey) \u002F\u002F save this once\n```\n\nThe returned `apiKey` behaves exactly like a normal Bearer key.\n\n## Recipes\n\n### Per-customer keys with $5 USD limit\n\n```ts\nawait fetch(`${base}\u002Fapi_keys`, {\n  method: 'POST',\n  headers: { Authorization: `Bearer ${ADMIN_KEY}`, 'Content-Type': 'application\u002Fjson' },\n  body: JSON.stringify({\n    apiKeyType: 'INFERENCE',\n    description: `cust:${customerId}`,\n    consumptionLimit: { usd: 5 },\n  }),\n})\n```\n\nRotate monthly; revoke on churn.\n\n### Health-check for a key\n\n```ts\nconst { data } = await fetch(`${base}\u002Fapi_keys\u002Frate_limits`, {\n  headers: { Authorization: `Bearer ${key}` },\n}).then(r => r.json())\n\nif (!data.accessPermitted) alert('Key blocked — top up or change tier')\n```\n\n## Errors\n\n| Code | Meaning |\n|---|---|\n| `400` | Bad body (e.g. missing `apiKeyType`, malformed `expiresAt`), or attempting to create when you already have 500 active keys. |\n| `401` | Missing \u002F bad \u002F non-admin key for admin-only routes. |\n| `429` | Exceeded 20 creates\u002Fmin. |\n| `500` | Transient; retry. |\n\n## Gotchas\n\n- The secret is returned **exactly once**, in the `POST` response. Losing it = delete + recreate.\n- `consumptionLimit` is per **epoch** (day \u002F reset cycle), not per call.\n- `INFERENCE` keys can't call admin-only routes (`POST\u002FPATCH\u002FDELETE \u002Fapi_keys`, `GET \u002Fapi_keys`, `GET \u002Fapi_keys\u002F{id}`, `GET \u002Fbilling\u002Fbalance`, `GET \u002Fbilling\u002Fusage`). They **can** call `GET \u002Fapi_keys\u002Frate_limits` and `\u002Fapi_keys\u002Frate_limits\u002Flog` for themselves. Use a separate `ADMIN` key for management.\n- `vcu` is legacy — use `diem`.\n- `expiresAt` of empty string `\"\"` means \"no expiration\" in CREATE; on UPDATE it **removes** an existing one.\n- Rate-limit log is capped at 50 entries — pull it frequently if debugging bursts.\n- The Web3 key flow requires wallet holdings of **sVVV**; otherwise the signing step is rejected.\n",{"data":35,"body":36},{"name":4,"description":6},{"type":37,"children":38},"root",[39,47,87,297,315,322,496,511,520,585,590,1162,1180,1191,1326,1346,1673,1683,1690,1711,1717,1772,1783,1885,1926,1938,2001,2014,2025,2030,2039,2086,2091,2717,2722,2740,2749,2761,3025,3030,3036,3048,3059,3078,3089,3100,3825,3837,3843,3849,4166,4171,4177,4406,4412,4515,4521,4688],{"type":40,"tag":41,"props":42,"children":43},"element","h1",{"id":4},[44],{"type":45,"value":46},"text","Venice API Keys",{"type":40,"tag":48,"props":49,"children":50},"p",{},[51,53,59,61,73,75,85],{"type":45,"value":52},"Admin endpoints for managing Bearer API keys. You need an ",{"type":40,"tag":54,"props":55,"children":56},"strong",{},[57],{"type":45,"value":58},"ADMIN",{"type":45,"value":60}," key (or parent session) to call these. For wallet-only auth, use ",{"type":40,"tag":62,"props":63,"children":65},"a",{"href":64},"..\u002Fvenice-auth\u002FSKILL.md",[66],{"type":40,"tag":67,"props":68,"children":70},"code",{"className":69},[],[71],{"type":45,"value":72},"venice-auth",{"type":45,"value":74}," \u002F ",{"type":40,"tag":62,"props":76,"children":78},{"href":77},"..\u002Fvenice-x402\u002FSKILL.md",[79],{"type":40,"tag":67,"props":80,"children":82},{"className":81},[],[83],{"type":45,"value":84},"venice-x402",{"type":45,"value":86}," instead.",{"type":40,"tag":88,"props":89,"children":90},"table",{},[91,110],{"type":40,"tag":92,"props":93,"children":94},"thead",{},[95],{"type":40,"tag":96,"props":97,"children":98},"tr",{},[99,105],{"type":40,"tag":100,"props":101,"children":102},"th",{},[103],{"type":45,"value":104},"Endpoint",{"type":40,"tag":100,"props":106,"children":107},{},[108],{"type":45,"value":109},"Purpose",{"type":40,"tag":111,"props":112,"children":113},"tbody",{},[114,132,156,195,212,229,246,263,280],{"type":40,"tag":96,"props":115,"children":116},{},[117,127],{"type":40,"tag":118,"props":119,"children":120},"td",{},[121],{"type":40,"tag":67,"props":122,"children":124},{"className":123},[],[125],{"type":45,"value":126},"GET \u002Fapi_keys",{"type":40,"tag":118,"props":128,"children":129},{},[130],{"type":45,"value":131},"List your keys (masked).",{"type":40,"tag":96,"props":133,"children":134},{},[135,144],{"type":40,"tag":118,"props":136,"children":137},{},[138],{"type":40,"tag":67,"props":139,"children":141},{"className":140},[],[142],{"type":45,"value":143},"POST \u002Fapi_keys",{"type":40,"tag":118,"props":145,"children":146},{},[147,149,154],{"type":45,"value":148},"Create a new key. Response contains the ",{"type":40,"tag":54,"props":150,"children":151},{},[152],{"type":45,"value":153},"only copy of the secret",{"type":45,"value":155},".",{"type":40,"tag":96,"props":157,"children":158},{},[159,168],{"type":40,"tag":118,"props":160,"children":161},{},[162],{"type":40,"tag":67,"props":163,"children":165},{"className":164},[],[166],{"type":45,"value":167},"PATCH \u002Fapi_keys",{"type":40,"tag":118,"props":169,"children":170},{},[171,173,179,181,187,188,194],{"type":45,"value":172},"Update ",{"type":40,"tag":67,"props":174,"children":176},{"className":175},[],[177],{"type":45,"value":178},"description",{"type":45,"value":180},", ",{"type":40,"tag":67,"props":182,"children":184},{"className":183},[],[185],{"type":45,"value":186},"expiresAt",{"type":45,"value":180},{"type":40,"tag":67,"props":189,"children":191},{"className":190},[],[192],{"type":45,"value":193},"consumptionLimit",{"type":45,"value":155},{"type":40,"tag":96,"props":196,"children":197},{},[198,207],{"type":40,"tag":118,"props":199,"children":200},{},[201],{"type":40,"tag":67,"props":202,"children":204},{"className":203},[],[205],{"type":45,"value":206},"DELETE \u002Fapi_keys?id=...",{"type":40,"tag":118,"props":208,"children":209},{},[210],{"type":45,"value":211},"Revoke a key.",{"type":40,"tag":96,"props":213,"children":214},{},[215,224],{"type":40,"tag":118,"props":216,"children":217},{},[218],{"type":40,"tag":67,"props":219,"children":221},{"className":220},[],[222],{"type":45,"value":223},"GET \u002Fapi_keys\u002F{id}",{"type":40,"tag":118,"props":225,"children":226},{},[227],{"type":45,"value":228},"Full details for one key (usage, limits, expiration).",{"type":40,"tag":96,"props":230,"children":231},{},[232,241],{"type":40,"tag":118,"props":233,"children":234},{},[235],{"type":40,"tag":67,"props":236,"children":238},{"className":237},[],[239],{"type":45,"value":240},"GET \u002Fapi_keys\u002Frate_limits",{"type":40,"tag":118,"props":242,"children":243},{},[244],{"type":45,"value":245},"Balances + per-model rate-limit tiers for the current key.",{"type":40,"tag":96,"props":247,"children":248},{},[249,258],{"type":40,"tag":118,"props":250,"children":251},{},[252],{"type":40,"tag":67,"props":253,"children":255},{"className":254},[],[256],{"type":45,"value":257},"GET \u002Fapi_keys\u002Frate_limits\u002Flog",{"type":40,"tag":118,"props":259,"children":260},{},[261],{"type":45,"value":262},"Last 50 rate-limit breaches.",{"type":40,"tag":96,"props":264,"children":265},{},[266,275],{"type":40,"tag":118,"props":267,"children":268},{},[269],{"type":40,"tag":67,"props":270,"children":272},{"className":271},[],[273],{"type":45,"value":274},"GET \u002Fapi_keys\u002Fgenerate_web3_key",{"type":40,"tag":118,"props":276,"children":277},{},[278],{"type":45,"value":279},"Get a SIWE-style token to sign with a wallet.",{"type":40,"tag":96,"props":281,"children":282},{},[283,292],{"type":40,"tag":118,"props":284,"children":285},{},[286],{"type":40,"tag":67,"props":287,"children":289},{"className":288},[],[290],{"type":45,"value":291},"POST \u002Fapi_keys\u002Fgenerate_web3_key",{"type":40,"tag":118,"props":293,"children":294},{},[295],{"type":45,"value":296},"Authenticate a wallet (holds sVVV) and mint a classic API key.",{"type":40,"tag":48,"props":298,"children":299},{},[300,302,307,309,314],{"type":45,"value":301},"Limits: key creation is capped at ",{"type":40,"tag":54,"props":303,"children":304},{},[305],{"type":45,"value":306},"20 requests\u002Fminute",{"type":45,"value":308}," and ",{"type":40,"tag":54,"props":310,"children":311},{},[312],{"type":45,"value":313},"500 active keys per user",{"type":45,"value":155},{"type":40,"tag":316,"props":317,"children":319},"h2",{"id":318},"key-types",[320],{"type":45,"value":321},"Key types",{"type":40,"tag":88,"props":323,"children":324},{},[325,341],{"type":40,"tag":92,"props":326,"children":327},{},[328],{"type":40,"tag":96,"props":329,"children":330},{},[331,336],{"type":40,"tag":100,"props":332,"children":333},{},[334],{"type":45,"value":335},"Type",{"type":40,"tag":100,"props":337,"children":338},{},[339],{"type":45,"value":340},"Can call",{"type":40,"tag":111,"props":342,"children":343},{},[344,439],{"type":40,"tag":96,"props":345,"children":346},{},[347,356],{"type":40,"tag":118,"props":348,"children":349},{},[350],{"type":40,"tag":67,"props":351,"children":353},{"className":352},[],[354],{"type":45,"value":355},"INFERENCE",{"type":40,"tag":118,"props":357,"children":358},{},[359,361,367,368,374,375,381,382,388,389,395,396,402,403,409,410,416,417,423,424,430,432,438],{"type":45,"value":360},"Inference endpoints plus any route that only requires authentication — e.g. ",{"type":40,"tag":67,"props":362,"children":364},{"className":363},[],[365],{"type":45,"value":366},"\u002Fchat\u002F*",{"type":45,"value":180},{"type":40,"tag":67,"props":369,"children":371},{"className":370},[],[372],{"type":45,"value":373},"\u002Fimage\u002F*",{"type":45,"value":180},{"type":40,"tag":67,"props":376,"children":378},{"className":377},[],[379],{"type":45,"value":380},"\u002Faudio\u002F*",{"type":45,"value":180},{"type":40,"tag":67,"props":383,"children":385},{"className":384},[],[386],{"type":45,"value":387},"\u002Fvideo\u002F*",{"type":45,"value":180},{"type":40,"tag":67,"props":390,"children":392},{"className":391},[],[393],{"type":45,"value":394},"\u002Fembeddings",{"type":45,"value":180},{"type":40,"tag":67,"props":397,"children":399},{"className":398},[],[400],{"type":45,"value":401},"\u002Faugment\u002F*",{"type":45,"value":180},{"type":40,"tag":67,"props":404,"children":406},{"className":405},[],[407],{"type":45,"value":408},"\u002Fcrypto\u002Frpc",{"type":45,"value":180},{"type":40,"tag":67,"props":411,"children":413},{"className":412},[],[414],{"type":45,"value":415},"\u002Fcharacters",{"type":45,"value":180},{"type":40,"tag":67,"props":418,"children":420},{"className":419},[],[421],{"type":45,"value":422},"\u002Fapi_keys\u002Frate_limits*",{"type":45,"value":180},{"type":40,"tag":67,"props":425,"children":427},{"className":426},[],[428],{"type":45,"value":429},"\u002Fsupport-bot",{"type":45,"value":431},". Rejected from admin routes listed below with ",{"type":40,"tag":67,"props":433,"children":435},{"className":434},[],[436],{"type":45,"value":437},"401",{"type":45,"value":155},{"type":40,"tag":96,"props":440,"children":441},{},[442,450],{"type":40,"tag":118,"props":443,"children":444},{},[445],{"type":40,"tag":67,"props":446,"children":448},{"className":447},[],[449],{"type":45,"value":58},{"type":40,"tag":118,"props":451,"children":452},{},[453,455,460,462,468,469,474,476,481,482,488,489,495],{"type":45,"value":454},"Everything an ",{"type":40,"tag":67,"props":456,"children":458},{"className":457},[],[459],{"type":45,"value":355},{"type":45,"value":461}," key can do, plus admin-only routes: ",{"type":40,"tag":67,"props":463,"children":465},{"className":464},[],[466],{"type":45,"value":467},"POST\u002FPATCH\u002FDELETE \u002Fapi_keys",{"type":45,"value":180},{"type":40,"tag":67,"props":470,"children":472},{"className":471},[],[473],{"type":45,"value":126},{"type":45,"value":475}," (list), ",{"type":40,"tag":67,"props":477,"children":479},{"className":478},[],[480],{"type":45,"value":223},{"type":45,"value":180},{"type":40,"tag":67,"props":483,"children":485},{"className":484},[],[486],{"type":45,"value":487},"GET \u002Fbilling\u002Fbalance",{"type":45,"value":180},{"type":40,"tag":67,"props":490,"children":492},{"className":491},[],[493],{"type":45,"value":494},"GET \u002Fbilling\u002Fusage",{"type":45,"value":155},{"type":40,"tag":48,"props":497,"children":498},{},[499,501,509],{"type":45,"value":500},"A leaf app should almost always use ",{"type":40,"tag":54,"props":502,"children":503},{},[504],{"type":40,"tag":67,"props":505,"children":507},{"className":506},[],[508],{"type":45,"value":355},{"type":45,"value":510}," keys — per-app, per-user, with consumption caps.",{"type":40,"tag":316,"props":512,"children":514},{"id":513},"get-api_keys",[515],{"type":40,"tag":67,"props":516,"children":518},{"className":517},[],[519],{"type":45,"value":126},{"type":40,"tag":521,"props":522,"children":527},"pre",{"className":523,"code":524,"language":525,"meta":526,"style":526},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys \\\n  -H \"Authorization: Bearer $ADMIN_KEY\"\n","bash","",[528],{"type":40,"tag":67,"props":529,"children":530},{"__ignoreMap":526},[531,555],{"type":40,"tag":532,"props":533,"children":536},"span",{"class":534,"line":535},"line",1,[537,543,549],{"type":40,"tag":532,"props":538,"children":540},{"style":539},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[541],{"type":45,"value":542},"curl",{"type":40,"tag":532,"props":544,"children":546},{"style":545},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[547],{"type":45,"value":548}," https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys",{"type":40,"tag":532,"props":550,"children":552},{"style":551},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[553],{"type":45,"value":554}," \\\n",{"type":40,"tag":532,"props":556,"children":558},{"class":534,"line":557},2,[559,564,570,575,580],{"type":40,"tag":532,"props":560,"children":561},{"style":545},[562],{"type":45,"value":563},"  -H",{"type":40,"tag":532,"props":565,"children":567},{"style":566},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[568],{"type":45,"value":569}," \"",{"type":40,"tag":532,"props":571,"children":572},{"style":545},[573],{"type":45,"value":574},"Authorization: Bearer ",{"type":40,"tag":532,"props":576,"children":577},{"style":551},[578],{"type":45,"value":579},"$ADMIN_KEY",{"type":40,"tag":532,"props":581,"children":582},{"style":566},[583],{"type":45,"value":584},"\"\n",{"type":40,"tag":48,"props":586,"children":587},{},[588],{"type":45,"value":589},"Returns:",{"type":40,"tag":521,"props":591,"children":595},{"className":592,"code":593,"language":594,"meta":526,"style":526},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"object\": \"list\",\n  \"data\": [\n    {\n      \"id\": \"uuid\",\n      \"apiKeyType\": \"INFERENCE\",\n      \"description\": \"backend prod\",\n      \"createdAt\": \"2025-10-01T12:00:00Z\",\n      \"expiresAt\": null,\n      \"lastUsedAt\": \"2026-04-20T10:05:00Z\",\n      \"last6Chars\": \"2V2jNW\",\n      \"consumptionLimits\": { \"usd\": 50, \"diem\": 10 },\n      \"usage\": { \"trailingSevenDays\": { \"usd\": \"4.20\", \"diem\": \"0.00\" } }\n    }\n  ]\n}\n","json",[596],{"type":40,"tag":67,"props":597,"children":598},{"__ignoreMap":526},[599,607,649,675,684,723,760,797,835,860,898,936,1017,1136,1145,1153],{"type":40,"tag":532,"props":600,"children":601},{"class":534,"line":535},[602],{"type":40,"tag":532,"props":603,"children":604},{"style":566},[605],{"type":45,"value":606},"{\n",{"type":40,"tag":532,"props":608,"children":609},{"class":534,"line":557},[610,615,621,626,631,635,640,644],{"type":40,"tag":532,"props":611,"children":612},{"style":566},[613],{"type":45,"value":614},"  \"",{"type":40,"tag":532,"props":616,"children":618},{"style":617},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[619],{"type":45,"value":620},"object",{"type":40,"tag":532,"props":622,"children":623},{"style":566},[624],{"type":45,"value":625},"\"",{"type":40,"tag":532,"props":627,"children":628},{"style":566},[629],{"type":45,"value":630},":",{"type":40,"tag":532,"props":632,"children":633},{"style":566},[634],{"type":45,"value":569},{"type":40,"tag":532,"props":636,"children":637},{"style":545},[638],{"type":45,"value":639},"list",{"type":40,"tag":532,"props":641,"children":642},{"style":566},[643],{"type":45,"value":625},{"type":40,"tag":532,"props":645,"children":646},{"style":566},[647],{"type":45,"value":648},",\n",{"type":40,"tag":532,"props":650,"children":652},{"class":534,"line":651},3,[653,657,662,666,670],{"type":40,"tag":532,"props":654,"children":655},{"style":566},[656],{"type":45,"value":614},{"type":40,"tag":532,"props":658,"children":659},{"style":617},[660],{"type":45,"value":661},"data",{"type":40,"tag":532,"props":663,"children":664},{"style":566},[665],{"type":45,"value":625},{"type":40,"tag":532,"props":667,"children":668},{"style":566},[669],{"type":45,"value":630},{"type":40,"tag":532,"props":671,"children":672},{"style":566},[673],{"type":45,"value":674}," [\n",{"type":40,"tag":532,"props":676,"children":678},{"class":534,"line":677},4,[679],{"type":40,"tag":532,"props":680,"children":681},{"style":566},[682],{"type":45,"value":683},"    {\n",{"type":40,"tag":532,"props":685,"children":687},{"class":534,"line":686},5,[688,693,698,702,706,710,715,719],{"type":40,"tag":532,"props":689,"children":690},{"style":566},[691],{"type":45,"value":692},"      \"",{"type":40,"tag":532,"props":694,"children":695},{"style":539},[696],{"type":45,"value":697},"id",{"type":40,"tag":532,"props":699,"children":700},{"style":566},[701],{"type":45,"value":625},{"type":40,"tag":532,"props":703,"children":704},{"style":566},[705],{"type":45,"value":630},{"type":40,"tag":532,"props":707,"children":708},{"style":566},[709],{"type":45,"value":569},{"type":40,"tag":532,"props":711,"children":712},{"style":545},[713],{"type":45,"value":714},"uuid",{"type":40,"tag":532,"props":716,"children":717},{"style":566},[718],{"type":45,"value":625},{"type":40,"tag":532,"props":720,"children":721},{"style":566},[722],{"type":45,"value":648},{"type":40,"tag":532,"props":724,"children":726},{"class":534,"line":725},6,[727,731,736,740,744,748,752,756],{"type":40,"tag":532,"props":728,"children":729},{"style":566},[730],{"type":45,"value":692},{"type":40,"tag":532,"props":732,"children":733},{"style":539},[734],{"type":45,"value":735},"apiKeyType",{"type":40,"tag":532,"props":737,"children":738},{"style":566},[739],{"type":45,"value":625},{"type":40,"tag":532,"props":741,"children":742},{"style":566},[743],{"type":45,"value":630},{"type":40,"tag":532,"props":745,"children":746},{"style":566},[747],{"type":45,"value":569},{"type":40,"tag":532,"props":749,"children":750},{"style":545},[751],{"type":45,"value":355},{"type":40,"tag":532,"props":753,"children":754},{"style":566},[755],{"type":45,"value":625},{"type":40,"tag":532,"props":757,"children":758},{"style":566},[759],{"type":45,"value":648},{"type":40,"tag":532,"props":761,"children":763},{"class":534,"line":762},7,[764,768,772,776,780,784,789,793],{"type":40,"tag":532,"props":765,"children":766},{"style":566},[767],{"type":45,"value":692},{"type":40,"tag":532,"props":769,"children":770},{"style":539},[771],{"type":45,"value":178},{"type":40,"tag":532,"props":773,"children":774},{"style":566},[775],{"type":45,"value":625},{"type":40,"tag":532,"props":777,"children":778},{"style":566},[779],{"type":45,"value":630},{"type":40,"tag":532,"props":781,"children":782},{"style":566},[783],{"type":45,"value":569},{"type":40,"tag":532,"props":785,"children":786},{"style":545},[787],{"type":45,"value":788},"backend prod",{"type":40,"tag":532,"props":790,"children":791},{"style":566},[792],{"type":45,"value":625},{"type":40,"tag":532,"props":794,"children":795},{"style":566},[796],{"type":45,"value":648},{"type":40,"tag":532,"props":798,"children":800},{"class":534,"line":799},8,[801,805,810,814,818,822,827,831],{"type":40,"tag":532,"props":802,"children":803},{"style":566},[804],{"type":45,"value":692},{"type":40,"tag":532,"props":806,"children":807},{"style":539},[808],{"type":45,"value":809},"createdAt",{"type":40,"tag":532,"props":811,"children":812},{"style":566},[813],{"type":45,"value":625},{"type":40,"tag":532,"props":815,"children":816},{"style":566},[817],{"type":45,"value":630},{"type":40,"tag":532,"props":819,"children":820},{"style":566},[821],{"type":45,"value":569},{"type":40,"tag":532,"props":823,"children":824},{"style":545},[825],{"type":45,"value":826},"2025-10-01T12:00:00Z",{"type":40,"tag":532,"props":828,"children":829},{"style":566},[830],{"type":45,"value":625},{"type":40,"tag":532,"props":832,"children":833},{"style":566},[834],{"type":45,"value":648},{"type":40,"tag":532,"props":836,"children":838},{"class":534,"line":837},9,[839,843,847,851,855],{"type":40,"tag":532,"props":840,"children":841},{"style":566},[842],{"type":45,"value":692},{"type":40,"tag":532,"props":844,"children":845},{"style":539},[846],{"type":45,"value":186},{"type":40,"tag":532,"props":848,"children":849},{"style":566},[850],{"type":45,"value":625},{"type":40,"tag":532,"props":852,"children":853},{"style":566},[854],{"type":45,"value":630},{"type":40,"tag":532,"props":856,"children":857},{"style":566},[858],{"type":45,"value":859}," null,\n",{"type":40,"tag":532,"props":861,"children":863},{"class":534,"line":862},10,[864,868,873,877,881,885,890,894],{"type":40,"tag":532,"props":865,"children":866},{"style":566},[867],{"type":45,"value":692},{"type":40,"tag":532,"props":869,"children":870},{"style":539},[871],{"type":45,"value":872},"lastUsedAt",{"type":40,"tag":532,"props":874,"children":875},{"style":566},[876],{"type":45,"value":625},{"type":40,"tag":532,"props":878,"children":879},{"style":566},[880],{"type":45,"value":630},{"type":40,"tag":532,"props":882,"children":883},{"style":566},[884],{"type":45,"value":569},{"type":40,"tag":532,"props":886,"children":887},{"style":545},[888],{"type":45,"value":889},"2026-04-20T10:05:00Z",{"type":40,"tag":532,"props":891,"children":892},{"style":566},[893],{"type":45,"value":625},{"type":40,"tag":532,"props":895,"children":896},{"style":566},[897],{"type":45,"value":648},{"type":40,"tag":532,"props":899,"children":901},{"class":534,"line":900},11,[902,906,911,915,919,923,928,932],{"type":40,"tag":532,"props":903,"children":904},{"style":566},[905],{"type":45,"value":692},{"type":40,"tag":532,"props":907,"children":908},{"style":539},[909],{"type":45,"value":910},"last6Chars",{"type":40,"tag":532,"props":912,"children":913},{"style":566},[914],{"type":45,"value":625},{"type":40,"tag":532,"props":916,"children":917},{"style":566},[918],{"type":45,"value":630},{"type":40,"tag":532,"props":920,"children":921},{"style":566},[922],{"type":45,"value":569},{"type":40,"tag":532,"props":924,"children":925},{"style":545},[926],{"type":45,"value":927},"2V2jNW",{"type":40,"tag":532,"props":929,"children":930},{"style":566},[931],{"type":45,"value":625},{"type":40,"tag":532,"props":933,"children":934},{"style":566},[935],{"type":45,"value":648},{"type":40,"tag":532,"props":937,"children":939},{"class":534,"line":938},12,[940,944,949,953,957,962,966,972,976,980,985,990,994,999,1003,1007,1012],{"type":40,"tag":532,"props":941,"children":942},{"style":566},[943],{"type":45,"value":692},{"type":40,"tag":532,"props":945,"children":946},{"style":539},[947],{"type":45,"value":948},"consumptionLimits",{"type":40,"tag":532,"props":950,"children":951},{"style":566},[952],{"type":45,"value":625},{"type":40,"tag":532,"props":954,"children":955},{"style":566},[956],{"type":45,"value":630},{"type":40,"tag":532,"props":958,"children":959},{"style":566},[960],{"type":45,"value":961}," {",{"type":40,"tag":532,"props":963,"children":964},{"style":566},[965],{"type":45,"value":569},{"type":40,"tag":532,"props":967,"children":969},{"style":968},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[970],{"type":45,"value":971},"usd",{"type":40,"tag":532,"props":973,"children":974},{"style":566},[975],{"type":45,"value":625},{"type":40,"tag":532,"props":977,"children":978},{"style":566},[979],{"type":45,"value":630},{"type":40,"tag":532,"props":981,"children":982},{"style":968},[983],{"type":45,"value":984}," 50",{"type":40,"tag":532,"props":986,"children":987},{"style":566},[988],{"type":45,"value":989},",",{"type":40,"tag":532,"props":991,"children":992},{"style":566},[993],{"type":45,"value":569},{"type":40,"tag":532,"props":995,"children":996},{"style":968},[997],{"type":45,"value":998},"diem",{"type":40,"tag":532,"props":1000,"children":1001},{"style":566},[1002],{"type":45,"value":625},{"type":40,"tag":532,"props":1004,"children":1005},{"style":566},[1006],{"type":45,"value":630},{"type":40,"tag":532,"props":1008,"children":1009},{"style":968},[1010],{"type":45,"value":1011}," 10",{"type":40,"tag":532,"props":1013,"children":1014},{"style":566},[1015],{"type":45,"value":1016}," },\n",{"type":40,"tag":532,"props":1018,"children":1020},{"class":534,"line":1019},13,[1021,1025,1030,1034,1038,1042,1046,1051,1055,1059,1063,1067,1072,1076,1080,1084,1089,1093,1097,1101,1105,1109,1113,1117,1122,1126,1131],{"type":40,"tag":532,"props":1022,"children":1023},{"style":566},[1024],{"type":45,"value":692},{"type":40,"tag":532,"props":1026,"children":1027},{"style":539},[1028],{"type":45,"value":1029},"usage",{"type":40,"tag":532,"props":1031,"children":1032},{"style":566},[1033],{"type":45,"value":625},{"type":40,"tag":532,"props":1035,"children":1036},{"style":566},[1037],{"type":45,"value":630},{"type":40,"tag":532,"props":1039,"children":1040},{"style":566},[1041],{"type":45,"value":961},{"type":40,"tag":532,"props":1043,"children":1044},{"style":566},[1045],{"type":45,"value":569},{"type":40,"tag":532,"props":1047,"children":1048},{"style":968},[1049],{"type":45,"value":1050},"trailingSevenDays",{"type":40,"tag":532,"props":1052,"children":1053},{"style":566},[1054],{"type":45,"value":625},{"type":40,"tag":532,"props":1056,"children":1057},{"style":566},[1058],{"type":45,"value":630},{"type":40,"tag":532,"props":1060,"children":1061},{"style":566},[1062],{"type":45,"value":961},{"type":40,"tag":532,"props":1064,"children":1065},{"style":566},[1066],{"type":45,"value":569},{"type":40,"tag":532,"props":1068,"children":1070},{"style":1069},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1071],{"type":45,"value":971},{"type":40,"tag":532,"props":1073,"children":1074},{"style":566},[1075],{"type":45,"value":625},{"type":40,"tag":532,"props":1077,"children":1078},{"style":566},[1079],{"type":45,"value":630},{"type":40,"tag":532,"props":1081,"children":1082},{"style":566},[1083],{"type":45,"value":569},{"type":40,"tag":532,"props":1085,"children":1086},{"style":545},[1087],{"type":45,"value":1088},"4.20",{"type":40,"tag":532,"props":1090,"children":1091},{"style":566},[1092],{"type":45,"value":625},{"type":40,"tag":532,"props":1094,"children":1095},{"style":566},[1096],{"type":45,"value":989},{"type":40,"tag":532,"props":1098,"children":1099},{"style":566},[1100],{"type":45,"value":569},{"type":40,"tag":532,"props":1102,"children":1103},{"style":1069},[1104],{"type":45,"value":998},{"type":40,"tag":532,"props":1106,"children":1107},{"style":566},[1108],{"type":45,"value":625},{"type":40,"tag":532,"props":1110,"children":1111},{"style":566},[1112],{"type":45,"value":630},{"type":40,"tag":532,"props":1114,"children":1115},{"style":566},[1116],{"type":45,"value":569},{"type":40,"tag":532,"props":1118,"children":1119},{"style":545},[1120],{"type":45,"value":1121},"0.00",{"type":40,"tag":532,"props":1123,"children":1124},{"style":566},[1125],{"type":45,"value":625},{"type":40,"tag":532,"props":1127,"children":1128},{"style":566},[1129],{"type":45,"value":1130}," }",{"type":40,"tag":532,"props":1132,"children":1133},{"style":566},[1134],{"type":45,"value":1135}," }\n",{"type":40,"tag":532,"props":1137,"children":1139},{"class":534,"line":1138},14,[1140],{"type":40,"tag":532,"props":1141,"children":1142},{"style":566},[1143],{"type":45,"value":1144},"    }\n",{"type":40,"tag":532,"props":1146,"children":1147},{"class":534,"line":27},[1148],{"type":40,"tag":532,"props":1149,"children":1150},{"style":566},[1151],{"type":45,"value":1152},"  ]\n",{"type":40,"tag":532,"props":1154,"children":1156},{"class":534,"line":1155},16,[1157],{"type":40,"tag":532,"props":1158,"children":1159},{"style":566},[1160],{"type":45,"value":1161},"}\n",{"type":40,"tag":48,"props":1163,"children":1164},{},[1165,1167,1172,1174,1179],{"type":45,"value":1166},"The full secret is ",{"type":40,"tag":54,"props":1168,"children":1169},{},[1170],{"type":45,"value":1171},"never",{"type":45,"value":1173}," returned on list — only ",{"type":40,"tag":67,"props":1175,"children":1177},{"className":1176},[],[1178],{"type":45,"value":910},{"type":45,"value":155},{"type":40,"tag":316,"props":1181,"children":1183},{"id":1182},"post-api_keys-create",[1184,1189],{"type":40,"tag":67,"props":1185,"children":1187},{"className":1186},[],[1188],{"type":45,"value":143},{"type":45,"value":1190}," — create",{"type":40,"tag":521,"props":1192,"children":1194},{"className":523,"code":1193,"language":525,"meta":526,"style":526},"curl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys \\\n  -H \"Authorization: Bearer $ADMIN_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"apiKeyType\": \"INFERENCE\",\n    \"description\": \"backend prod\",\n    \"expiresAt\": \"2026-12-31T23:59:59Z\",\n    \"consumptionLimit\": { \"usd\": 50, \"diem\": 10 }\n  }'\n",[1195],{"type":40,"tag":67,"props":1196,"children":1197},{"__ignoreMap":526},[1198,1213,1240,1264,1281,1289,1297,1305,1313],{"type":40,"tag":532,"props":1199,"children":1200},{"class":534,"line":535},[1201,1205,1209],{"type":40,"tag":532,"props":1202,"children":1203},{"style":539},[1204],{"type":45,"value":542},{"type":40,"tag":532,"props":1206,"children":1207},{"style":545},[1208],{"type":45,"value":548},{"type":40,"tag":532,"props":1210,"children":1211},{"style":551},[1212],{"type":45,"value":554},{"type":40,"tag":532,"props":1214,"children":1215},{"class":534,"line":557},[1216,1220,1224,1228,1232,1236],{"type":40,"tag":532,"props":1217,"children":1218},{"style":545},[1219],{"type":45,"value":563},{"type":40,"tag":532,"props":1221,"children":1222},{"style":566},[1223],{"type":45,"value":569},{"type":40,"tag":532,"props":1225,"children":1226},{"style":545},[1227],{"type":45,"value":574},{"type":40,"tag":532,"props":1229,"children":1230},{"style":551},[1231],{"type":45,"value":579},{"type":40,"tag":532,"props":1233,"children":1234},{"style":566},[1235],{"type":45,"value":625},{"type":40,"tag":532,"props":1237,"children":1238},{"style":551},[1239],{"type":45,"value":554},{"type":40,"tag":532,"props":1241,"children":1242},{"class":534,"line":651},[1243,1247,1251,1256,1260],{"type":40,"tag":532,"props":1244,"children":1245},{"style":545},[1246],{"type":45,"value":563},{"type":40,"tag":532,"props":1248,"children":1249},{"style":566},[1250],{"type":45,"value":569},{"type":40,"tag":532,"props":1252,"children":1253},{"style":545},[1254],{"type":45,"value":1255},"Content-Type: application\u002Fjson",{"type":40,"tag":532,"props":1257,"children":1258},{"style":566},[1259],{"type":45,"value":625},{"type":40,"tag":532,"props":1261,"children":1262},{"style":551},[1263],{"type":45,"value":554},{"type":40,"tag":532,"props":1265,"children":1266},{"class":534,"line":677},[1267,1272,1277],{"type":40,"tag":532,"props":1268,"children":1269},{"style":545},[1270],{"type":45,"value":1271},"  -d",{"type":40,"tag":532,"props":1273,"children":1274},{"style":566},[1275],{"type":45,"value":1276}," '",{"type":40,"tag":532,"props":1278,"children":1279},{"style":545},[1280],{"type":45,"value":606},{"type":40,"tag":532,"props":1282,"children":1283},{"class":534,"line":686},[1284],{"type":40,"tag":532,"props":1285,"children":1286},{"style":545},[1287],{"type":45,"value":1288},"    \"apiKeyType\": \"INFERENCE\",\n",{"type":40,"tag":532,"props":1290,"children":1291},{"class":534,"line":725},[1292],{"type":40,"tag":532,"props":1293,"children":1294},{"style":545},[1295],{"type":45,"value":1296},"    \"description\": \"backend prod\",\n",{"type":40,"tag":532,"props":1298,"children":1299},{"class":534,"line":762},[1300],{"type":40,"tag":532,"props":1301,"children":1302},{"style":545},[1303],{"type":45,"value":1304},"    \"expiresAt\": \"2026-12-31T23:59:59Z\",\n",{"type":40,"tag":532,"props":1306,"children":1307},{"class":534,"line":799},[1308],{"type":40,"tag":532,"props":1309,"children":1310},{"style":545},[1311],{"type":45,"value":1312},"    \"consumptionLimit\": { \"usd\": 50, \"diem\": 10 }\n",{"type":40,"tag":532,"props":1314,"children":1315},{"class":534,"line":837},[1316,1321],{"type":40,"tag":532,"props":1317,"children":1318},{"style":545},[1319],{"type":45,"value":1320},"  }",{"type":40,"tag":532,"props":1322,"children":1323},{"style":566},[1324],{"type":45,"value":1325},"'\n",{"type":40,"tag":48,"props":1327,"children":1328},{},[1329,1331,1336,1338,1344],{"type":45,"value":1330},"Response includes the ",{"type":40,"tag":54,"props":1332,"children":1333},{},[1334],{"type":45,"value":1335},"one-time",{"type":45,"value":1337}," ",{"type":40,"tag":67,"props":1339,"children":1341},{"className":1340},[],[1342],{"type":45,"value":1343},"apiKey",{"type":45,"value":1345}," secret:",{"type":40,"tag":521,"props":1347,"children":1349},{"className":592,"code":1348,"language":594,"meta":526,"style":526},"{\n  \"success\": true,\n  \"data\": {\n    \"id\": \"uuid\",\n    \"apiKey\": \"VENICE_INFERENCE_KEY_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n    \"apiKeyType\": \"INFERENCE\",\n    \"description\": \"backend prod\",\n    \"expiresAt\": \"2026-12-31T23:59:59Z\",\n    \"consumptionLimit\": { \"usd\": 50, \"diem\": 10 }\n  }\n}\n",[1350],{"type":40,"tag":67,"props":1351,"children":1352},{"__ignoreMap":526},[1353,1360,1385,1409,1445,1481,1516,1551,1587,1658,1666],{"type":40,"tag":532,"props":1354,"children":1355},{"class":534,"line":535},[1356],{"type":40,"tag":532,"props":1357,"children":1358},{"style":566},[1359],{"type":45,"value":606},{"type":40,"tag":532,"props":1361,"children":1362},{"class":534,"line":557},[1363,1367,1372,1376,1380],{"type":40,"tag":532,"props":1364,"children":1365},{"style":566},[1366],{"type":45,"value":614},{"type":40,"tag":532,"props":1368,"children":1369},{"style":617},[1370],{"type":45,"value":1371},"success",{"type":40,"tag":532,"props":1373,"children":1374},{"style":566},[1375],{"type":45,"value":625},{"type":40,"tag":532,"props":1377,"children":1378},{"style":566},[1379],{"type":45,"value":630},{"type":40,"tag":532,"props":1381,"children":1382},{"style":566},[1383],{"type":45,"value":1384}," true,\n",{"type":40,"tag":532,"props":1386,"children":1387},{"class":534,"line":651},[1388,1392,1396,1400,1404],{"type":40,"tag":532,"props":1389,"children":1390},{"style":566},[1391],{"type":45,"value":614},{"type":40,"tag":532,"props":1393,"children":1394},{"style":617},[1395],{"type":45,"value":661},{"type":40,"tag":532,"props":1397,"children":1398},{"style":566},[1399],{"type":45,"value":625},{"type":40,"tag":532,"props":1401,"children":1402},{"style":566},[1403],{"type":45,"value":630},{"type":40,"tag":532,"props":1405,"children":1406},{"style":566},[1407],{"type":45,"value":1408}," {\n",{"type":40,"tag":532,"props":1410,"children":1411},{"class":534,"line":677},[1412,1417,1421,1425,1429,1433,1437,1441],{"type":40,"tag":532,"props":1413,"children":1414},{"style":566},[1415],{"type":45,"value":1416},"    \"",{"type":40,"tag":532,"props":1418,"children":1419},{"style":539},[1420],{"type":45,"value":697},{"type":40,"tag":532,"props":1422,"children":1423},{"style":566},[1424],{"type":45,"value":625},{"type":40,"tag":532,"props":1426,"children":1427},{"style":566},[1428],{"type":45,"value":630},{"type":40,"tag":532,"props":1430,"children":1431},{"style":566},[1432],{"type":45,"value":569},{"type":40,"tag":532,"props":1434,"children":1435},{"style":545},[1436],{"type":45,"value":714},{"type":40,"tag":532,"props":1438,"children":1439},{"style":566},[1440],{"type":45,"value":625},{"type":40,"tag":532,"props":1442,"children":1443},{"style":566},[1444],{"type":45,"value":648},{"type":40,"tag":532,"props":1446,"children":1447},{"class":534,"line":686},[1448,1452,1456,1460,1464,1468,1473,1477],{"type":40,"tag":532,"props":1449,"children":1450},{"style":566},[1451],{"type":45,"value":1416},{"type":40,"tag":532,"props":1453,"children":1454},{"style":539},[1455],{"type":45,"value":1343},{"type":40,"tag":532,"props":1457,"children":1458},{"style":566},[1459],{"type":45,"value":625},{"type":40,"tag":532,"props":1461,"children":1462},{"style":566},[1463],{"type":45,"value":630},{"type":40,"tag":532,"props":1465,"children":1466},{"style":566},[1467],{"type":45,"value":569},{"type":40,"tag":532,"props":1469,"children":1470},{"style":545},[1471],{"type":45,"value":1472},"VENICE_INFERENCE_KEY_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",{"type":40,"tag":532,"props":1474,"children":1475},{"style":566},[1476],{"type":45,"value":625},{"type":40,"tag":532,"props":1478,"children":1479},{"style":566},[1480],{"type":45,"value":648},{"type":40,"tag":532,"props":1482,"children":1483},{"class":534,"line":725},[1484,1488,1492,1496,1500,1504,1508,1512],{"type":40,"tag":532,"props":1485,"children":1486},{"style":566},[1487],{"type":45,"value":1416},{"type":40,"tag":532,"props":1489,"children":1490},{"style":539},[1491],{"type":45,"value":735},{"type":40,"tag":532,"props":1493,"children":1494},{"style":566},[1495],{"type":45,"value":625},{"type":40,"tag":532,"props":1497,"children":1498},{"style":566},[1499],{"type":45,"value":630},{"type":40,"tag":532,"props":1501,"children":1502},{"style":566},[1503],{"type":45,"value":569},{"type":40,"tag":532,"props":1505,"children":1506},{"style":545},[1507],{"type":45,"value":355},{"type":40,"tag":532,"props":1509,"children":1510},{"style":566},[1511],{"type":45,"value":625},{"type":40,"tag":532,"props":1513,"children":1514},{"style":566},[1515],{"type":45,"value":648},{"type":40,"tag":532,"props":1517,"children":1518},{"class":534,"line":762},[1519,1523,1527,1531,1535,1539,1543,1547],{"type":40,"tag":532,"props":1520,"children":1521},{"style":566},[1522],{"type":45,"value":1416},{"type":40,"tag":532,"props":1524,"children":1525},{"style":539},[1526],{"type":45,"value":178},{"type":40,"tag":532,"props":1528,"children":1529},{"style":566},[1530],{"type":45,"value":625},{"type":40,"tag":532,"props":1532,"children":1533},{"style":566},[1534],{"type":45,"value":630},{"type":40,"tag":532,"props":1536,"children":1537},{"style":566},[1538],{"type":45,"value":569},{"type":40,"tag":532,"props":1540,"children":1541},{"style":545},[1542],{"type":45,"value":788},{"type":40,"tag":532,"props":1544,"children":1545},{"style":566},[1546],{"type":45,"value":625},{"type":40,"tag":532,"props":1548,"children":1549},{"style":566},[1550],{"type":45,"value":648},{"type":40,"tag":532,"props":1552,"children":1553},{"class":534,"line":799},[1554,1558,1562,1566,1570,1574,1579,1583],{"type":40,"tag":532,"props":1555,"children":1556},{"style":566},[1557],{"type":45,"value":1416},{"type":40,"tag":532,"props":1559,"children":1560},{"style":539},[1561],{"type":45,"value":186},{"type":40,"tag":532,"props":1563,"children":1564},{"style":566},[1565],{"type":45,"value":625},{"type":40,"tag":532,"props":1567,"children":1568},{"style":566},[1569],{"type":45,"value":630},{"type":40,"tag":532,"props":1571,"children":1572},{"style":566},[1573],{"type":45,"value":569},{"type":40,"tag":532,"props":1575,"children":1576},{"style":545},[1577],{"type":45,"value":1578},"2026-12-31T23:59:59Z",{"type":40,"tag":532,"props":1580,"children":1581},{"style":566},[1582],{"type":45,"value":625},{"type":40,"tag":532,"props":1584,"children":1585},{"style":566},[1586],{"type":45,"value":648},{"type":40,"tag":532,"props":1588,"children":1589},{"class":534,"line":837},[1590,1594,1598,1602,1606,1610,1614,1618,1622,1626,1630,1634,1638,1642,1646,1650,1654],{"type":40,"tag":532,"props":1591,"children":1592},{"style":566},[1593],{"type":45,"value":1416},{"type":40,"tag":532,"props":1595,"children":1596},{"style":539},[1597],{"type":45,"value":193},{"type":40,"tag":532,"props":1599,"children":1600},{"style":566},[1601],{"type":45,"value":625},{"type":40,"tag":532,"props":1603,"children":1604},{"style":566},[1605],{"type":45,"value":630},{"type":40,"tag":532,"props":1607,"children":1608},{"style":566},[1609],{"type":45,"value":961},{"type":40,"tag":532,"props":1611,"children":1612},{"style":566},[1613],{"type":45,"value":569},{"type":40,"tag":532,"props":1615,"children":1616},{"style":968},[1617],{"type":45,"value":971},{"type":40,"tag":532,"props":1619,"children":1620},{"style":566},[1621],{"type":45,"value":625},{"type":40,"tag":532,"props":1623,"children":1624},{"style":566},[1625],{"type":45,"value":630},{"type":40,"tag":532,"props":1627,"children":1628},{"style":968},[1629],{"type":45,"value":984},{"type":40,"tag":532,"props":1631,"children":1632},{"style":566},[1633],{"type":45,"value":989},{"type":40,"tag":532,"props":1635,"children":1636},{"style":566},[1637],{"type":45,"value":569},{"type":40,"tag":532,"props":1639,"children":1640},{"style":968},[1641],{"type":45,"value":998},{"type":40,"tag":532,"props":1643,"children":1644},{"style":566},[1645],{"type":45,"value":625},{"type":40,"tag":532,"props":1647,"children":1648},{"style":566},[1649],{"type":45,"value":630},{"type":40,"tag":532,"props":1651,"children":1652},{"style":968},[1653],{"type":45,"value":1011},{"type":40,"tag":532,"props":1655,"children":1656},{"style":566},[1657],{"type":45,"value":1135},{"type":40,"tag":532,"props":1659,"children":1660},{"class":534,"line":862},[1661],{"type":40,"tag":532,"props":1662,"children":1663},{"style":566},[1664],{"type":45,"value":1665},"  }\n",{"type":40,"tag":532,"props":1667,"children":1668},{"class":534,"line":900},[1669],{"type":40,"tag":532,"props":1670,"children":1671},{"style":566},[1672],{"type":45,"value":1161},{"type":40,"tag":48,"props":1674,"children":1675},{},[1676,1681],{"type":40,"tag":54,"props":1677,"children":1678},{},[1679],{"type":45,"value":1680},"Save it immediately",{"type":45,"value":1682}," — Venice won't show the secret again. If you lose it, delete and re-create.",{"type":40,"tag":1684,"props":1685,"children":1687},"h3",{"id":1686},"required",[1688],{"type":45,"value":1689},"Required",{"type":40,"tag":1691,"props":1692,"children":1693},"ul",{},[1694,1703],{"type":40,"tag":1695,"props":1696,"children":1697},"li",{},[1698],{"type":40,"tag":67,"props":1699,"children":1701},{"className":1700},[],[1702],{"type":45,"value":735},{"type":40,"tag":1695,"props":1704,"children":1705},{},[1706],{"type":40,"tag":67,"props":1707,"children":1709},{"className":1708},[],[1710],{"type":45,"value":178},{"type":40,"tag":1684,"props":1712,"children":1714},{"id":1713},"optional",[1715],{"type":45,"value":1716},"Optional",{"type":40,"tag":1691,"props":1718,"children":1719},{},[1720,1730,1748],{"type":40,"tag":1695,"props":1721,"children":1722},{},[1723,1728],{"type":40,"tag":67,"props":1724,"children":1726},{"className":1725},[],[1727],{"type":45,"value":186},{"type":45,"value":1729}," — empty string or ISO 8601 date\u002Fdatetime. Omit for non-expiring.",{"type":40,"tag":1695,"props":1731,"children":1732},{},[1733,1739,1740,1746],{"type":40,"tag":67,"props":1734,"children":1736},{"className":1735},[],[1737],{"type":45,"value":1738},"consumptionLimit.usd",{"type":45,"value":74},{"type":40,"tag":67,"props":1741,"children":1743},{"className":1742},[],[1744],{"type":45,"value":1745},".diem",{"type":45,"value":1747}," — per-epoch caps. Null means no cap on that currency.",{"type":40,"tag":1695,"props":1749,"children":1750},{},[1751,1757,1759,1764,1766,1771],{"type":40,"tag":67,"props":1752,"children":1754},{"className":1753},[],[1755],{"type":45,"value":1756},"consumptionLimit.vcu",{"type":45,"value":1758}," — ",{"type":40,"tag":54,"props":1760,"children":1761},{},[1762],{"type":45,"value":1763},"deprecated",{"type":45,"value":1765}," (legacy Diem). Use ",{"type":40,"tag":67,"props":1767,"children":1769},{"className":1768},[],[1770],{"type":45,"value":998},{"type":45,"value":86},{"type":40,"tag":316,"props":1773,"children":1775},{"id":1774},"patch-api_keys-update",[1776,1781],{"type":40,"tag":67,"props":1777,"children":1779},{"className":1778},[],[1780],{"type":45,"value":167},{"type":45,"value":1782}," — update",{"type":40,"tag":521,"props":1784,"children":1786},{"className":523,"code":1785,"language":525,"meta":526,"style":526},"curl -X PATCH https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys \\\n  -H \"Authorization: Bearer $ADMIN_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{ \"id\": \"uuid\", \"description\": \"renamed\", \"consumptionLimit\": { \"usd\": 100 } }'\n",[1787],{"type":40,"tag":67,"props":1788,"children":1789},{"__ignoreMap":526},[1790,1815,1842,1865],{"type":40,"tag":532,"props":1791,"children":1792},{"class":534,"line":535},[1793,1797,1802,1807,1811],{"type":40,"tag":532,"props":1794,"children":1795},{"style":539},[1796],{"type":45,"value":542},{"type":40,"tag":532,"props":1798,"children":1799},{"style":545},[1800],{"type":45,"value":1801}," -X",{"type":40,"tag":532,"props":1803,"children":1804},{"style":545},[1805],{"type":45,"value":1806}," PATCH",{"type":40,"tag":532,"props":1808,"children":1809},{"style":545},[1810],{"type":45,"value":548},{"type":40,"tag":532,"props":1812,"children":1813},{"style":551},[1814],{"type":45,"value":554},{"type":40,"tag":532,"props":1816,"children":1817},{"class":534,"line":557},[1818,1822,1826,1830,1834,1838],{"type":40,"tag":532,"props":1819,"children":1820},{"style":545},[1821],{"type":45,"value":563},{"type":40,"tag":532,"props":1823,"children":1824},{"style":566},[1825],{"type":45,"value":569},{"type":40,"tag":532,"props":1827,"children":1828},{"style":545},[1829],{"type":45,"value":574},{"type":40,"tag":532,"props":1831,"children":1832},{"style":551},[1833],{"type":45,"value":579},{"type":40,"tag":532,"props":1835,"children":1836},{"style":566},[1837],{"type":45,"value":625},{"type":40,"tag":532,"props":1839,"children":1840},{"style":551},[1841],{"type":45,"value":554},{"type":40,"tag":532,"props":1843,"children":1844},{"class":534,"line":651},[1845,1849,1853,1857,1861],{"type":40,"tag":532,"props":1846,"children":1847},{"style":545},[1848],{"type":45,"value":563},{"type":40,"tag":532,"props":1850,"children":1851},{"style":566},[1852],{"type":45,"value":569},{"type":40,"tag":532,"props":1854,"children":1855},{"style":545},[1856],{"type":45,"value":1255},{"type":40,"tag":532,"props":1858,"children":1859},{"style":566},[1860],{"type":45,"value":625},{"type":40,"tag":532,"props":1862,"children":1863},{"style":551},[1864],{"type":45,"value":554},{"type":40,"tag":532,"props":1866,"children":1867},{"class":534,"line":677},[1868,1872,1876,1881],{"type":40,"tag":532,"props":1869,"children":1870},{"style":545},[1871],{"type":45,"value":1271},{"type":40,"tag":532,"props":1873,"children":1874},{"style":566},[1875],{"type":45,"value":1276},{"type":40,"tag":532,"props":1877,"children":1878},{"style":545},[1879],{"type":45,"value":1880},"{ \"id\": \"uuid\", \"description\": \"renamed\", \"consumptionLimit\": { \"usd\": 100 } }",{"type":40,"tag":532,"props":1882,"children":1883},{"style":566},[1884],{"type":45,"value":1325},{"type":40,"tag":48,"props":1886,"children":1887},{},[1888,1890,1895,1896,1901,1903,1908,1910,1916,1918,1924],{"type":45,"value":1889},"Only ",{"type":40,"tag":67,"props":1891,"children":1893},{"className":1892},[],[1894],{"type":45,"value":178},{"type":45,"value":180},{"type":40,"tag":67,"props":1897,"children":1899},{"className":1898},[],[1900],{"type":45,"value":186},{"type":45,"value":1902},", and ",{"type":40,"tag":67,"props":1904,"children":1906},{"className":1905},[],[1907],{"type":45,"value":193},{"type":45,"value":1909}," are mutable. Pass ",{"type":40,"tag":67,"props":1911,"children":1913},{"className":1912},[],[1914],{"type":45,"value":1915},"\"expiresAt\": \"\"",{"type":45,"value":1917}," or ",{"type":40,"tag":67,"props":1919,"children":1921},{"className":1920},[],[1922],{"type":45,"value":1923},"null",{"type":45,"value":1925}," to remove an expiration.",{"type":40,"tag":316,"props":1927,"children":1929},{"id":1928},"delete-api_keysiduuid-revoke",[1930,1936],{"type":40,"tag":67,"props":1931,"children":1933},{"className":1932},[],[1934],{"type":45,"value":1935},"DELETE \u002Fapi_keys?id=\u003Cuuid>",{"type":45,"value":1937}," — revoke",{"type":40,"tag":521,"props":1939,"children":1941},{"className":523,"code":1940,"language":525,"meta":526,"style":526},"curl -X DELETE \"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys?id=uuid\" \\\n  -H \"Authorization: Bearer $ADMIN_KEY\"\n",[1942],{"type":40,"tag":67,"props":1943,"children":1944},{"__ignoreMap":526},[1945,1978],{"type":40,"tag":532,"props":1946,"children":1947},{"class":534,"line":535},[1948,1952,1956,1961,1965,1970,1974],{"type":40,"tag":532,"props":1949,"children":1950},{"style":539},[1951],{"type":45,"value":542},{"type":40,"tag":532,"props":1953,"children":1954},{"style":545},[1955],{"type":45,"value":1801},{"type":40,"tag":532,"props":1957,"children":1958},{"style":545},[1959],{"type":45,"value":1960}," DELETE",{"type":40,"tag":532,"props":1962,"children":1963},{"style":566},[1964],{"type":45,"value":569},{"type":40,"tag":532,"props":1966,"children":1967},{"style":545},[1968],{"type":45,"value":1969},"https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys?id=uuid",{"type":40,"tag":532,"props":1971,"children":1972},{"style":566},[1973],{"type":45,"value":625},{"type":40,"tag":532,"props":1975,"children":1976},{"style":551},[1977],{"type":45,"value":554},{"type":40,"tag":532,"props":1979,"children":1980},{"class":534,"line":557},[1981,1985,1989,1993,1997],{"type":40,"tag":532,"props":1982,"children":1983},{"style":545},[1984],{"type":45,"value":563},{"type":40,"tag":532,"props":1986,"children":1987},{"style":566},[1988],{"type":45,"value":569},{"type":40,"tag":532,"props":1990,"children":1991},{"style":545},[1992],{"type":45,"value":574},{"type":40,"tag":532,"props":1994,"children":1995},{"style":551},[1996],{"type":45,"value":579},{"type":40,"tag":532,"props":1998,"children":1999},{"style":566},[2000],{"type":45,"value":584},{"type":40,"tag":48,"props":2002,"children":2003},{},[2004,2006,2012],{"type":45,"value":2005},"Returns ",{"type":40,"tag":67,"props":2007,"children":2009},{"className":2008},[],[2010],{"type":45,"value":2011},"{\"success\": true}",{"type":45,"value":2013},". Revocation is immediate.",{"type":40,"tag":316,"props":2015,"children":2017},{"id":2016},"get-api_keysid-details",[2018,2023],{"type":40,"tag":67,"props":2019,"children":2021},{"className":2020},[],[2022],{"type":45,"value":223},{"type":45,"value":2024}," — details",{"type":40,"tag":48,"props":2026,"children":2027},{},[2028],{"type":45,"value":2029},"Returns one key's full metadata plus trailing-7-day usage. Useful for an admin dashboard row view.",{"type":40,"tag":316,"props":2031,"children":2033},{"id":2032},"get-api_keysrate_limits",[2034],{"type":40,"tag":67,"props":2035,"children":2037},{"className":2036},[],[2038],{"type":45,"value":240},{"type":40,"tag":521,"props":2040,"children":2042},{"className":523,"code":2041,"language":525,"meta":526,"style":526},"curl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys\u002Frate_limits \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\"\n",[2043],{"type":40,"tag":67,"props":2044,"children":2045},{"__ignoreMap":526},[2046,2062],{"type":40,"tag":532,"props":2047,"children":2048},{"class":534,"line":535},[2049,2053,2058],{"type":40,"tag":532,"props":2050,"children":2051},{"style":539},[2052],{"type":45,"value":542},{"type":40,"tag":532,"props":2054,"children":2055},{"style":545},[2056],{"type":45,"value":2057}," https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys\u002Frate_limits",{"type":40,"tag":532,"props":2059,"children":2060},{"style":551},[2061],{"type":45,"value":554},{"type":40,"tag":532,"props":2063,"children":2064},{"class":534,"line":557},[2065,2069,2073,2077,2082],{"type":40,"tag":532,"props":2066,"children":2067},{"style":545},[2068],{"type":45,"value":563},{"type":40,"tag":532,"props":2070,"children":2071},{"style":566},[2072],{"type":45,"value":569},{"type":40,"tag":532,"props":2074,"children":2075},{"style":545},[2076],{"type":45,"value":574},{"type":40,"tag":532,"props":2078,"children":2079},{"style":551},[2080],{"type":45,"value":2081},"$VENICE_API_KEY",{"type":40,"tag":532,"props":2083,"children":2084},{"style":566},[2085],{"type":45,"value":584},{"type":40,"tag":48,"props":2087,"children":2088},{},[2089],{"type":45,"value":2090},"Returns for the calling key:",{"type":40,"tag":521,"props":2092,"children":2094},{"className":592,"code":2093,"language":594,"meta":526,"style":526},"{\n  \"data\": {\n    \"accessPermitted\": true,\n    \"apiTier\": { \"id\": \"paid\", \"isCharged\": true },\n    \"balances\": { \"USD\": 50.23, \"DIEM\": 100.023 },\n    \"keyExpiration\": \"2025-06-01T00:00:00Z\",\n    \"nextEpochBegins\": \"2025-05-07T00:00:00.000Z\",\n    \"rateLimits\": [\n      {\n        \"apiModelId\": \"zai-org-glm-5-1\",\n        \"rateLimits\": [\n          { \"type\": \"RPM\", \"amount\": 100 },\n          { \"type\": \"TPM\", \"amount\": 200000 },\n          { \"type\": \"RPD\", \"amount\": 10000 }\n        ]\n      }\n    ]\n  }\n}\n",[2095],{"type":40,"tag":67,"props":2096,"children":2097},{"__ignoreMap":526},[2098,2105,2128,2152,2235,2311,2348,2385,2409,2417,2455,2478,2546,2611,2676,2684,2692,2701,2709],{"type":40,"tag":532,"props":2099,"children":2100},{"class":534,"line":535},[2101],{"type":40,"tag":532,"props":2102,"children":2103},{"style":566},[2104],{"type":45,"value":606},{"type":40,"tag":532,"props":2106,"children":2107},{"class":534,"line":557},[2108,2112,2116,2120,2124],{"type":40,"tag":532,"props":2109,"children":2110},{"style":566},[2111],{"type":45,"value":614},{"type":40,"tag":532,"props":2113,"children":2114},{"style":617},[2115],{"type":45,"value":661},{"type":40,"tag":532,"props":2117,"children":2118},{"style":566},[2119],{"type":45,"value":625},{"type":40,"tag":532,"props":2121,"children":2122},{"style":566},[2123],{"type":45,"value":630},{"type":40,"tag":532,"props":2125,"children":2126},{"style":566},[2127],{"type":45,"value":1408},{"type":40,"tag":532,"props":2129,"children":2130},{"class":534,"line":651},[2131,2135,2140,2144,2148],{"type":40,"tag":532,"props":2132,"children":2133},{"style":566},[2134],{"type":45,"value":1416},{"type":40,"tag":532,"props":2136,"children":2137},{"style":539},[2138],{"type":45,"value":2139},"accessPermitted",{"type":40,"tag":532,"props":2141,"children":2142},{"style":566},[2143],{"type":45,"value":625},{"type":40,"tag":532,"props":2145,"children":2146},{"style":566},[2147],{"type":45,"value":630},{"type":40,"tag":532,"props":2149,"children":2150},{"style":566},[2151],{"type":45,"value":1384},{"type":40,"tag":532,"props":2153,"children":2154},{"class":534,"line":677},[2155,2159,2164,2168,2172,2176,2180,2184,2188,2192,2196,2201,2205,2209,2213,2218,2222,2226,2231],{"type":40,"tag":532,"props":2156,"children":2157},{"style":566},[2158],{"type":45,"value":1416},{"type":40,"tag":532,"props":2160,"children":2161},{"style":539},[2162],{"type":45,"value":2163},"apiTier",{"type":40,"tag":532,"props":2165,"children":2166},{"style":566},[2167],{"type":45,"value":625},{"type":40,"tag":532,"props":2169,"children":2170},{"style":566},[2171],{"type":45,"value":630},{"type":40,"tag":532,"props":2173,"children":2174},{"style":566},[2175],{"type":45,"value":961},{"type":40,"tag":532,"props":2177,"children":2178},{"style":566},[2179],{"type":45,"value":569},{"type":40,"tag":532,"props":2181,"children":2182},{"style":968},[2183],{"type":45,"value":697},{"type":40,"tag":532,"props":2185,"children":2186},{"style":566},[2187],{"type":45,"value":625},{"type":40,"tag":532,"props":2189,"children":2190},{"style":566},[2191],{"type":45,"value":630},{"type":40,"tag":532,"props":2193,"children":2194},{"style":566},[2195],{"type":45,"value":569},{"type":40,"tag":532,"props":2197,"children":2198},{"style":545},[2199],{"type":45,"value":2200},"paid",{"type":40,"tag":532,"props":2202,"children":2203},{"style":566},[2204],{"type":45,"value":625},{"type":40,"tag":532,"props":2206,"children":2207},{"style":566},[2208],{"type":45,"value":989},{"type":40,"tag":532,"props":2210,"children":2211},{"style":566},[2212],{"type":45,"value":569},{"type":40,"tag":532,"props":2214,"children":2215},{"style":968},[2216],{"type":45,"value":2217},"isCharged",{"type":40,"tag":532,"props":2219,"children":2220},{"style":566},[2221],{"type":45,"value":625},{"type":40,"tag":532,"props":2223,"children":2224},{"style":566},[2225],{"type":45,"value":630},{"type":40,"tag":532,"props":2227,"children":2228},{"style":566},[2229],{"type":45,"value":2230}," true",{"type":40,"tag":532,"props":2232,"children":2233},{"style":566},[2234],{"type":45,"value":1016},{"type":40,"tag":532,"props":2236,"children":2237},{"class":534,"line":686},[2238,2242,2247,2251,2255,2259,2263,2268,2272,2276,2281,2285,2289,2294,2298,2302,2307],{"type":40,"tag":532,"props":2239,"children":2240},{"style":566},[2241],{"type":45,"value":1416},{"type":40,"tag":532,"props":2243,"children":2244},{"style":539},[2245],{"type":45,"value":2246},"balances",{"type":40,"tag":532,"props":2248,"children":2249},{"style":566},[2250],{"type":45,"value":625},{"type":40,"tag":532,"props":2252,"children":2253},{"style":566},[2254],{"type":45,"value":630},{"type":40,"tag":532,"props":2256,"children":2257},{"style":566},[2258],{"type":45,"value":961},{"type":40,"tag":532,"props":2260,"children":2261},{"style":566},[2262],{"type":45,"value":569},{"type":40,"tag":532,"props":2264,"children":2265},{"style":968},[2266],{"type":45,"value":2267},"USD",{"type":40,"tag":532,"props":2269,"children":2270},{"style":566},[2271],{"type":45,"value":625},{"type":40,"tag":532,"props":2273,"children":2274},{"style":566},[2275],{"type":45,"value":630},{"type":40,"tag":532,"props":2277,"children":2278},{"style":968},[2279],{"type":45,"value":2280}," 50.23",{"type":40,"tag":532,"props":2282,"children":2283},{"style":566},[2284],{"type":45,"value":989},{"type":40,"tag":532,"props":2286,"children":2287},{"style":566},[2288],{"type":45,"value":569},{"type":40,"tag":532,"props":2290,"children":2291},{"style":968},[2292],{"type":45,"value":2293},"DIEM",{"type":40,"tag":532,"props":2295,"children":2296},{"style":566},[2297],{"type":45,"value":625},{"type":40,"tag":532,"props":2299,"children":2300},{"style":566},[2301],{"type":45,"value":630},{"type":40,"tag":532,"props":2303,"children":2304},{"style":968},[2305],{"type":45,"value":2306}," 100.023",{"type":40,"tag":532,"props":2308,"children":2309},{"style":566},[2310],{"type":45,"value":1016},{"type":40,"tag":532,"props":2312,"children":2313},{"class":534,"line":725},[2314,2318,2323,2327,2331,2335,2340,2344],{"type":40,"tag":532,"props":2315,"children":2316},{"style":566},[2317],{"type":45,"value":1416},{"type":40,"tag":532,"props":2319,"children":2320},{"style":539},[2321],{"type":45,"value":2322},"keyExpiration",{"type":40,"tag":532,"props":2324,"children":2325},{"style":566},[2326],{"type":45,"value":625},{"type":40,"tag":532,"props":2328,"children":2329},{"style":566},[2330],{"type":45,"value":630},{"type":40,"tag":532,"props":2332,"children":2333},{"style":566},[2334],{"type":45,"value":569},{"type":40,"tag":532,"props":2336,"children":2337},{"style":545},[2338],{"type":45,"value":2339},"2025-06-01T00:00:00Z",{"type":40,"tag":532,"props":2341,"children":2342},{"style":566},[2343],{"type":45,"value":625},{"type":40,"tag":532,"props":2345,"children":2346},{"style":566},[2347],{"type":45,"value":648},{"type":40,"tag":532,"props":2349,"children":2350},{"class":534,"line":762},[2351,2355,2360,2364,2368,2372,2377,2381],{"type":40,"tag":532,"props":2352,"children":2353},{"style":566},[2354],{"type":45,"value":1416},{"type":40,"tag":532,"props":2356,"children":2357},{"style":539},[2358],{"type":45,"value":2359},"nextEpochBegins",{"type":40,"tag":532,"props":2361,"children":2362},{"style":566},[2363],{"type":45,"value":625},{"type":40,"tag":532,"props":2365,"children":2366},{"style":566},[2367],{"type":45,"value":630},{"type":40,"tag":532,"props":2369,"children":2370},{"style":566},[2371],{"type":45,"value":569},{"type":40,"tag":532,"props":2373,"children":2374},{"style":545},[2375],{"type":45,"value":2376},"2025-05-07T00:00:00.000Z",{"type":40,"tag":532,"props":2378,"children":2379},{"style":566},[2380],{"type":45,"value":625},{"type":40,"tag":532,"props":2382,"children":2383},{"style":566},[2384],{"type":45,"value":648},{"type":40,"tag":532,"props":2386,"children":2387},{"class":534,"line":799},[2388,2392,2397,2401,2405],{"type":40,"tag":532,"props":2389,"children":2390},{"style":566},[2391],{"type":45,"value":1416},{"type":40,"tag":532,"props":2393,"children":2394},{"style":539},[2395],{"type":45,"value":2396},"rateLimits",{"type":40,"tag":532,"props":2398,"children":2399},{"style":566},[2400],{"type":45,"value":625},{"type":40,"tag":532,"props":2402,"children":2403},{"style":566},[2404],{"type":45,"value":630},{"type":40,"tag":532,"props":2406,"children":2407},{"style":566},[2408],{"type":45,"value":674},{"type":40,"tag":532,"props":2410,"children":2411},{"class":534,"line":837},[2412],{"type":40,"tag":532,"props":2413,"children":2414},{"style":566},[2415],{"type":45,"value":2416},"      {\n",{"type":40,"tag":532,"props":2418,"children":2419},{"class":534,"line":862},[2420,2425,2430,2434,2438,2442,2447,2451],{"type":40,"tag":532,"props":2421,"children":2422},{"style":566},[2423],{"type":45,"value":2424},"        \"",{"type":40,"tag":532,"props":2426,"children":2427},{"style":968},[2428],{"type":45,"value":2429},"apiModelId",{"type":40,"tag":532,"props":2431,"children":2432},{"style":566},[2433],{"type":45,"value":625},{"type":40,"tag":532,"props":2435,"children":2436},{"style":566},[2437],{"type":45,"value":630},{"type":40,"tag":532,"props":2439,"children":2440},{"style":566},[2441],{"type":45,"value":569},{"type":40,"tag":532,"props":2443,"children":2444},{"style":545},[2445],{"type":45,"value":2446},"zai-org-glm-5-1",{"type":40,"tag":532,"props":2448,"children":2449},{"style":566},[2450],{"type":45,"value":625},{"type":40,"tag":532,"props":2452,"children":2453},{"style":566},[2454],{"type":45,"value":648},{"type":40,"tag":532,"props":2456,"children":2457},{"class":534,"line":900},[2458,2462,2466,2470,2474],{"type":40,"tag":532,"props":2459,"children":2460},{"style":566},[2461],{"type":45,"value":2424},{"type":40,"tag":532,"props":2463,"children":2464},{"style":968},[2465],{"type":45,"value":2396},{"type":40,"tag":532,"props":2467,"children":2468},{"style":566},[2469],{"type":45,"value":625},{"type":40,"tag":532,"props":2471,"children":2472},{"style":566},[2473],{"type":45,"value":630},{"type":40,"tag":532,"props":2475,"children":2476},{"style":566},[2477],{"type":45,"value":674},{"type":40,"tag":532,"props":2479,"children":2480},{"class":534,"line":938},[2481,2486,2490,2495,2499,2503,2507,2512,2516,2520,2524,2529,2533,2537,2542],{"type":40,"tag":532,"props":2482,"children":2483},{"style":566},[2484],{"type":45,"value":2485},"          {",{"type":40,"tag":532,"props":2487,"children":2488},{"style":566},[2489],{"type":45,"value":569},{"type":40,"tag":532,"props":2491,"children":2492},{"style":1069},[2493],{"type":45,"value":2494},"type",{"type":40,"tag":532,"props":2496,"children":2497},{"style":566},[2498],{"type":45,"value":625},{"type":40,"tag":532,"props":2500,"children":2501},{"style":566},[2502],{"type":45,"value":630},{"type":40,"tag":532,"props":2504,"children":2505},{"style":566},[2506],{"type":45,"value":569},{"type":40,"tag":532,"props":2508,"children":2509},{"style":545},[2510],{"type":45,"value":2511},"RPM",{"type":40,"tag":532,"props":2513,"children":2514},{"style":566},[2515],{"type":45,"value":625},{"type":40,"tag":532,"props":2517,"children":2518},{"style":566},[2519],{"type":45,"value":989},{"type":40,"tag":532,"props":2521,"children":2522},{"style":566},[2523],{"type":45,"value":569},{"type":40,"tag":532,"props":2525,"children":2526},{"style":1069},[2527],{"type":45,"value":2528},"amount",{"type":40,"tag":532,"props":2530,"children":2531},{"style":566},[2532],{"type":45,"value":625},{"type":40,"tag":532,"props":2534,"children":2535},{"style":566},[2536],{"type":45,"value":630},{"type":40,"tag":532,"props":2538,"children":2539},{"style":968},[2540],{"type":45,"value":2541}," 100",{"type":40,"tag":532,"props":2543,"children":2544},{"style":566},[2545],{"type":45,"value":1016},{"type":40,"tag":532,"props":2547,"children":2548},{"class":534,"line":1019},[2549,2553,2557,2561,2565,2569,2573,2578,2582,2586,2590,2594,2598,2602,2607],{"type":40,"tag":532,"props":2550,"children":2551},{"style":566},[2552],{"type":45,"value":2485},{"type":40,"tag":532,"props":2554,"children":2555},{"style":566},[2556],{"type":45,"value":569},{"type":40,"tag":532,"props":2558,"children":2559},{"style":1069},[2560],{"type":45,"value":2494},{"type":40,"tag":532,"props":2562,"children":2563},{"style":566},[2564],{"type":45,"value":625},{"type":40,"tag":532,"props":2566,"children":2567},{"style":566},[2568],{"type":45,"value":630},{"type":40,"tag":532,"props":2570,"children":2571},{"style":566},[2572],{"type":45,"value":569},{"type":40,"tag":532,"props":2574,"children":2575},{"style":545},[2576],{"type":45,"value":2577},"TPM",{"type":40,"tag":532,"props":2579,"children":2580},{"style":566},[2581],{"type":45,"value":625},{"type":40,"tag":532,"props":2583,"children":2584},{"style":566},[2585],{"type":45,"value":989},{"type":40,"tag":532,"props":2587,"children":2588},{"style":566},[2589],{"type":45,"value":569},{"type":40,"tag":532,"props":2591,"children":2592},{"style":1069},[2593],{"type":45,"value":2528},{"type":40,"tag":532,"props":2595,"children":2596},{"style":566},[2597],{"type":45,"value":625},{"type":40,"tag":532,"props":2599,"children":2600},{"style":566},[2601],{"type":45,"value":630},{"type":40,"tag":532,"props":2603,"children":2604},{"style":968},[2605],{"type":45,"value":2606}," 200000",{"type":40,"tag":532,"props":2608,"children":2609},{"style":566},[2610],{"type":45,"value":1016},{"type":40,"tag":532,"props":2612,"children":2613},{"class":534,"line":1138},[2614,2618,2622,2626,2630,2634,2638,2643,2647,2651,2655,2659,2663,2667,2672],{"type":40,"tag":532,"props":2615,"children":2616},{"style":566},[2617],{"type":45,"value":2485},{"type":40,"tag":532,"props":2619,"children":2620},{"style":566},[2621],{"type":45,"value":569},{"type":40,"tag":532,"props":2623,"children":2624},{"style":1069},[2625],{"type":45,"value":2494},{"type":40,"tag":532,"props":2627,"children":2628},{"style":566},[2629],{"type":45,"value":625},{"type":40,"tag":532,"props":2631,"children":2632},{"style":566},[2633],{"type":45,"value":630},{"type":40,"tag":532,"props":2635,"children":2636},{"style":566},[2637],{"type":45,"value":569},{"type":40,"tag":532,"props":2639,"children":2640},{"style":545},[2641],{"type":45,"value":2642},"RPD",{"type":40,"tag":532,"props":2644,"children":2645},{"style":566},[2646],{"type":45,"value":625},{"type":40,"tag":532,"props":2648,"children":2649},{"style":566},[2650],{"type":45,"value":989},{"type":40,"tag":532,"props":2652,"children":2653},{"style":566},[2654],{"type":45,"value":569},{"type":40,"tag":532,"props":2656,"children":2657},{"style":1069},[2658],{"type":45,"value":2528},{"type":40,"tag":532,"props":2660,"children":2661},{"style":566},[2662],{"type":45,"value":625},{"type":40,"tag":532,"props":2664,"children":2665},{"style":566},[2666],{"type":45,"value":630},{"type":40,"tag":532,"props":2668,"children":2669},{"style":968},[2670],{"type":45,"value":2671}," 10000",{"type":40,"tag":532,"props":2673,"children":2674},{"style":566},[2675],{"type":45,"value":1135},{"type":40,"tag":532,"props":2677,"children":2678},{"class":534,"line":27},[2679],{"type":40,"tag":532,"props":2680,"children":2681},{"style":566},[2682],{"type":45,"value":2683},"        ]\n",{"type":40,"tag":532,"props":2685,"children":2686},{"class":534,"line":1155},[2687],{"type":40,"tag":532,"props":2688,"children":2689},{"style":566},[2690],{"type":45,"value":2691},"      }\n",{"type":40,"tag":532,"props":2693,"children":2695},{"class":534,"line":2694},17,[2696],{"type":40,"tag":532,"props":2697,"children":2698},{"style":566},[2699],{"type":45,"value":2700},"    ]\n",{"type":40,"tag":532,"props":2702,"children":2704},{"class":534,"line":2703},18,[2705],{"type":40,"tag":532,"props":2706,"children":2707},{"style":566},[2708],{"type":45,"value":1665},{"type":40,"tag":532,"props":2710,"children":2712},{"class":534,"line":2711},19,[2713],{"type":40,"tag":532,"props":2714,"children":2715},{"style":566},[2716],{"type":45,"value":1161},{"type":40,"tag":48,"props":2718,"children":2719},{},[2720],{"type":45,"value":2721},"Use it to:",{"type":40,"tag":1691,"props":2723,"children":2724},{},[2725,2730,2735],{"type":40,"tag":1695,"props":2726,"children":2727},{},[2728],{"type":45,"value":2729},"Display current balances in-app.",{"type":40,"tag":1695,"props":2731,"children":2732},{},[2733],{"type":45,"value":2734},"Warm-gate calls when the relevant model's RPM cap is near.",{"type":40,"tag":1695,"props":2736,"children":2737},{},[2738],{"type":45,"value":2739},"Know when the next epoch resets (DIEM, bundled credits).",{"type":40,"tag":316,"props":2741,"children":2743},{"id":2742},"get-api_keysrate_limitslog",[2744],{"type":40,"tag":67,"props":2745,"children":2747},{"className":2746},[],[2748],{"type":45,"value":257},{"type":40,"tag":48,"props":2750,"children":2751},{},[2752,2754,2760],{"type":45,"value":2753},"Returns the last 50 rate-limit breaches. Response is wrapped as ",{"type":40,"tag":67,"props":2755,"children":2757},{"className":2756},[],[2758],{"type":45,"value":2759},"{ object: \"list\", data: [...] }",{"type":45,"value":630},{"type":40,"tag":521,"props":2762,"children":2764},{"className":592,"code":2763,"language":594,"meta":526,"style":526},"{\n  \"object\": \"list\",\n  \"data\": [\n    { \"apiKeyId\": \"...\", \"modelId\": \"zai-org-glm-5-1\", \"rateLimitType\": \"RPM\",\n      \"rateLimitTier\": \"paid\", \"timestamp\": \"2026-04-20T12:34:56Z\" }\n  ]\n}\n",[2765],{"type":40,"tag":67,"props":2766,"children":2767},{"__ignoreMap":526},[2768,2775,2810,2833,2941,3011,3018],{"type":40,"tag":532,"props":2769,"children":2770},{"class":534,"line":535},[2771],{"type":40,"tag":532,"props":2772,"children":2773},{"style":566},[2774],{"type":45,"value":606},{"type":40,"tag":532,"props":2776,"children":2777},{"class":534,"line":557},[2778,2782,2786,2790,2794,2798,2802,2806],{"type":40,"tag":532,"props":2779,"children":2780},{"style":566},[2781],{"type":45,"value":614},{"type":40,"tag":532,"props":2783,"children":2784},{"style":617},[2785],{"type":45,"value":620},{"type":40,"tag":532,"props":2787,"children":2788},{"style":566},[2789],{"type":45,"value":625},{"type":40,"tag":532,"props":2791,"children":2792},{"style":566},[2793],{"type":45,"value":630},{"type":40,"tag":532,"props":2795,"children":2796},{"style":566},[2797],{"type":45,"value":569},{"type":40,"tag":532,"props":2799,"children":2800},{"style":545},[2801],{"type":45,"value":639},{"type":40,"tag":532,"props":2803,"children":2804},{"style":566},[2805],{"type":45,"value":625},{"type":40,"tag":532,"props":2807,"children":2808},{"style":566},[2809],{"type":45,"value":648},{"type":40,"tag":532,"props":2811,"children":2812},{"class":534,"line":651},[2813,2817,2821,2825,2829],{"type":40,"tag":532,"props":2814,"children":2815},{"style":566},[2816],{"type":45,"value":614},{"type":40,"tag":532,"props":2818,"children":2819},{"style":617},[2820],{"type":45,"value":661},{"type":40,"tag":532,"props":2822,"children":2823},{"style":566},[2824],{"type":45,"value":625},{"type":40,"tag":532,"props":2826,"children":2827},{"style":566},[2828],{"type":45,"value":630},{"type":40,"tag":532,"props":2830,"children":2831},{"style":566},[2832],{"type":45,"value":674},{"type":40,"tag":532,"props":2834,"children":2835},{"class":534,"line":677},[2836,2841,2845,2850,2854,2858,2862,2867,2871,2875,2879,2884,2888,2892,2896,2900,2904,2908,2912,2917,2921,2925,2929,2933,2937],{"type":40,"tag":532,"props":2837,"children":2838},{"style":566},[2839],{"type":45,"value":2840},"    {",{"type":40,"tag":532,"props":2842,"children":2843},{"style":566},[2844],{"type":45,"value":569},{"type":40,"tag":532,"props":2846,"children":2847},{"style":539},[2848],{"type":45,"value":2849},"apiKeyId",{"type":40,"tag":532,"props":2851,"children":2852},{"style":566},[2853],{"type":45,"value":625},{"type":40,"tag":532,"props":2855,"children":2856},{"style":566},[2857],{"type":45,"value":630},{"type":40,"tag":532,"props":2859,"children":2860},{"style":566},[2861],{"type":45,"value":569},{"type":40,"tag":532,"props":2863,"children":2864},{"style":545},[2865],{"type":45,"value":2866},"...",{"type":40,"tag":532,"props":2868,"children":2869},{"style":566},[2870],{"type":45,"value":625},{"type":40,"tag":532,"props":2872,"children":2873},{"style":566},[2874],{"type":45,"value":989},{"type":40,"tag":532,"props":2876,"children":2877},{"style":566},[2878],{"type":45,"value":569},{"type":40,"tag":532,"props":2880,"children":2881},{"style":539},[2882],{"type":45,"value":2883},"modelId",{"type":40,"tag":532,"props":2885,"children":2886},{"style":566},[2887],{"type":45,"value":625},{"type":40,"tag":532,"props":2889,"children":2890},{"style":566},[2891],{"type":45,"value":630},{"type":40,"tag":532,"props":2893,"children":2894},{"style":566},[2895],{"type":45,"value":569},{"type":40,"tag":532,"props":2897,"children":2898},{"style":545},[2899],{"type":45,"value":2446},{"type":40,"tag":532,"props":2901,"children":2902},{"style":566},[2903],{"type":45,"value":625},{"type":40,"tag":532,"props":2905,"children":2906},{"style":566},[2907],{"type":45,"value":989},{"type":40,"tag":532,"props":2909,"children":2910},{"style":566},[2911],{"type":45,"value":569},{"type":40,"tag":532,"props":2913,"children":2914},{"style":539},[2915],{"type":45,"value":2916},"rateLimitType",{"type":40,"tag":532,"props":2918,"children":2919},{"style":566},[2920],{"type":45,"value":625},{"type":40,"tag":532,"props":2922,"children":2923},{"style":566},[2924],{"type":45,"value":630},{"type":40,"tag":532,"props":2926,"children":2927},{"style":566},[2928],{"type":45,"value":569},{"type":40,"tag":532,"props":2930,"children":2931},{"style":545},[2932],{"type":45,"value":2511},{"type":40,"tag":532,"props":2934,"children":2935},{"style":566},[2936],{"type":45,"value":625},{"type":40,"tag":532,"props":2938,"children":2939},{"style":566},[2940],{"type":45,"value":648},{"type":40,"tag":532,"props":2942,"children":2943},{"class":534,"line":686},[2944,2948,2953,2957,2961,2965,2969,2973,2977,2981,2986,2990,2994,2998,3003,3007],{"type":40,"tag":532,"props":2945,"children":2946},{"style":566},[2947],{"type":45,"value":692},{"type":40,"tag":532,"props":2949,"children":2950},{"style":539},[2951],{"type":45,"value":2952},"rateLimitTier",{"type":40,"tag":532,"props":2954,"children":2955},{"style":566},[2956],{"type":45,"value":625},{"type":40,"tag":532,"props":2958,"children":2959},{"style":566},[2960],{"type":45,"value":630},{"type":40,"tag":532,"props":2962,"children":2963},{"style":566},[2964],{"type":45,"value":569},{"type":40,"tag":532,"props":2966,"children":2967},{"style":545},[2968],{"type":45,"value":2200},{"type":40,"tag":532,"props":2970,"children":2971},{"style":566},[2972],{"type":45,"value":625},{"type":40,"tag":532,"props":2974,"children":2975},{"style":566},[2976],{"type":45,"value":989},{"type":40,"tag":532,"props":2978,"children":2979},{"style":566},[2980],{"type":45,"value":569},{"type":40,"tag":532,"props":2982,"children":2983},{"style":539},[2984],{"type":45,"value":2985},"timestamp",{"type":40,"tag":532,"props":2987,"children":2988},{"style":566},[2989],{"type":45,"value":625},{"type":40,"tag":532,"props":2991,"children":2992},{"style":566},[2993],{"type":45,"value":630},{"type":40,"tag":532,"props":2995,"children":2996},{"style":566},[2997],{"type":45,"value":569},{"type":40,"tag":532,"props":2999,"children":3000},{"style":545},[3001],{"type":45,"value":3002},"2026-04-20T12:34:56Z",{"type":40,"tag":532,"props":3004,"children":3005},{"style":566},[3006],{"type":45,"value":625},{"type":40,"tag":532,"props":3008,"children":3009},{"style":566},[3010],{"type":45,"value":1135},{"type":40,"tag":532,"props":3012,"children":3013},{"class":534,"line":725},[3014],{"type":40,"tag":532,"props":3015,"children":3016},{"style":566},[3017],{"type":45,"value":1152},{"type":40,"tag":532,"props":3019,"children":3020},{"class":534,"line":762},[3021],{"type":40,"tag":532,"props":3022,"children":3023},{"style":566},[3024],{"type":45,"value":1161},{"type":40,"tag":48,"props":3026,"children":3027},{},[3028],{"type":45,"value":3029},"Feed these into your monitoring when tuning concurrency.",{"type":40,"tag":316,"props":3031,"children":3033},{"id":3032},"web3-api-keys-two-step-wallet-flow",[3034],{"type":45,"value":3035},"Web3 API keys — two-step wallet flow",{"type":40,"tag":48,"props":3037,"children":3038},{},[3039,3041,3046],{"type":45,"value":3040},"Lets a wallet that ",{"type":40,"tag":54,"props":3042,"children":3043},{},[3044],{"type":45,"value":3045},"holds sVVV",{"type":45,"value":3047}," mint a classic Bearer API key. No Venice account required.",{"type":40,"tag":1684,"props":3049,"children":3051},{"id":3050},"_1-get-api_keysgenerate_web3_key",[3052,3054],{"type":45,"value":3053},"1. ",{"type":40,"tag":67,"props":3055,"children":3057},{"className":3056},[],[3058],{"type":45,"value":274},{"type":40,"tag":521,"props":3060,"children":3062},{"className":523,"code":3061,"language":525,"meta":526,"style":526},"curl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys\u002Fgenerate_web3_key\n",[3063],{"type":40,"tag":67,"props":3064,"children":3065},{"__ignoreMap":526},[3066],{"type":40,"tag":532,"props":3067,"children":3068},{"class":534,"line":535},[3069,3073],{"type":40,"tag":532,"props":3070,"children":3071},{"style":539},[3072],{"type":45,"value":542},{"type":40,"tag":532,"props":3074,"children":3075},{"style":545},[3076],{"type":45,"value":3077}," https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fapi_keys\u002Fgenerate_web3_key\n",{"type":40,"tag":48,"props":3079,"children":3080},{},[3081,3082,3088],{"type":45,"value":2005},{"type":40,"tag":67,"props":3083,"children":3085},{"className":3084},[],[3086],{"type":45,"value":3087},"{ success: true, data: { token: \"\u003Cjwt-ish token>\" } }",{"type":45,"value":155},{"type":40,"tag":1684,"props":3090,"children":3092},{"id":3091},"_2-sign-the-token-with-your-wallet-then-post-api_keysgenerate_web3_key",[3093,3095],{"type":45,"value":3094},"2. Sign the token with your wallet, then ",{"type":40,"tag":67,"props":3096,"children":3098},{"className":3097},[],[3099],{"type":45,"value":291},{"type":40,"tag":521,"props":3101,"children":3105},{"className":3102,"code":3103,"language":3104,"meta":526,"style":526},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { Wallet } from 'ethers'\n\nconst { data: { token } } = await fetch(`${base}\u002Fapi_keys\u002Fgenerate_web3_key`).then(r => r.json())\nconst wallet = new Wallet(process.env.WALLET_KEY!)\nconst signature = await wallet.signMessage(token)\n\nconst res = await fetch(`${base}\u002Fapi_keys\u002Fgenerate_web3_key`, {\n  method: 'POST',\n  headers: { 'Content-Type': 'application\u002Fjson' },\n  body: JSON.stringify({\n    apiKeyType: 'INFERENCE',\n    description: 'Web3 API Key',\n    address: wallet.address,\n    signature,\n    token,\n    consumptionLimit: { usd: 50 },\n  }),\n})\n\nconst { data } = await res.json()\nconsole.log(data.apiKey) \u002F\u002F save this once\n","ts",[3106],{"type":40,"tag":67,"props":3107,"children":3108},{"__ignoreMap":526},[3109,3149,3158,3289,3348,3387,3394,3450,3480,3530,3564,3592,3621,3650,3662,3674,3707,3722,3733,3740,3787],{"type":40,"tag":532,"props":3110,"children":3111},{"class":534,"line":535},[3112,3118,3122,3127,3131,3136,3140,3145],{"type":40,"tag":532,"props":3113,"children":3115},{"style":3114},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[3116],{"type":45,"value":3117},"import",{"type":40,"tag":532,"props":3119,"children":3120},{"style":566},[3121],{"type":45,"value":961},{"type":40,"tag":532,"props":3123,"children":3124},{"style":551},[3125],{"type":45,"value":3126}," Wallet",{"type":40,"tag":532,"props":3128,"children":3129},{"style":566},[3130],{"type":45,"value":1130},{"type":40,"tag":532,"props":3132,"children":3133},{"style":3114},[3134],{"type":45,"value":3135}," from",{"type":40,"tag":532,"props":3137,"children":3138},{"style":566},[3139],{"type":45,"value":1276},{"type":40,"tag":532,"props":3141,"children":3142},{"style":545},[3143],{"type":45,"value":3144},"ethers",{"type":40,"tag":532,"props":3146,"children":3147},{"style":566},[3148],{"type":45,"value":1325},{"type":40,"tag":532,"props":3150,"children":3151},{"class":534,"line":557},[3152],{"type":40,"tag":532,"props":3153,"children":3155},{"emptyLinePlaceholder":3154},true,[3156],{"type":45,"value":3157},"\n",{"type":40,"tag":532,"props":3159,"children":3160},{"class":534,"line":651},[3161,3166,3170,3175,3179,3183,3188,3193,3197,3202,3207,3213,3218,3223,3228,3232,3237,3242,3247,3251,3256,3260,3266,3271,3276,3280,3284],{"type":40,"tag":532,"props":3162,"children":3163},{"style":617},[3164],{"type":45,"value":3165},"const",{"type":40,"tag":532,"props":3167,"children":3168},{"style":566},[3169],{"type":45,"value":961},{"type":40,"tag":532,"props":3171,"children":3172},{"style":1069},[3173],{"type":45,"value":3174}," data",{"type":40,"tag":532,"props":3176,"children":3177},{"style":566},[3178],{"type":45,"value":630},{"type":40,"tag":532,"props":3180,"children":3181},{"style":566},[3182],{"type":45,"value":961},{"type":40,"tag":532,"props":3184,"children":3185},{"style":551},[3186],{"type":45,"value":3187}," token ",{"type":40,"tag":532,"props":3189,"children":3190},{"style":566},[3191],{"type":45,"value":3192},"}",{"type":40,"tag":532,"props":3194,"children":3195},{"style":566},[3196],{"type":45,"value":1130},{"type":40,"tag":532,"props":3198,"children":3199},{"style":566},[3200],{"type":45,"value":3201}," =",{"type":40,"tag":532,"props":3203,"children":3204},{"style":3114},[3205],{"type":45,"value":3206}," await",{"type":40,"tag":532,"props":3208,"children":3210},{"style":3209},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[3211],{"type":45,"value":3212}," fetch",{"type":40,"tag":532,"props":3214,"children":3215},{"style":551},[3216],{"type":45,"value":3217},"(",{"type":40,"tag":532,"props":3219,"children":3220},{"style":566},[3221],{"type":45,"value":3222},"`${",{"type":40,"tag":532,"props":3224,"children":3225},{"style":551},[3226],{"type":45,"value":3227},"base",{"type":40,"tag":532,"props":3229,"children":3230},{"style":566},[3231],{"type":45,"value":3192},{"type":40,"tag":532,"props":3233,"children":3234},{"style":545},[3235],{"type":45,"value":3236},"\u002Fapi_keys\u002Fgenerate_web3_key",{"type":40,"tag":532,"props":3238,"children":3239},{"style":566},[3240],{"type":45,"value":3241},"`",{"type":40,"tag":532,"props":3243,"children":3244},{"style":551},[3245],{"type":45,"value":3246},")",{"type":40,"tag":532,"props":3248,"children":3249},{"style":566},[3250],{"type":45,"value":155},{"type":40,"tag":532,"props":3252,"children":3253},{"style":3209},[3254],{"type":45,"value":3255},"then",{"type":40,"tag":532,"props":3257,"children":3258},{"style":551},[3259],{"type":45,"value":3217},{"type":40,"tag":532,"props":3261,"children":3263},{"style":3262},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[3264],{"type":45,"value":3265},"r",{"type":40,"tag":532,"props":3267,"children":3268},{"style":617},[3269],{"type":45,"value":3270}," =>",{"type":40,"tag":532,"props":3272,"children":3273},{"style":551},[3274],{"type":45,"value":3275}," r",{"type":40,"tag":532,"props":3277,"children":3278},{"style":566},[3279],{"type":45,"value":155},{"type":40,"tag":532,"props":3281,"children":3282},{"style":3209},[3283],{"type":45,"value":594},{"type":40,"tag":532,"props":3285,"children":3286},{"style":551},[3287],{"type":45,"value":3288},"())\n",{"type":40,"tag":532,"props":3290,"children":3291},{"class":534,"line":677},[3292,3296,3301,3306,3311,3315,3320,3324,3329,3333,3338,3343],{"type":40,"tag":532,"props":3293,"children":3294},{"style":617},[3295],{"type":45,"value":3165},{"type":40,"tag":532,"props":3297,"children":3298},{"style":551},[3299],{"type":45,"value":3300}," wallet ",{"type":40,"tag":532,"props":3302,"children":3303},{"style":566},[3304],{"type":45,"value":3305},"=",{"type":40,"tag":532,"props":3307,"children":3308},{"style":566},[3309],{"type":45,"value":3310}," new",{"type":40,"tag":532,"props":3312,"children":3313},{"style":3209},[3314],{"type":45,"value":3126},{"type":40,"tag":532,"props":3316,"children":3317},{"style":551},[3318],{"type":45,"value":3319},"(process",{"type":40,"tag":532,"props":3321,"children":3322},{"style":566},[3323],{"type":45,"value":155},{"type":40,"tag":532,"props":3325,"children":3326},{"style":551},[3327],{"type":45,"value":3328},"env",{"type":40,"tag":532,"props":3330,"children":3331},{"style":566},[3332],{"type":45,"value":155},{"type":40,"tag":532,"props":3334,"children":3335},{"style":551},[3336],{"type":45,"value":3337},"WALLET_KEY",{"type":40,"tag":532,"props":3339,"children":3340},{"style":566},[3341],{"type":45,"value":3342},"!",{"type":40,"tag":532,"props":3344,"children":3345},{"style":551},[3346],{"type":45,"value":3347},")\n",{"type":40,"tag":532,"props":3349,"children":3350},{"class":534,"line":686},[3351,3355,3360,3364,3368,3373,3377,3382],{"type":40,"tag":532,"props":3352,"children":3353},{"style":617},[3354],{"type":45,"value":3165},{"type":40,"tag":532,"props":3356,"children":3357},{"style":551},[3358],{"type":45,"value":3359}," signature ",{"type":40,"tag":532,"props":3361,"children":3362},{"style":566},[3363],{"type":45,"value":3305},{"type":40,"tag":532,"props":3365,"children":3366},{"style":3114},[3367],{"type":45,"value":3206},{"type":40,"tag":532,"props":3369,"children":3370},{"style":551},[3371],{"type":45,"value":3372}," wallet",{"type":40,"tag":532,"props":3374,"children":3375},{"style":566},[3376],{"type":45,"value":155},{"type":40,"tag":532,"props":3378,"children":3379},{"style":3209},[3380],{"type":45,"value":3381},"signMessage",{"type":40,"tag":532,"props":3383,"children":3384},{"style":551},[3385],{"type":45,"value":3386},"(token)\n",{"type":40,"tag":532,"props":3388,"children":3389},{"class":534,"line":725},[3390],{"type":40,"tag":532,"props":3391,"children":3392},{"emptyLinePlaceholder":3154},[3393],{"type":45,"value":3157},{"type":40,"tag":532,"props":3395,"children":3396},{"class":534,"line":762},[3397,3401,3406,3410,3414,3418,3422,3426,3430,3434,3438,3442,3446],{"type":40,"tag":532,"props":3398,"children":3399},{"style":617},[3400],{"type":45,"value":3165},{"type":40,"tag":532,"props":3402,"children":3403},{"style":551},[3404],{"type":45,"value":3405}," res ",{"type":40,"tag":532,"props":3407,"children":3408},{"style":566},[3409],{"type":45,"value":3305},{"type":40,"tag":532,"props":3411,"children":3412},{"style":3114},[3413],{"type":45,"value":3206},{"type":40,"tag":532,"props":3415,"children":3416},{"style":3209},[3417],{"type":45,"value":3212},{"type":40,"tag":532,"props":3419,"children":3420},{"style":551},[3421],{"type":45,"value":3217},{"type":40,"tag":532,"props":3423,"children":3424},{"style":566},[3425],{"type":45,"value":3222},{"type":40,"tag":532,"props":3427,"children":3428},{"style":551},[3429],{"type":45,"value":3227},{"type":40,"tag":532,"props":3431,"children":3432},{"style":566},[3433],{"type":45,"value":3192},{"type":40,"tag":532,"props":3435,"children":3436},{"style":545},[3437],{"type":45,"value":3236},{"type":40,"tag":532,"props":3439,"children":3440},{"style":566},[3441],{"type":45,"value":3241},{"type":40,"tag":532,"props":3443,"children":3444},{"style":566},[3445],{"type":45,"value":989},{"type":40,"tag":532,"props":3447,"children":3448},{"style":566},[3449],{"type":45,"value":1408},{"type":40,"tag":532,"props":3451,"children":3452},{"class":534,"line":799},[3453,3458,3462,3466,3471,3476],{"type":40,"tag":532,"props":3454,"children":3455},{"style":1069},[3456],{"type":45,"value":3457},"  method",{"type":40,"tag":532,"props":3459,"children":3460},{"style":566},[3461],{"type":45,"value":630},{"type":40,"tag":532,"props":3463,"children":3464},{"style":566},[3465],{"type":45,"value":1276},{"type":40,"tag":532,"props":3467,"children":3468},{"style":545},[3469],{"type":45,"value":3470},"POST",{"type":40,"tag":532,"props":3472,"children":3473},{"style":566},[3474],{"type":45,"value":3475},"'",{"type":40,"tag":532,"props":3477,"children":3478},{"style":566},[3479],{"type":45,"value":648},{"type":40,"tag":532,"props":3481,"children":3482},{"class":534,"line":837},[3483,3488,3492,3496,3500,3505,3509,3513,3517,3522,3526],{"type":40,"tag":532,"props":3484,"children":3485},{"style":1069},[3486],{"type":45,"value":3487},"  headers",{"type":40,"tag":532,"props":3489,"children":3490},{"style":566},[3491],{"type":45,"value":630},{"type":40,"tag":532,"props":3493,"children":3494},{"style":566},[3495],{"type":45,"value":961},{"type":40,"tag":532,"props":3497,"children":3498},{"style":566},[3499],{"type":45,"value":1276},{"type":40,"tag":532,"props":3501,"children":3502},{"style":1069},[3503],{"type":45,"value":3504},"Content-Type",{"type":40,"tag":532,"props":3506,"children":3507},{"style":566},[3508],{"type":45,"value":3475},{"type":40,"tag":532,"props":3510,"children":3511},{"style":566},[3512],{"type":45,"value":630},{"type":40,"tag":532,"props":3514,"children":3515},{"style":566},[3516],{"type":45,"value":1276},{"type":40,"tag":532,"props":3518,"children":3519},{"style":545},[3520],{"type":45,"value":3521},"application\u002Fjson",{"type":40,"tag":532,"props":3523,"children":3524},{"style":566},[3525],{"type":45,"value":3475},{"type":40,"tag":532,"props":3527,"children":3528},{"style":566},[3529],{"type":45,"value":1016},{"type":40,"tag":532,"props":3531,"children":3532},{"class":534,"line":862},[3533,3538,3542,3547,3551,3556,3560],{"type":40,"tag":532,"props":3534,"children":3535},{"style":1069},[3536],{"type":45,"value":3537},"  body",{"type":40,"tag":532,"props":3539,"children":3540},{"style":566},[3541],{"type":45,"value":630},{"type":40,"tag":532,"props":3543,"children":3544},{"style":551},[3545],{"type":45,"value":3546}," JSON",{"type":40,"tag":532,"props":3548,"children":3549},{"style":566},[3550],{"type":45,"value":155},{"type":40,"tag":532,"props":3552,"children":3553},{"style":3209},[3554],{"type":45,"value":3555},"stringify",{"type":40,"tag":532,"props":3557,"children":3558},{"style":551},[3559],{"type":45,"value":3217},{"type":40,"tag":532,"props":3561,"children":3562},{"style":566},[3563],{"type":45,"value":606},{"type":40,"tag":532,"props":3565,"children":3566},{"class":534,"line":900},[3567,3572,3576,3580,3584,3588],{"type":40,"tag":532,"props":3568,"children":3569},{"style":1069},[3570],{"type":45,"value":3571},"    apiKeyType",{"type":40,"tag":532,"props":3573,"children":3574},{"style":566},[3575],{"type":45,"value":630},{"type":40,"tag":532,"props":3577,"children":3578},{"style":566},[3579],{"type":45,"value":1276},{"type":40,"tag":532,"props":3581,"children":3582},{"style":545},[3583],{"type":45,"value":355},{"type":40,"tag":532,"props":3585,"children":3586},{"style":566},[3587],{"type":45,"value":3475},{"type":40,"tag":532,"props":3589,"children":3590},{"style":566},[3591],{"type":45,"value":648},{"type":40,"tag":532,"props":3593,"children":3594},{"class":534,"line":938},[3595,3600,3604,3608,3613,3617],{"type":40,"tag":532,"props":3596,"children":3597},{"style":1069},[3598],{"type":45,"value":3599},"    description",{"type":40,"tag":532,"props":3601,"children":3602},{"style":566},[3603],{"type":45,"value":630},{"type":40,"tag":532,"props":3605,"children":3606},{"style":566},[3607],{"type":45,"value":1276},{"type":40,"tag":532,"props":3609,"children":3610},{"style":545},[3611],{"type":45,"value":3612},"Web3 API Key",{"type":40,"tag":532,"props":3614,"children":3615},{"style":566},[3616],{"type":45,"value":3475},{"type":40,"tag":532,"props":3618,"children":3619},{"style":566},[3620],{"type":45,"value":648},{"type":40,"tag":532,"props":3622,"children":3623},{"class":534,"line":1019},[3624,3629,3633,3637,3641,3646],{"type":40,"tag":532,"props":3625,"children":3626},{"style":1069},[3627],{"type":45,"value":3628},"    address",{"type":40,"tag":532,"props":3630,"children":3631},{"style":566},[3632],{"type":45,"value":630},{"type":40,"tag":532,"props":3634,"children":3635},{"style":551},[3636],{"type":45,"value":3372},{"type":40,"tag":532,"props":3638,"children":3639},{"style":566},[3640],{"type":45,"value":155},{"type":40,"tag":532,"props":3642,"children":3643},{"style":551},[3644],{"type":45,"value":3645},"address",{"type":40,"tag":532,"props":3647,"children":3648},{"style":566},[3649],{"type":45,"value":648},{"type":40,"tag":532,"props":3651,"children":3652},{"class":534,"line":1138},[3653,3658],{"type":40,"tag":532,"props":3654,"children":3655},{"style":551},[3656],{"type":45,"value":3657},"    signature",{"type":40,"tag":532,"props":3659,"children":3660},{"style":566},[3661],{"type":45,"value":648},{"type":40,"tag":532,"props":3663,"children":3664},{"class":534,"line":27},[3665,3670],{"type":40,"tag":532,"props":3666,"children":3667},{"style":551},[3668],{"type":45,"value":3669},"    token",{"type":40,"tag":532,"props":3671,"children":3672},{"style":566},[3673],{"type":45,"value":648},{"type":40,"tag":532,"props":3675,"children":3676},{"class":534,"line":1155},[3677,3682,3686,3690,3695,3699,3703],{"type":40,"tag":532,"props":3678,"children":3679},{"style":1069},[3680],{"type":45,"value":3681},"    consumptionLimit",{"type":40,"tag":532,"props":3683,"children":3684},{"style":566},[3685],{"type":45,"value":630},{"type":40,"tag":532,"props":3687,"children":3688},{"style":566},[3689],{"type":45,"value":961},{"type":40,"tag":532,"props":3691,"children":3692},{"style":1069},[3693],{"type":45,"value":3694}," usd",{"type":40,"tag":532,"props":3696,"children":3697},{"style":566},[3698],{"type":45,"value":630},{"type":40,"tag":532,"props":3700,"children":3701},{"style":968},[3702],{"type":45,"value":984},{"type":40,"tag":532,"props":3704,"children":3705},{"style":566},[3706],{"type":45,"value":1016},{"type":40,"tag":532,"props":3708,"children":3709},{"class":534,"line":2694},[3710,3714,3718],{"type":40,"tag":532,"props":3711,"children":3712},{"style":566},[3713],{"type":45,"value":1320},{"type":40,"tag":532,"props":3715,"children":3716},{"style":551},[3717],{"type":45,"value":3246},{"type":40,"tag":532,"props":3719,"children":3720},{"style":566},[3721],{"type":45,"value":648},{"type":40,"tag":532,"props":3723,"children":3724},{"class":534,"line":2703},[3725,3729],{"type":40,"tag":532,"props":3726,"children":3727},{"style":566},[3728],{"type":45,"value":3192},{"type":40,"tag":532,"props":3730,"children":3731},{"style":551},[3732],{"type":45,"value":3347},{"type":40,"tag":532,"props":3734,"children":3735},{"class":534,"line":2711},[3736],{"type":40,"tag":532,"props":3737,"children":3738},{"emptyLinePlaceholder":3154},[3739],{"type":45,"value":3157},{"type":40,"tag":532,"props":3741,"children":3743},{"class":534,"line":3742},20,[3744,3748,3752,3757,3761,3765,3769,3774,3778,3782],{"type":40,"tag":532,"props":3745,"children":3746},{"style":617},[3747],{"type":45,"value":3165},{"type":40,"tag":532,"props":3749,"children":3750},{"style":566},[3751],{"type":45,"value":961},{"type":40,"tag":532,"props":3753,"children":3754},{"style":551},[3755],{"type":45,"value":3756}," data ",{"type":40,"tag":532,"props":3758,"children":3759},{"style":566},[3760],{"type":45,"value":3192},{"type":40,"tag":532,"props":3762,"children":3763},{"style":566},[3764],{"type":45,"value":3201},{"type":40,"tag":532,"props":3766,"children":3767},{"style":3114},[3768],{"type":45,"value":3206},{"type":40,"tag":532,"props":3770,"children":3771},{"style":551},[3772],{"type":45,"value":3773}," res",{"type":40,"tag":532,"props":3775,"children":3776},{"style":566},[3777],{"type":45,"value":155},{"type":40,"tag":532,"props":3779,"children":3780},{"style":3209},[3781],{"type":45,"value":594},{"type":40,"tag":532,"props":3783,"children":3784},{"style":551},[3785],{"type":45,"value":3786},"()\n",{"type":40,"tag":532,"props":3788,"children":3790},{"class":534,"line":3789},21,[3791,3796,3800,3805,3810,3814,3819],{"type":40,"tag":532,"props":3792,"children":3793},{"style":551},[3794],{"type":45,"value":3795},"console",{"type":40,"tag":532,"props":3797,"children":3798},{"style":566},[3799],{"type":45,"value":155},{"type":40,"tag":532,"props":3801,"children":3802},{"style":3209},[3803],{"type":45,"value":3804},"log",{"type":40,"tag":532,"props":3806,"children":3807},{"style":551},[3808],{"type":45,"value":3809},"(data",{"type":40,"tag":532,"props":3811,"children":3812},{"style":566},[3813],{"type":45,"value":155},{"type":40,"tag":532,"props":3815,"children":3816},{"style":551},[3817],{"type":45,"value":3818},"apiKey) ",{"type":40,"tag":532,"props":3820,"children":3822},{"style":3821},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[3823],{"type":45,"value":3824},"\u002F\u002F save this once\n",{"type":40,"tag":48,"props":3826,"children":3827},{},[3828,3830,3835],{"type":45,"value":3829},"The returned ",{"type":40,"tag":67,"props":3831,"children":3833},{"className":3832},[],[3834],{"type":45,"value":1343},{"type":45,"value":3836}," behaves exactly like a normal Bearer key.",{"type":40,"tag":316,"props":3838,"children":3840},{"id":3839},"recipes",[3841],{"type":45,"value":3842},"Recipes",{"type":40,"tag":1684,"props":3844,"children":3846},{"id":3845},"per-customer-keys-with-5-usd-limit",[3847],{"type":45,"value":3848},"Per-customer keys with $5 USD limit",{"type":40,"tag":521,"props":3850,"children":3852},{"className":3102,"code":3851,"language":3104,"meta":526,"style":526},"await fetch(`${base}\u002Fapi_keys`, {\n  method: 'POST',\n  headers: { Authorization: `Bearer ${ADMIN_KEY}`, 'Content-Type': 'application\u002Fjson' },\n  body: JSON.stringify({\n    apiKeyType: 'INFERENCE',\n    description: `cust:${customerId}`,\n    consumptionLimit: { usd: 5 },\n  }),\n})\n",[3853],{"type":40,"tag":67,"props":3854,"children":3855},{"__ignoreMap":526},[3856,3901,3928,4013,4044,4071,4108,4140,4155],{"type":40,"tag":532,"props":3857,"children":3858},{"class":534,"line":535},[3859,3864,3868,3872,3876,3880,3884,3889,3893,3897],{"type":40,"tag":532,"props":3860,"children":3861},{"style":3114},[3862],{"type":45,"value":3863},"await",{"type":40,"tag":532,"props":3865,"children":3866},{"style":3209},[3867],{"type":45,"value":3212},{"type":40,"tag":532,"props":3869,"children":3870},{"style":551},[3871],{"type":45,"value":3217},{"type":40,"tag":532,"props":3873,"children":3874},{"style":566},[3875],{"type":45,"value":3222},{"type":40,"tag":532,"props":3877,"children":3878},{"style":551},[3879],{"type":45,"value":3227},{"type":40,"tag":532,"props":3881,"children":3882},{"style":566},[3883],{"type":45,"value":3192},{"type":40,"tag":532,"props":3885,"children":3886},{"style":545},[3887],{"type":45,"value":3888},"\u002Fapi_keys",{"type":40,"tag":532,"props":3890,"children":3891},{"style":566},[3892],{"type":45,"value":3241},{"type":40,"tag":532,"props":3894,"children":3895},{"style":566},[3896],{"type":45,"value":989},{"type":40,"tag":532,"props":3898,"children":3899},{"style":566},[3900],{"type":45,"value":1408},{"type":40,"tag":532,"props":3902,"children":3903},{"class":534,"line":557},[3904,3908,3912,3916,3920,3924],{"type":40,"tag":532,"props":3905,"children":3906},{"style":1069},[3907],{"type":45,"value":3457},{"type":40,"tag":532,"props":3909,"children":3910},{"style":566},[3911],{"type":45,"value":630},{"type":40,"tag":532,"props":3913,"children":3914},{"style":566},[3915],{"type":45,"value":1276},{"type":40,"tag":532,"props":3917,"children":3918},{"style":545},[3919],{"type":45,"value":3470},{"type":40,"tag":532,"props":3921,"children":3922},{"style":566},[3923],{"type":45,"value":3475},{"type":40,"tag":532,"props":3925,"children":3926},{"style":566},[3927],{"type":45,"value":648},{"type":40,"tag":532,"props":3929,"children":3930},{"class":534,"line":651},[3931,3935,3939,3943,3948,3952,3957,3962,3967,3972,3977,3981,3985,3989,3993,3997,4001,4005,4009],{"type":40,"tag":532,"props":3932,"children":3933},{"style":1069},[3934],{"type":45,"value":3487},{"type":40,"tag":532,"props":3936,"children":3937},{"style":566},[3938],{"type":45,"value":630},{"type":40,"tag":532,"props":3940,"children":3941},{"style":566},[3942],{"type":45,"value":961},{"type":40,"tag":532,"props":3944,"children":3945},{"style":1069},[3946],{"type":45,"value":3947}," Authorization",{"type":40,"tag":532,"props":3949,"children":3950},{"style":566},[3951],{"type":45,"value":630},{"type":40,"tag":532,"props":3953,"children":3954},{"style":566},[3955],{"type":45,"value":3956}," `",{"type":40,"tag":532,"props":3958,"children":3959},{"style":545},[3960],{"type":45,"value":3961},"Bearer ",{"type":40,"tag":532,"props":3963,"children":3964},{"style":566},[3965],{"type":45,"value":3966},"${",{"type":40,"tag":532,"props":3968,"children":3969},{"style":551},[3970],{"type":45,"value":3971},"ADMIN_KEY",{"type":40,"tag":532,"props":3973,"children":3974},{"style":566},[3975],{"type":45,"value":3976},"}`",{"type":40,"tag":532,"props":3978,"children":3979},{"style":566},[3980],{"type":45,"value":989},{"type":40,"tag":532,"props":3982,"children":3983},{"style":566},[3984],{"type":45,"value":1276},{"type":40,"tag":532,"props":3986,"children":3987},{"style":1069},[3988],{"type":45,"value":3504},{"type":40,"tag":532,"props":3990,"children":3991},{"style":566},[3992],{"type":45,"value":3475},{"type":40,"tag":532,"props":3994,"children":3995},{"style":566},[3996],{"type":45,"value":630},{"type":40,"tag":532,"props":3998,"children":3999},{"style":566},[4000],{"type":45,"value":1276},{"type":40,"tag":532,"props":4002,"children":4003},{"style":545},[4004],{"type":45,"value":3521},{"type":40,"tag":532,"props":4006,"children":4007},{"style":566},[4008],{"type":45,"value":3475},{"type":40,"tag":532,"props":4010,"children":4011},{"style":566},[4012],{"type":45,"value":1016},{"type":40,"tag":532,"props":4014,"children":4015},{"class":534,"line":677},[4016,4020,4024,4028,4032,4036,4040],{"type":40,"tag":532,"props":4017,"children":4018},{"style":1069},[4019],{"type":45,"value":3537},{"type":40,"tag":532,"props":4021,"children":4022},{"style":566},[4023],{"type":45,"value":630},{"type":40,"tag":532,"props":4025,"children":4026},{"style":551},[4027],{"type":45,"value":3546},{"type":40,"tag":532,"props":4029,"children":4030},{"style":566},[4031],{"type":45,"value":155},{"type":40,"tag":532,"props":4033,"children":4034},{"style":3209},[4035],{"type":45,"value":3555},{"type":40,"tag":532,"props":4037,"children":4038},{"style":551},[4039],{"type":45,"value":3217},{"type":40,"tag":532,"props":4041,"children":4042},{"style":566},[4043],{"type":45,"value":606},{"type":40,"tag":532,"props":4045,"children":4046},{"class":534,"line":686},[4047,4051,4055,4059,4063,4067],{"type":40,"tag":532,"props":4048,"children":4049},{"style":1069},[4050],{"type":45,"value":3571},{"type":40,"tag":532,"props":4052,"children":4053},{"style":566},[4054],{"type":45,"value":630},{"type":40,"tag":532,"props":4056,"children":4057},{"style":566},[4058],{"type":45,"value":1276},{"type":40,"tag":532,"props":4060,"children":4061},{"style":545},[4062],{"type":45,"value":355},{"type":40,"tag":532,"props":4064,"children":4065},{"style":566},[4066],{"type":45,"value":3475},{"type":40,"tag":532,"props":4068,"children":4069},{"style":566},[4070],{"type":45,"value":648},{"type":40,"tag":532,"props":4072,"children":4073},{"class":534,"line":725},[4074,4078,4082,4086,4091,4095,4100,4104],{"type":40,"tag":532,"props":4075,"children":4076},{"style":1069},[4077],{"type":45,"value":3599},{"type":40,"tag":532,"props":4079,"children":4080},{"style":566},[4081],{"type":45,"value":630},{"type":40,"tag":532,"props":4083,"children":4084},{"style":566},[4085],{"type":45,"value":3956},{"type":40,"tag":532,"props":4087,"children":4088},{"style":545},[4089],{"type":45,"value":4090},"cust:",{"type":40,"tag":532,"props":4092,"children":4093},{"style":566},[4094],{"type":45,"value":3966},{"type":40,"tag":532,"props":4096,"children":4097},{"style":551},[4098],{"type":45,"value":4099},"customerId",{"type":40,"tag":532,"props":4101,"children":4102},{"style":566},[4103],{"type":45,"value":3976},{"type":40,"tag":532,"props":4105,"children":4106},{"style":566},[4107],{"type":45,"value":648},{"type":40,"tag":532,"props":4109,"children":4110},{"class":534,"line":762},[4111,4115,4119,4123,4127,4131,4136],{"type":40,"tag":532,"props":4112,"children":4113},{"style":1069},[4114],{"type":45,"value":3681},{"type":40,"tag":532,"props":4116,"children":4117},{"style":566},[4118],{"type":45,"value":630},{"type":40,"tag":532,"props":4120,"children":4121},{"style":566},[4122],{"type":45,"value":961},{"type":40,"tag":532,"props":4124,"children":4125},{"style":1069},[4126],{"type":45,"value":3694},{"type":40,"tag":532,"props":4128,"children":4129},{"style":566},[4130],{"type":45,"value":630},{"type":40,"tag":532,"props":4132,"children":4133},{"style":968},[4134],{"type":45,"value":4135}," 5",{"type":40,"tag":532,"props":4137,"children":4138},{"style":566},[4139],{"type":45,"value":1016},{"type":40,"tag":532,"props":4141,"children":4142},{"class":534,"line":799},[4143,4147,4151],{"type":40,"tag":532,"props":4144,"children":4145},{"style":566},[4146],{"type":45,"value":1320},{"type":40,"tag":532,"props":4148,"children":4149},{"style":551},[4150],{"type":45,"value":3246},{"type":40,"tag":532,"props":4152,"children":4153},{"style":566},[4154],{"type":45,"value":648},{"type":40,"tag":532,"props":4156,"children":4157},{"class":534,"line":837},[4158,4162],{"type":40,"tag":532,"props":4159,"children":4160},{"style":566},[4161],{"type":45,"value":3192},{"type":40,"tag":532,"props":4163,"children":4164},{"style":551},[4165],{"type":45,"value":3347},{"type":40,"tag":48,"props":4167,"children":4168},{},[4169],{"type":45,"value":4170},"Rotate monthly; revoke on churn.",{"type":40,"tag":1684,"props":4172,"children":4174},{"id":4173},"health-check-for-a-key",[4175],{"type":45,"value":4176},"Health-check for a key",{"type":40,"tag":521,"props":4178,"children":4180},{"className":3102,"code":4179,"language":3104,"meta":526,"style":526},"const { data } = await fetch(`${base}\u002Fapi_keys\u002Frate_limits`, {\n  headers: { Authorization: `Bearer ${key}` },\n}).then(r => r.json())\n\nif (!data.accessPermitted) alert('Key blocked — top up or change tier')\n",[4181],{"type":40,"tag":67,"props":4182,"children":4183},{"__ignoreMap":526},[4184,4248,4296,4343,4350],{"type":40,"tag":532,"props":4185,"children":4186},{"class":534,"line":535},[4187,4191,4195,4199,4203,4207,4211,4215,4219,4223,4227,4231,4236,4240,4244],{"type":40,"tag":532,"props":4188,"children":4189},{"style":617},[4190],{"type":45,"value":3165},{"type":40,"tag":532,"props":4192,"children":4193},{"style":566},[4194],{"type":45,"value":961},{"type":40,"tag":532,"props":4196,"children":4197},{"style":551},[4198],{"type":45,"value":3756},{"type":40,"tag":532,"props":4200,"children":4201},{"style":566},[4202],{"type":45,"value":3192},{"type":40,"tag":532,"props":4204,"children":4205},{"style":566},[4206],{"type":45,"value":3201},{"type":40,"tag":532,"props":4208,"children":4209},{"style":3114},[4210],{"type":45,"value":3206},{"type":40,"tag":532,"props":4212,"children":4213},{"style":3209},[4214],{"type":45,"value":3212},{"type":40,"tag":532,"props":4216,"children":4217},{"style":551},[4218],{"type":45,"value":3217},{"type":40,"tag":532,"props":4220,"children":4221},{"style":566},[4222],{"type":45,"value":3222},{"type":40,"tag":532,"props":4224,"children":4225},{"style":551},[4226],{"type":45,"value":3227},{"type":40,"tag":532,"props":4228,"children":4229},{"style":566},[4230],{"type":45,"value":3192},{"type":40,"tag":532,"props":4232,"children":4233},{"style":545},[4234],{"type":45,"value":4235},"\u002Fapi_keys\u002Frate_limits",{"type":40,"tag":532,"props":4237,"children":4238},{"style":566},[4239],{"type":45,"value":3241},{"type":40,"tag":532,"props":4241,"children":4242},{"style":566},[4243],{"type":45,"value":989},{"type":40,"tag":532,"props":4245,"children":4246},{"style":566},[4247],{"type":45,"value":1408},{"type":40,"tag":532,"props":4249,"children":4250},{"class":534,"line":557},[4251,4255,4259,4263,4267,4271,4275,4279,4283,4288,4292],{"type":40,"tag":532,"props":4252,"children":4253},{"style":1069},[4254],{"type":45,"value":3487},{"type":40,"tag":532,"props":4256,"children":4257},{"style":566},[4258],{"type":45,"value":630},{"type":40,"tag":532,"props":4260,"children":4261},{"style":566},[4262],{"type":45,"value":961},{"type":40,"tag":532,"props":4264,"children":4265},{"style":1069},[4266],{"type":45,"value":3947},{"type":40,"tag":532,"props":4268,"children":4269},{"style":566},[4270],{"type":45,"value":630},{"type":40,"tag":532,"props":4272,"children":4273},{"style":566},[4274],{"type":45,"value":3956},{"type":40,"tag":532,"props":4276,"children":4277},{"style":545},[4278],{"type":45,"value":3961},{"type":40,"tag":532,"props":4280,"children":4281},{"style":566},[4282],{"type":45,"value":3966},{"type":40,"tag":532,"props":4284,"children":4285},{"style":551},[4286],{"type":45,"value":4287},"key",{"type":40,"tag":532,"props":4289,"children":4290},{"style":566},[4291],{"type":45,"value":3976},{"type":40,"tag":532,"props":4293,"children":4294},{"style":566},[4295],{"type":45,"value":1016},{"type":40,"tag":532,"props":4297,"children":4298},{"class":534,"line":651},[4299,4303,4307,4311,4315,4319,4323,4327,4331,4335,4339],{"type":40,"tag":532,"props":4300,"children":4301},{"style":566},[4302],{"type":45,"value":3192},{"type":40,"tag":532,"props":4304,"children":4305},{"style":551},[4306],{"type":45,"value":3246},{"type":40,"tag":532,"props":4308,"children":4309},{"style":566},[4310],{"type":45,"value":155},{"type":40,"tag":532,"props":4312,"children":4313},{"style":3209},[4314],{"type":45,"value":3255},{"type":40,"tag":532,"props":4316,"children":4317},{"style":551},[4318],{"type":45,"value":3217},{"type":40,"tag":532,"props":4320,"children":4321},{"style":3262},[4322],{"type":45,"value":3265},{"type":40,"tag":532,"props":4324,"children":4325},{"style":617},[4326],{"type":45,"value":3270},{"type":40,"tag":532,"props":4328,"children":4329},{"style":551},[4330],{"type":45,"value":3275},{"type":40,"tag":532,"props":4332,"children":4333},{"style":566},[4334],{"type":45,"value":155},{"type":40,"tag":532,"props":4336,"children":4337},{"style":3209},[4338],{"type":45,"value":594},{"type":40,"tag":532,"props":4340,"children":4341},{"style":551},[4342],{"type":45,"value":3288},{"type":40,"tag":532,"props":4344,"children":4345},{"class":534,"line":677},[4346],{"type":40,"tag":532,"props":4347,"children":4348},{"emptyLinePlaceholder":3154},[4349],{"type":45,"value":3157},{"type":40,"tag":532,"props":4351,"children":4352},{"class":534,"line":686},[4353,4358,4363,4367,4371,4375,4380,4385,4389,4393,4398,4402],{"type":40,"tag":532,"props":4354,"children":4355},{"style":3114},[4356],{"type":45,"value":4357},"if",{"type":40,"tag":532,"props":4359,"children":4360},{"style":551},[4361],{"type":45,"value":4362}," (",{"type":40,"tag":532,"props":4364,"children":4365},{"style":566},[4366],{"type":45,"value":3342},{"type":40,"tag":532,"props":4368,"children":4369},{"style":551},[4370],{"type":45,"value":661},{"type":40,"tag":532,"props":4372,"children":4373},{"style":566},[4374],{"type":45,"value":155},{"type":40,"tag":532,"props":4376,"children":4377},{"style":551},[4378],{"type":45,"value":4379},"accessPermitted) ",{"type":40,"tag":532,"props":4381,"children":4382},{"style":3209},[4383],{"type":45,"value":4384},"alert",{"type":40,"tag":532,"props":4386,"children":4387},{"style":551},[4388],{"type":45,"value":3217},{"type":40,"tag":532,"props":4390,"children":4391},{"style":566},[4392],{"type":45,"value":3475},{"type":40,"tag":532,"props":4394,"children":4395},{"style":545},[4396],{"type":45,"value":4397},"Key blocked — top up or change tier",{"type":40,"tag":532,"props":4399,"children":4400},{"style":566},[4401],{"type":45,"value":3475},{"type":40,"tag":532,"props":4403,"children":4404},{"style":551},[4405],{"type":45,"value":3347},{"type":40,"tag":316,"props":4407,"children":4409},{"id":4408},"errors",[4410],{"type":45,"value":4411},"Errors",{"type":40,"tag":88,"props":4413,"children":4414},{},[4415,4431],{"type":40,"tag":92,"props":4416,"children":4417},{},[4418],{"type":40,"tag":96,"props":4419,"children":4420},{},[4421,4426],{"type":40,"tag":100,"props":4422,"children":4423},{},[4424],{"type":45,"value":4425},"Code",{"type":40,"tag":100,"props":4427,"children":4428},{},[4429],{"type":45,"value":4430},"Meaning",{"type":40,"tag":111,"props":4432,"children":4433},{},[4434,4465,4481,4498],{"type":40,"tag":96,"props":4435,"children":4436},{},[4437,4446],{"type":40,"tag":118,"props":4438,"children":4439},{},[4440],{"type":40,"tag":67,"props":4441,"children":4443},{"className":4442},[],[4444],{"type":45,"value":4445},"400",{"type":40,"tag":118,"props":4447,"children":4448},{},[4449,4451,4456,4458,4463],{"type":45,"value":4450},"Bad body (e.g. missing ",{"type":40,"tag":67,"props":4452,"children":4454},{"className":4453},[],[4455],{"type":45,"value":735},{"type":45,"value":4457},", malformed ",{"type":40,"tag":67,"props":4459,"children":4461},{"className":4460},[],[4462],{"type":45,"value":186},{"type":45,"value":4464},"), or attempting to create when you already have 500 active keys.",{"type":40,"tag":96,"props":4466,"children":4467},{},[4468,4476],{"type":40,"tag":118,"props":4469,"children":4470},{},[4471],{"type":40,"tag":67,"props":4472,"children":4474},{"className":4473},[],[4475],{"type":45,"value":437},{"type":40,"tag":118,"props":4477,"children":4478},{},[4479],{"type":45,"value":4480},"Missing \u002F bad \u002F non-admin key for admin-only routes.",{"type":40,"tag":96,"props":4482,"children":4483},{},[4484,4493],{"type":40,"tag":118,"props":4485,"children":4486},{},[4487],{"type":40,"tag":67,"props":4488,"children":4490},{"className":4489},[],[4491],{"type":45,"value":4492},"429",{"type":40,"tag":118,"props":4494,"children":4495},{},[4496],{"type":45,"value":4497},"Exceeded 20 creates\u002Fmin.",{"type":40,"tag":96,"props":4499,"children":4500},{},[4501,4510],{"type":40,"tag":118,"props":4502,"children":4503},{},[4504],{"type":40,"tag":67,"props":4505,"children":4507},{"className":4506},[],[4508],{"type":45,"value":4509},"500",{"type":40,"tag":118,"props":4511,"children":4512},{},[4513],{"type":45,"value":4514},"Transient; retry.",{"type":40,"tag":316,"props":4516,"children":4518},{"id":4517},"gotchas",[4519],{"type":45,"value":4520},"Gotchas",{"type":40,"tag":1691,"props":4522,"children":4523},{},[4524,4543,4560,4629,4646,4671,4676],{"type":40,"tag":1695,"props":4525,"children":4526},{},[4527,4529,4534,4536,4541],{"type":45,"value":4528},"The secret is returned ",{"type":40,"tag":54,"props":4530,"children":4531},{},[4532],{"type":45,"value":4533},"exactly once",{"type":45,"value":4535},", in the ",{"type":40,"tag":67,"props":4537,"children":4539},{"className":4538},[],[4540],{"type":45,"value":3470},{"type":45,"value":4542}," response. Losing it = delete + recreate.",{"type":40,"tag":1695,"props":4544,"children":4545},{},[4546,4551,4553,4558],{"type":40,"tag":67,"props":4547,"children":4549},{"className":4548},[],[4550],{"type":45,"value":193},{"type":45,"value":4552}," is per ",{"type":40,"tag":54,"props":4554,"children":4555},{},[4556],{"type":45,"value":4557},"epoch",{"type":45,"value":4559}," (day \u002F reset cycle), not per call.",{"type":40,"tag":1695,"props":4561,"children":4562},{},[4563,4568,4570,4575,4576,4581,4582,4587,4588,4593,4594,4599,4601,4606,4608,4613,4614,4620,4622,4627],{"type":40,"tag":67,"props":4564,"children":4566},{"className":4565},[],[4567],{"type":45,"value":355},{"type":45,"value":4569}," keys can't call admin-only routes (",{"type":40,"tag":67,"props":4571,"children":4573},{"className":4572},[],[4574],{"type":45,"value":467},{"type":45,"value":180},{"type":40,"tag":67,"props":4577,"children":4579},{"className":4578},[],[4580],{"type":45,"value":126},{"type":45,"value":180},{"type":40,"tag":67,"props":4583,"children":4585},{"className":4584},[],[4586],{"type":45,"value":223},{"type":45,"value":180},{"type":40,"tag":67,"props":4589,"children":4591},{"className":4590},[],[4592],{"type":45,"value":487},{"type":45,"value":180},{"type":40,"tag":67,"props":4595,"children":4597},{"className":4596},[],[4598],{"type":45,"value":494},{"type":45,"value":4600},"). They ",{"type":40,"tag":54,"props":4602,"children":4603},{},[4604],{"type":45,"value":4605},"can",{"type":45,"value":4607}," call ",{"type":40,"tag":67,"props":4609,"children":4611},{"className":4610},[],[4612],{"type":45,"value":240},{"type":45,"value":308},{"type":40,"tag":67,"props":4615,"children":4617},{"className":4616},[],[4618],{"type":45,"value":4619},"\u002Fapi_keys\u002Frate_limits\u002Flog",{"type":45,"value":4621}," for themselves. Use a separate ",{"type":40,"tag":67,"props":4623,"children":4625},{"className":4624},[],[4626],{"type":45,"value":58},{"type":45,"value":4628}," key for management.",{"type":40,"tag":1695,"props":4630,"children":4631},{},[4632,4638,4640,4645],{"type":40,"tag":67,"props":4633,"children":4635},{"className":4634},[],[4636],{"type":45,"value":4637},"vcu",{"type":45,"value":4639}," is legacy — use ",{"type":40,"tag":67,"props":4641,"children":4643},{"className":4642},[],[4644],{"type":45,"value":998},{"type":45,"value":155},{"type":40,"tag":1695,"props":4647,"children":4648},{},[4649,4654,4656,4662,4664,4669],{"type":40,"tag":67,"props":4650,"children":4652},{"className":4651},[],[4653],{"type":45,"value":186},{"type":45,"value":4655}," of empty string ",{"type":40,"tag":67,"props":4657,"children":4659},{"className":4658},[],[4660],{"type":45,"value":4661},"\"\"",{"type":45,"value":4663}," means \"no expiration\" in CREATE; on UPDATE it ",{"type":40,"tag":54,"props":4665,"children":4666},{},[4667],{"type":45,"value":4668},"removes",{"type":45,"value":4670}," an existing one.",{"type":40,"tag":1695,"props":4672,"children":4673},{},[4674],{"type":45,"value":4675},"Rate-limit log is capped at 50 entries — pull it frequently if debugging bursts.",{"type":40,"tag":1695,"props":4677,"children":4678},{},[4679,4681,4686],{"type":45,"value":4680},"The Web3 key flow requires wallet holdings of ",{"type":40,"tag":54,"props":4682,"children":4683},{},[4684],{"type":45,"value":4685},"sVVV",{"type":45,"value":4687},"; otherwise the signing step is rejected.",{"type":40,"tag":4689,"props":4690,"children":4691},"style",{},[4692],{"type":45,"value":4693},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4695,"total":3742},[4696,4702,4713,4726,4740,4755,4772,4784,4800,4816,4829,4843],{"slug":4,"name":4,"fn":5,"description":6,"org":4697,"tags":4698,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4699,4700,4701],{"name":21,"slug":22,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"slug":4703,"name":4703,"fn":4704,"description":4705,"org":4706,"tags":4707,"stars":23,"repoUrl":24,"updatedAt":4712},"venice-api-overview","integrate with Venice AI API","High-level map of the Venice.ai API - base URL, authentication modes, endpoint categories, response headers, pricing model, error shape, and versioning. Load this first when starting any Venice integration.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4708,4709],{"name":21,"slug":22,"type":16},{"name":4710,"slug":4711,"type":16},"Documentation","documentation","2026-08-01T05:43:18.703041",{"slug":4714,"name":4714,"fn":4715,"description":4716,"org":4717,"tags":4718,"stars":23,"repoUrl":24,"updatedAt":4725},"venice-audio-music","generate music and audio tracks","Async music \u002F audio-track generation via Venice. Covers the \u002Faudio\u002Fquote + \u002Faudio\u002Fqueue + \u002Faudio\u002Fretrieve + \u002Faudio\u002Fcomplete lifecycle, lyrics vs instrumental, voice selection, duration, language, speed, model capability probing, and webhook-free polling.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4719,4722],{"name":4720,"slug":4721,"type":16},"Audio","audio",{"name":4723,"slug":4724,"type":16},"Creative","creative","2026-07-17T06:04:02.174106",{"slug":4727,"name":4727,"fn":4728,"description":4729,"org":4730,"tags":4731,"stars":23,"repoUrl":24,"updatedAt":4739},"venice-audio-speech","generate speech from text","Generate speech from text via POST \u002Faudio\u002Fspeech, and clone a voice via POST \u002Faudio\u002Fvoices. Covers TTS models (Kokoro, Qwen 3, xAI, Inworld, Chatterbox, Orpheus, ElevenLabs Turbo, MiniMax, Gemini Flash, Gradium), voices per family, cloned-voice handles, output formats (mp3\u002Fopus\u002Faac\u002Fflac\u002Fwav\u002Fpcm), streaming, prompt\u002Femotion styling, temperature\u002Ftop_p, and language hints.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4732,4733,4736],{"name":4720,"slug":4721,"type":16},{"name":4734,"slug":4735,"type":16},"Speech","speech",{"name":4737,"slug":4738,"type":16},"Text-to-Speech","text-to-speech","2026-08-01T05:43:12.713524",{"slug":4741,"name":4741,"fn":4742,"description":4743,"org":4744,"tags":4745,"stars":23,"repoUrl":24,"updatedAt":4754},"venice-audio-transcription","transcribe audio files to text","Transcribe audio files to text via POST \u002Faudio\u002Ftranscriptions. Covers supported models (Parakeet, Whisper, Wizper, Scribe, xAI STT), supported formats (wav\u002Fflac\u002Fm4a\u002Faac\u002Fmp4\u002Fmp3\u002Fogg\u002Fwebm), response formats (json\u002Ftext), timestamps, and language hints. OpenAI-compatible multipart.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4746,4747,4750,4751],{"name":4720,"slug":4721,"type":16},{"name":4748,"slug":4749,"type":16},"Data Extraction","data-extraction",{"name":4734,"slug":4735,"type":16},{"name":4752,"slug":4753,"type":16},"Transcription","transcription","2026-07-17T06:04:05.524355",{"slug":4756,"name":4756,"fn":4757,"description":4758,"org":4759,"tags":4760,"stars":23,"repoUrl":24,"updatedAt":4771},"venice-augment","extract and parse text from documents","Venice augmentation endpoints for agent pipelines. Covers POST \u002Faugment\u002Ftext-parser (extract text from PDF\u002FDOCX\u002FXLSX\u002Fplain text, multipart, up to 25MB, JSON or plain text response), POST \u002Faugment\u002Fscrape (fetch a URL and return markdown; blocks X\u002FReddit), and POST \u002Faugment\u002Fsearch (Brave ZDR or anonymized Google; structured title\u002Furl\u002Fcontent\u002Fdate results, up to 20 per query). Privacy (zero data retention), rate limits, and error shapes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4761,4762,4765,4768],{"name":4748,"slug":4749,"type":16},{"name":4763,"slug":4764,"type":16},"DOCX","docx",{"name":4766,"slug":4767,"type":16},"PDF","pdf",{"name":4769,"slug":4770,"type":16},"Spreadsheets","spreadsheets","2026-07-17T06:04:00.77979",{"slug":72,"name":72,"fn":4773,"description":4774,"org":4775,"tags":4776,"stars":23,"repoUrl":24,"updatedAt":4783},"authenticate to Venice API","Authenticate to the Venice API with a Bearer API key or with an x402 \u002F SIWX wallet (EVM on Base or Ed25519 on Solana). Covers the SIGN-IN-WITH-X header format, the SIWE and Solana message fields, TTL and nonce rules, the venice-x402-client SDK, and how to choose between the two modes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4777,4778,4781],{"name":21,"slug":22,"type":16},{"name":4779,"slug":4780,"type":16},"Auth","auth",{"name":4782,"slug":4782,"type":16},"x402","2026-08-01T05:43:14.726965",{"slug":4785,"name":4785,"fn":4786,"description":4787,"org":4788,"tags":4789,"stars":23,"repoUrl":24,"updatedAt":4799},"venice-billing","manage Venice billing and usage analytics","Venice billing and usage analytics - GET \u002Fbilling\u002Fbalance, GET \u002Fbilling\u002Fusage-history (keyset-paginated per-request ledger, JSON or CSV), GET \u002Fbilling\u002Fusage (deprecated predecessor), and GET \u002Fbilling\u002Fusage-analytics (aggregated by date\u002Fmodel\u002Fkey). Covers the DIEM\u002FUSD\u002FBUNDLED_CREDITS consumption priority and building dashboards. (Beta)",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4790,4793,4796],{"name":4791,"slug":4792,"type":16},"Analytics","analytics",{"name":4794,"slug":4795,"type":16},"Finance","finance",{"name":4797,"slug":4798,"type":16},"Reporting","reporting","2026-08-01T05:43:13.766419",{"slug":4801,"name":4801,"fn":4802,"description":4803,"org":4804,"tags":4805,"stars":23,"repoUrl":24,"updatedAt":4815},"venice-characters","discover and use Venice AI characters","Discover and use Venice public characters (persona-driven system prompts with a bound model). Covers GET \u002Fcharacters (search\u002Ffilter\u002Fsort), \u002Fcharacters\u002F{slug}, \u002Fcharacters\u002F{slug}\u002Freviews, the Character schema, and how to apply a character via venice_parameters.character_slug in chat completions.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4806,4809,4812],{"name":4807,"slug":4808,"type":16},"Agents","agents",{"name":4810,"slug":4811,"type":16},"LLM","llm",{"name":4813,"slug":4814,"type":16},"Persona","persona","2026-07-17T06:05:40.942733",{"slug":4817,"name":4817,"fn":4818,"description":4819,"org":4820,"tags":4821,"stars":23,"repoUrl":24,"updatedAt":4828},"venice-chat","interact with Venice chat completions API","Call POST \u002Fchat\u002Fcompletions on Venice. Covers the OpenAI-compatible request shape, Venice-only venice_parameters (web search, E2EE, characters, thinking control, X search), multimodal inputs (images\u002Faudio\u002Fvideo), tool calls, reasoning controls, streaming, prompt caching, structured output, and model feature suffixes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4822,4823,4824,4825],{"name":4807,"slug":4808,"type":16},{"name":21,"slug":22,"type":16},{"name":4810,"slug":4811,"type":16},{"name":4826,"slug":4827,"type":16},"Multimodal","multimodal","2026-08-01T05:43:15.821764",{"slug":4830,"name":4830,"fn":4831,"description":4832,"org":4833,"tags":4834,"stars":23,"repoUrl":24,"updatedAt":4842},"venice-crypto-rpc","proxy crypto JSON-RPC calls via Venice","Use Venice as a pay-per-call JSON-RPC proxy to 27 EVM, Starknet, and Solana networks. Covers GET \u002Fcrypto\u002Frpc\u002Fnetworks, POST \u002Fcrypto\u002Frpc\u002F{network}, chain families and per-family method allowlists, the 1×\u002F2×\u002F4× method-tier pricing model, per-minute + 24-hour credit rate limits, idempotency keys for safe retries, single vs batch requests, and the unsupported stateful\u002FWebSocket methods (eth_subscribe, eth_newFilter, *Subscribe, etc.).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4835,4836,4839],{"name":21,"slug":22,"type":16},{"name":4837,"slug":4838,"type":16},"Ethereum","ethereum",{"name":4840,"slug":4841,"type":16},"Web3","web3","2026-08-01T05:43:22.78028",{"slug":4844,"name":4844,"fn":4845,"description":4846,"org":4847,"tags":4848,"stars":23,"repoUrl":24,"updatedAt":4853},"venice-embeddings","generate embeddings with Venice API","Call POST \u002Fembeddings on Venice. Covers request shape (input, model, encoding_format, dimensions, user), OpenAI compatibility, response compression (gzip\u002Fbr), and practical usage for retrieval, clustering, and RAG.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4849,4852],{"name":4850,"slug":4851,"type":16},"Data Analysis","data-analysis",{"name":4810,"slug":4811,"type":16},"2026-07-17T06:07:34.97752",{"items":4855,"total":3742},[4856,4862,4867,4872,4878,4885,4892],{"slug":4,"name":4,"fn":5,"description":6,"org":4857,"tags":4858,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4859,4860,4861],{"name":21,"slug":22,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"slug":4703,"name":4703,"fn":4704,"description":4705,"org":4863,"tags":4864,"stars":23,"repoUrl":24,"updatedAt":4712},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4865,4866],{"name":21,"slug":22,"type":16},{"name":4710,"slug":4711,"type":16},{"slug":4714,"name":4714,"fn":4715,"description":4716,"org":4868,"tags":4869,"stars":23,"repoUrl":24,"updatedAt":4725},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4870,4871],{"name":4720,"slug":4721,"type":16},{"name":4723,"slug":4724,"type":16},{"slug":4727,"name":4727,"fn":4728,"description":4729,"org":4873,"tags":4874,"stars":23,"repoUrl":24,"updatedAt":4739},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4875,4876,4877],{"name":4720,"slug":4721,"type":16},{"name":4734,"slug":4735,"type":16},{"name":4737,"slug":4738,"type":16},{"slug":4741,"name":4741,"fn":4742,"description":4743,"org":4879,"tags":4880,"stars":23,"repoUrl":24,"updatedAt":4754},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4881,4882,4883,4884],{"name":4720,"slug":4721,"type":16},{"name":4748,"slug":4749,"type":16},{"name":4734,"slug":4735,"type":16},{"name":4752,"slug":4753,"type":16},{"slug":4756,"name":4756,"fn":4757,"description":4758,"org":4886,"tags":4887,"stars":23,"repoUrl":24,"updatedAt":4771},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4888,4889,4890,4891],{"name":4748,"slug":4749,"type":16},{"name":4763,"slug":4764,"type":16},{"name":4766,"slug":4767,"type":16},{"name":4769,"slug":4770,"type":16},{"slug":72,"name":72,"fn":4773,"description":4774,"org":4893,"tags":4894,"stars":23,"repoUrl":24,"updatedAt":4783},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[4895,4896,4897],{"name":21,"slug":22,"type":16},{"name":4779,"slug":4780,"type":16},{"name":4782,"slug":4782,"type":16}]