Headers
HTTP-Referer
Your applicationโs URL. Used to identify the source of the request.
X-Title
Your applicationโs display name. Shows up in your Dashboard activity view.
Implementation
Include these headers in any request to the ARouter API:- Python (OpenAI)
- Node.js (OpenAI)
- Go
- cURL
- fetch
App Categories
Categorize your application to appear correctly in ARouterโs analytics:| Category | Description |
|---|---|
Coding | Developer tools, IDEs, code assistants |
Creative | Writing, image generation, art tools |
Productivity | Document processing, summarization, automation |
Research | Knowledge retrieval, analysis, academic tools |
Entertainment | Games, chat, roleplay |
Other | Anything that doesnโt fit the above |
X-Title header or as a dedicated header if supported by your integration. The category appears in your Dashboard analytics alongside the app name.
Dashboard Activity
When you include attribution headers, the ARouter Dashboard displays:- App Name: Shown in the activity feed and analytics per request
- Source URL: Used to group requests by application domain
- Category: Appears in usage breakdowns by app type
- Per-app usage: Token consumption, cost, and request volume per attributed app
- Managing multiple applications under one account
- Running A/B tests across different app versions
- Understanding which workflows drive the most usage
Benefits of Attribution
- Usage breakdown by app โ See which of your applications consumes the most tokens and cost
- Traffic analysis โ Understand request volume patterns per app
- Optimization signals โ Identify high-cost workflows for optimization