Router9
Documentation
Agent Plane

Audit Logs

Track and analyze every API request

Overview

Router9 logs every API request made through your agent's key. Audit logs provide full visibility into model usage, latency, status codes, and request/response payloads.

Viewing Audit Logs

Go to Agent → Audit in the dashboard to see your request history.

Columns

ColumnDescription
TimeWhen the request was made
ModelThe model used (after routing)
ActionType of operation (chat, asr, tts, etc.)
StatusHTTP status code (color-coded)
LatencyResponse time in milliseconds

Status Colors

  • Green (2xx) — Successful requests
  • Yellow (4xx) — Client errors (bad request, rate limited, etc.)
  • Red (5xx) — Server or provider errors

Request Details

Click any row to open a detail panel showing:

  • Timestamp
  • Model name
  • Action type
  • Status code
  • Latency in ms
  • Full request body (JSON)
  • Full response body (JSON)

Filtering

Filter logs by:

  • Provider — Filter by upstream provider name
  • Status code — Filter by specific HTTP status codes

Click Apply to update results after setting filters.

CSV Export

Click Export CSV to download your audit logs. The export includes:

  • Time
  • Model
  • Action
  • Status
  • Latency (ms)

The file is named audit-{agentId}.csv.

Logged Fields

Each audit log entry records:

FieldDescription
requestIdUnique request identifier
requestModelModel requested by the client
modelActual model used (after routing)
toolOperation type (chat, asr, tts, image_understand, etc.)
providerUpstream provider used
inputTokensTokens in the prompt
outputTokensTokens in the response
latencyMsTotal response time
firstTokenLatencyMsTime to first token (streaming)
statusHTTP status code
errorMessageError details (if applicable)

Retention by Plan

PlanRetention
Free7 days
Assistant30 days
Engineer30 days

Logs older than the retention period are automatically deleted.

On this page