API Keys

Your account · your applications
Active keys
0
Requests served
0
API endpoint

Create an API key

A key lets an application use the capacity your wallet owns. Every key draws on the same capacity; revoke one at any time.

NameKeyCreatedStatus

No API keys yet. Create one to connect an application.

Use your key

curl http://localhost:3001/api/v1/chat/completions \
  -H 'Authorization: Bearer YOUR_ENCLAVO_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"model":"MODEL_ID","capacity_contract_id":"YOUR_CAPACITY_ID","messages":[{"role":"user","content":"Hello"}],"max_tokens":128}'

List the capacity you own, with its model and ID, using GET /api/v1/contracts and the same key. You can also use Playground while signed in, without copying a key into the page.

Loading