Getting Started
Authentication
The AXIFI API uses API keys to authenticate requests. You can view and manage your API keys in the Developer Dashboard.
API Key Format
Your API key will look like this:
axifi_sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxAPI keys start with axifi_sk_ followed by a unique identifier.
Making Authenticated Requests
Include your API key in the Authorization header
HTTP Header
Authorization: Bearer YOUR_API_KEYExample Request
cURL
curl https://api.axifi.ai/v1/compounds \
-H "Authorization: Bearer axifi_sk_your_key_here"Security Best Practices
- Never share your API key or commit it to version control
- Use environment variables to store your API key
- Rotate your API keys periodically
- Use different keys for development and production
- Revoke compromised keys immediately
API Key Scopes
API keys can have different permission levels based on your plan
read:compoundsAccess compound databaseread:documentsAccess research documentswrite:chatCreate chat completionswrite:toolsUse analysis toolsread:searchPerform semantic searchadmin:webhooksManage webhooks (Pro+)