OpenRouter
Send every AI call you make through OpenRouter to Tracira automatically, with no changes to your automations.
If your AI calls go through OpenRouter, Tracira can receive every one of them through OpenRouter's Broadcast feature. Nothing changes in your automations or code.
Turn on Broadcast in OpenRouter
In OpenRouter, open Settings → Observability, enable Broadcast, then click Add Destination → Webhook.
Paste the webhook URL
https://www.tracira.com/api/webhook/openrouterAdd your API token as a header
Copy your token from the Integrations page in your workspace and paste this JSON into OpenRouter's header field:
{"Authorization":"Bearer YOUR_TOKEN"}Test the connection and save
Click Test Connection. Once it shows a green checkmark, save. Every AI call now arrives in Tracira under a project named OpenRouter.
Use your own project and task names
To group calls under your own names, pass a trace field in your OpenRouter API calls:
{
"model": "openai/gpt-4o",
"messages": [...],
"trace": {
"project": "My AI Project",
"task": "summarisation"
}
}Any other trace fields are kept on the output as metadata. Model, cost, latency and token
counts are filled in from OpenRouter automatically.