Skip to content

Authentication

Every endpoint lives under a single base URL:

https://api.resetdata.ai/api/v1

So chat completions is POST https://api.resetdata.ai/api/v1/chat/completions, and model detail is GET https://api.resetdata.ai/api/v1/models/detail?slug=<model-slug>.

Requests authenticate with a bearer API key scoped to a single workspace.

Terminal window
Authorization: Bearer $RESETDATA_API_KEY

Keys begin with sk-rd-. Anything presented with that prefix is treated as an API key; other bearer tokens are treated as app session tokens.

Keys are managed from API keys in the ResetData app. Creating one requires the api_keys:manage permission — owners, admins and members have it; viewers do not.

When you create a key you can set:

Option Notes
Name Required, and unique within the workspace.
Expiry Optional. Leave empty for a key that never expires.
IP allowlist Optional. Individual IPs or CIDR ranges; enforced on every request.
  • Each key is scoped to one workspace. Usage and spend are billed to that workspace’s wallet.
  • A key may optionally be narrowed to a single project.
  • API keys work only on the inference endpoints (/chat/completions, /embeddings, /rerank, /images/generations, /audio/* and the model listing). Account, billing and workspace management endpoints require an app session, not an API key.

There is no in-place rotation. To roll a key, create the replacement, deploy it, then delete the old one — in that order, so you are never without a valid key.

Deleting a key takes effect within about a minute, as validation results are cached briefly. Note also that removing a member from a workspace immediately deactivates every API key that member created — worth knowing before offboarding someone whose key is running in production.

Last used on the key list can lag by up to around 30 seconds, so treat a fresh “Never” on a just-deployed key as inconclusive.

  • Set keys through environment variables or a secret manager; never commit them.
  • Use the IP allowlist for server-side workloads with stable egress addresses.
  • Set an expiry on keys issued for trials, contractors or one-off migrations.
  • Prefer one key per application, so revoking one doesn’t take down everything.