> ## Documentation Index
> Fetch the complete documentation index at: https://docs.weflayr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API keys

> The keys your services use to call the gateway and the Weflayr API.

Keys belong to the active project. Create one from **API keys** in the sidebar: it is shown once, so store it right away.

<Frame>
  <video src="https://mintcdn.com/weflayr/jf99vD0W4dsGuj5S/images/product/api-keys.mp4?fit=max&auto=format&n=jf99vD0W4dsGuj5S&q=85&s=b7a4eeb74e0cb282fd2e1297a38d1377" poster="/images/product/api-keys-poster.jpg" aria-label="API keys page, then the Create key window with name, scope and expiry" controls loop muted playsInline preload="metadata" className="w-full rounded-xl" data-path="images/product/api-keys.mp4" />
</Frame>

## Scopes

* **Gateway**: calls models through the [gateway](/api/gateway/responses). Each call is paid from your [credits](/product/credits).
* **Management**: everything else: the [management API](/api/management/get-costs), the [MCP server](/api/management/mcp-server), and the [SDK](/sdks/python) when it records calls.

A key can have both. Pick an expiry (up to a year, or never), and revoke a key from its menu: services using it stop working at once.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.