Skip to Content
Tracira

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

Webhook URL
https://www.tracira.com/api/webhook/openrouter

Add 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:

Header
{"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:

OpenRouter API call
{
  "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.

On this page