Skip to main content
All API requests require a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEY

API Key Format

ActionLayer API keys follow this format:
nc_live_<32 alphanumeric characters>

Getting Your API Key

  1. Log in to the dashboard
  2. Go to Settings → API Keys
  3. Click Create API Key
  4. Copy the key — it is shown exactly once and never stored in full
Store your API key securely. It grants full access to your workspace. Never commit it to source control or expose it in client-side code.

Creating Additional Keys

curl -X POST https://api.actionlayer.dev/v1/api-keys \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "production-agent"}'

Revoking a Key

curl -X DELETE https://api.actionlayer.dev/v1/api-keys/{key_id} \
  -H "Authorization: Bearer YOUR_API_KEY"
Revocation is immediate and permanent.

Rate Limits

EndpointLimit
Auth endpoints5–60 req/min
Read endpoints60 req/min
Write endpoints10–20 req/min
Exceeded limits return HTTP 429 with a Retry-After header.

Error Responses

All errors return a consistent shape:
{
  "error": "unauthorized",
  "message": "Invalid or revoked API key"
}