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.
- 01
Logged as it happens
Requests to the API, the OpenAI-compatible endpoint, and runs from the Playground are all recorded.
- 02
Filter the list
Narrow the list by source (production, Playground, cache or test), by endpoint, by workflow version, or by session.
- 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.
- 04
Check deliveries
Webhook deliveries and backend callbacks are logged with their status code, response body and timing.
The numbers
- 30 · 60 · 90 · 180Days logs are kept at least, on Free, Pro, Scale and Custom
- 4 sourcesProduction, Playground, cache and test, each filterable
- 50Logs per page, newest first
- On by defaultRequest and response bodies are saved unless you turn it off for a project
What a log shows
One request, one entry: what was asked, who answered, what it cost, and what happened next.
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 belowBodies 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
Filters, not search
You can filter by source, endpoint, version and session. Searching inside prompts and responses isn’t available.
Totals outlive the logs
When old logs are removed, your usage totals stay, so monthly numbers don’t change.
Test traffic is marked
Test-mode and Playground requests are logged and labeled, and they don’t count toward your plan’s requests.
Cache hits are logged too
A cache hit is logged at $0, next to what the call would have cost.
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.
Works well with
Send a request and open its log
Start on the free plan. Your first request shows up in the logs right away.