1
Get Your API Key
Sign in to app.fenra.io and navigate to Settings → API Keys. Click Create New Key, give it a name, and copy the key.
2
Send a Test Transaction
After your next AI provider call, send the usage data to Fenra:A successful response returns
202 Accepted:3
See It in Your Dashboard
Head back to app.fenra.io. Your transaction appears in the dashboard within seconds, with costs automatically calculated.
Transaction Schema
Every transaction needs:| Field | Required | Description |
|---|---|---|
provider | Yes | openai, anthropic, gemini, bedrock, xai, deepseek, or custom |
model | Yes | Model identifier (e.g., gpt-4o, claude-3-5-sonnet-20241022) |
usage | Yes | What resources the AI call consumed: tokens for text, images for image generation, etc. |
context.billable_customer_id | Yes | Required identifier for billing/grouping |
Context
Thecontext object only requires billable_customer_id. You can add any other fields you want. They will appear in your dashboard and can be used for filtering, alerts, and reports.
See the Transactions Guide for examples of useful context fields.