API keys

Create scoped keys for your services. Rotate them regularly and revoke any you no longer use.

Secret keys

Keys authenticate server-side calls to the Agentfold API. Never ship them in browser or mobile code.

NameKeyScopesCreatedLast usedActions
Production backendby Daniel Reyes
af_live_••••3f2a
runs:writeruns:read
Aug 4, 20262m ago
Support widgetby Mira Kowalski
af_live_••••9c71
runs:write
Jul 18, 202614s ago
Eval pipeline (CI)by Priya Natarajan
af_live_••••b04e
runs:readdatasets:write+1
Jun 2, 20263h ago
Local developmentTestby Jonas Lindgren
af_test_••••71d8
runs:writeruns:read+2
Sep 29, 2026Yesterday
Warehouse syncby Aisha Bello
af_live_••••e512
runs:read
Mar 11, 2026Never

Quick start

Authenticate with a bearer token. Keys inherit the workspace’s rate limits.

curl
curl https://api.agentfold.app/v1/runs \
  -H "Authorization: Bearer $AGENTFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "agent": "support-triage", "input": { "ticket_id": "T-48213" } }'

Create API key

Choose a name you’ll recognise later and the smallest set of scopes it needs.

Test keys run against sandboxed tools and are never billed.

Scopes

Revoke API key?

Requests using this key will fail immediately with 401. This cannot be undone.