Skip to content

🌐 เอกสารภาษาไทยกำลังจัดทำ — เนื้อหาด้านล่างเป็นภาษาอังกฤษชั่วคราว จนกว่าจะมีการแปล. This page is not yet translated; English content is shown temporarily.

Manage API keys

An API key authenticates your requests and ties them to you for budgets, limits, and usage. You manage your own keys from the API keys page in the console — no admin needed.

Prerequisite

You're signed in and your account is linked to a consumer (Get access).

Issue a key

  1. Open API keys in the console.
  2. Click Create key.
  3. Copy the key immediately — it is shown once and cannot be retrieved later.
  4. Use it as the Authorization: Bearer token when you connect a client.

The API keys page — issue, list, and revoke your own keys

Treat keys as secrets

A key carries your identity and spends against your budget. Store it in a secret manager or environment variable — never commit it to source control.

Rotate a key

Create a new key, switch your clients to it, then revoke the old one. This lets you roll credentials with no downtime.

Revoke a key

Click Revoke next to a key to disable it immediately. Any client still using it will start receiving 401 Unauthorized.

Activity

The page shows whether your consumer has been active this month and a last-used summary, so you can spot unused or leaked keys.

Next steps

Enterprise AI governance, on infrastructure you own.