Getting an API key
- Log in at pioneer.ai.
- Go to Settings → API Keys.
- Click Create key, give it a name, and copy the value shown.
PIONEER_API_KEY) rather than hard-coding it in source files.
Passing your API key
Include your key in theX-API-Key header on every request:
cURL
Managing keys via the API
You can create, list, and revoke keys programmatically using the key management endpoints.Create a key
cURL
List keys
cURL
Revoke a key
cURL
Error responses
| Status | Meaning |
|---|---|
401 Unauthorized | The key is missing, malformed, or has been revoked. Check that the X-API-Key header is present and contains a valid key. |
402 Payment Required | Your account has insufficient credits to complete the request. Visit Settings → Billing to top up your balance. |

