Base URL
All API requests should be made to:Authentication
All API endpoints require authentication using an API key in theX-Api-Key header.
Getting an API Key
To obtain an API key:- Log in to your Fenra dashboard
- Navigate to Organization Settings → API Keys
- Click “Create New Key”
- Copy and securely store the key
How to Obtain an API Key
Step-by-step guide to creating and managing API keys
Using Your API Key
Include your API key in theX-Api-Key header for all API requests:
Request Format
The API accepts JSON request bodies. All requests must include:- Content-Type header - Set to
application/json - X-Api-Key header - Your API key for authentication
- Valid JSON body - Properly formatted JSON matching the API schema
Rate Limiting
The API is designed for high-throughput scenarios:- No explicit rate limits - The ingestion API handles high volume efficiently
- Asynchronous processing - Transactions are queued immediately for processing
- Bulk requests - Send multiple transactions in a single request for better performance
OpenAPI Specification
The complete API specification is available in OpenAPI 3.0 format:OpenAPI Specification
View the complete OpenAPI specification file
Related Documentation
- Usage Ingestion Endpoint - Send AI usage transactions
- How to Add a Transaction - Complete integration guide
- How to Obtain an API Key - API key management