API keys for the Claw API (also called Enophic API keys) live in the Claw Console. To view your existing keys or create a new one, go to Settings → API keys.
Sign in to the Claw Console
Go to enophic.com and sign in, or create an account if you don't have one yet.
Open the API keys page
Go to Settings → API keys.
Create a key
Click Create key, then give the key a name. You can also choose a workspace to scope the key to, and an expiration.
Copy and store the key
The Console shows the full key, which starts with sk-eno-, only once, at creation. Copy it and store it somewhere safe, such as a secrets manager. If you lose a key, you can't view it again in the Console. Create a new key instead.
If the Create key button is disabled, you may not have permission to create keys in that workspace. Ask an organization admin to grant you access or to create a key for you.
Set the key as an environment variable:
export ENOPHIC_API_KEY="sk-eno-api03-..."The client SDKs read ENOPHIC_API_KEY automatically. Direct HTTP requests send the key in the x-api-key header. To make your first request, follow the Quickstart, and see Authentication for the full picture, including short-lived credentials with Workload Identity Federation.
The Admin API includes endpoints for managing your organization's API keys programmatically, such as Retrieve API Key and List API Keys. These endpoints are for organization admins automating key management. They require a separate Admin API key, and they never return a key's secret value, only a partially redacted hint.
The Admin API can't recover a lost key or give you a key to call the Claw API with. To get a usable API key, create one in Settings → API keys in the Claw Console.
¿Te ha resultado útil esta página?