List model calls
list_requestsList calls to Runcrate's models (chat, embeddings, images, speech, /v1/messages, /v1/responses) from this environment, newest first, kept 30 days: model, status, outcome, took_ms, ttft_ms, tokens, tokens_per_second, finish_reason, tool_calls, cost, end_user, session and tags. Prompts and answers are never stored. outcome: "error" finds failures: each failed call carries error.message (what happened) and error.next_step (what to do about it), and get_request with an id has its timing. Filter by session to read one agent run's calls (newest first), end_user for one of your users, tag for "key=value" pairs sent in X-Runcrate-Tags. Without from it covers the last 24 hours. When next_cursor is not null, pass it as cursor for the next page. Docs: https://www.runcrate.ai/docs/api-reference/model-calls/list-model-calls
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End time, ISO 8601 (default now) | |
| key | No | Only calls made with this API key id | |
| tag | No | Only calls with this tag, as key=value, e.g. "feature=search"; a list needs every one | |
| from | No | Start time, ISO 8601 (default 24 hours ago; at most 30 days back) | |
| limit | No | How many calls (default 50, max 100) | |
| model | No | Only calls to this model id | |
| cursor | No | next_cursor from the previous page | |
| outcome | No | Only calls that succeeded (ok) or failed (error) | |
| session | No | Only calls sent with this X-Runcrate-Session | |
| end_user | No | Only calls sent with this end user (OpenAI `user`, Anthropic `metadata.user_id`) | |
| endpoint | No | Only calls to this endpoint | |
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) |