Request logs

Every request, logged.Find what went wrong fast.

Each call through ModelRiver is saved with the model that answered, tokens, cost, timing and status. Open one to see every attempt, the request and response bodies, and any webhook or callback it set off.

How logs work

There’s nothing to install. Logging starts with your first request.

  1. 01

    Logged as it happens

    Requests to the API, the OpenAI-compatible endpoint, and runs from the Playground are all recorded.

  2. 02

    Filter the list

    Narrow the list by source (production, Playground, cache or test), by endpoint, by workflow version, or by session.

  3. 03

    Follow each attempt

    A request’s detail shows each failover attempt in order, whether the answer came from cache, and how far a backend pipeline got.

  4. 04

    Check deliveries

    Webhook deliveries and backend callbacks are logged with their status code, response body and timing.

The numbers

What a log shows

One request, one entry: what was asked, who answered, what it cost, and what happened next.

request log
request    POST /v1/ai · workflow support_reply · live version
status     success · 200 · 1,284 ms
answered   anthropic / claude-haiku-5-5   (backup 1)
tokens     412 in · 188 out
price      $0.0006

attempts   1  openai / gpt-4.1             error · 503
           2  anthropic / claude-haiku-5-5   success

webhook    delivered · 200 · 142 ms
request and response bodies below
  • Bodies only when you want them

    Turn off request-body logging for a project if you don’t want prompts and responses stored. Sessions need it on.

  • Guardrail results

    Blocked and flagged requests are logged with the guardrail’s decision. A blocked prompt itself is never stored.

  • One request, one story

    A failed attempt and the backup that answered are linked, so a failed-over request reads as one entry.

Good to know

Frequently asked questions

How long are request logs kept?

At least 30 days on Free, 60 on Pro, 90 on Scale and 180 on Custom plans. Usage totals are kept after logs are removed.

Can I stop storing prompts and responses?

Yes. Turn off request-body logging in the project settings. The rest of each log entry is still saved. Sessions need body logging on, because their history is read from the logs.

Are failed requests logged?

Yes. Failed requests are logged with their error, and a request that failed over shows each attempt in order.

Can I search inside prompts and responses?

Not today. You can filter the list by source, endpoint, workflow version and session.

Are webhook deliveries logged?

Yes. Each delivery is logged with its status code, response body, response headers and duration, so you can see what your backend returned.

Send a request and open its log

Start on the free plan. Your first request shows up in the logs right away.