Deepinfra
Day 47 after signup
Scoped API keys: a change coming on 2 December
From 2 December, new API keys need an explicit scope list. Here’s what changes.
Why it works
- Lead with what has launched, then separate the upcoming requirement into its own dated section so readers can quickly understand what changes and when.
- Explain the practical impact with specific instructions for both new and existing keys, and link to the relevant documentation at each step.
How it is built
- Announcement introduction
- Scope feature overview
- Dated requirements change
- Existing key instructions
Email copy
November 2026 DeepInfra has rolled out scoped API keys! Below: what scopes do, a change to key creation coming on 2 December, and how to limit the keys you already have. API key scopes Scoped API keys are live. Since 3 November, you can specify scopes when you create an API key. Scopes limit the actions that key can successfully perform. Every existing scope is described in our documentation. In the API reference, each endpoint that accepts API key authentication is annotated with the scope it needs. Scoped JWTs created from an API key are limited to the scopes of the key that created them. See all scopes → Example endpoint in the API reference → Change on 2 December Key creation will require a scope list. In the first days after the rollout, requests to create an API key with no scopes specified were accepted, and those keys were made unrestricted. An unrestricted key has every non-sensitive scope, including scopes we add later. In two weeks, on 2 December, API key creation requests that don’t specify scopes will be rejected. If you still need unrestricted behavior, send an explicit scope list of ["unrestricted"]. unrestricted has to be the only value in the list, or the request fails with a 422. These calls are already supported today, so you can update your integration now. More on unrestricted keys → Existing keys You can edit a key’s scopes. A key’s scopes are editable. Keys created before scopes existed are unrestricted. To limit one, open it in API key management in the DeepInfra dashboard, switch it to Scoped, and pick the scopes it needs. Kind regards, — The DeepInfra team Models · Docs · Pricing · · You are receiving this because you signed up at deepinfra.com. Deep Infra Inc · 2625 Middlefield Rd PMB 460 · Palo Alto, CA 94306-2516 · USA Unsubscribe · Update preferences