List LLM calls in this org, newest first
GET /Platform/lab/llm-calls
List LLM calls in this org, newest first.
Every LLM round is recorded (key = the LLM request id, the id in logs
and every lab command); follow-up rounds after tool calls are
<id>_r2, <id>_r3. This route lists them without their
payloads, with each call's current verdict and agreement, and
groups them into strata. Use it to answer "which calls would a change
affect?" before replaying them on another model (replay_llm with
the same selectors), to find calls to judge, and to read back
judgements. For one call's full request, response and labels use
llm_data; judge a call with evaluate_llm, record your own
verdict with label_llm.
Filters (combine freely):
call_site: where the completion was requested —code:<repo path>:<function>(e.g.code:Hilus/dtypes/event.py:from_human_string) orentity:Agent/<id>for agent turns.model_source: where the model was chosen —entity:Agent/<id>#/chat_completions/model@<branch>or the code location ofChat(model=...).tier: a platform model slug such ashilus/low; lists every call a change to that tier would affect.model_resolved: the concrete model that ran.agent_id: shorthand forcall_site=entity:Agent/<id>(the agent's own turns).conversation_id/message_id: calls made in that conversation, or triggered by that message (tool and subagent calls inside a turn included) or that produced it as their reply.tool: calls whose response called this tool.verdict:correct/wrong/unsure(current verdict: the newest human label's, else the newest judge's), orunjudged.replay_of: replays of one call.replay_run_id: every replay of one comparison run.source_agent_id/source_model: replays of that agent's calls / of calls that ran on that model. Any of these selects replays withoutinclude_replays.
Examples: replays of a call judged correct:
replay_of=<id>, verdict=correct; the cheapest correct model for
an agent: source_agent_id=<id>, verdict=correct and compare the
rows' model_resolved and cost; calls still to judge:
verdict=unjudged.
since / until take ISO timestamps or relative spans like
7d / 12h. Simulated conversations, replays, response-cache
hits and the lab's own calls (judges, analyzers; include_lab) are
excluded unless asked for; what-if replays (payload edits) only with
include_edited_replays. strata groups the listed rows by
response shape (tools called, finish reason, text or not) and prompt
version, largest first. preview=true adds the last user turn and
the response (300 characters each) from this org's cache. Results
are for the caller's org only.
Query parameters
call_site: optional str. Where the completion was requested:code:<path>:<function>orentity:Agent/<id>.model_source: optional str. Where the model was chosen (same grammar).tier: optional str. Platform model slug the caller configured (e.g.hilus/low).model_resolved: optional str. Concrete model that ran.agent_id: optional str. Shorthand forcall_site=entity:Agent/<id>.conversation_id: optional str. Calls made in this conversation.message_id: optional str. Calls triggered by, or that produced, this message.tool: optional str. Calls whose response called this tool.verdict: optional str. correct, wrong, unsure, or unjudged.replay_of: optional str. Replays of this LLM request id.replay_run_id: optional str. Replays from this comparison run.source_agent_id: optional str. Replays of this agent's calls.source_model: optional str. Replays of calls that ran on this model.since: optional str. Start of the window: ISO timestamp or a span like7d,12h.until: optional str. End of the window (same forms); default now.include_simulated: optional bool. Include simulated conversations.include_replays: optional bool. Include replays.include_lab: optional bool. Include the lab's own calls (judges, analyzers).include_edited_replays: optional bool. Include what-if replays (payload edits).limit: optional int. Maximum rows returned (at most 500).preview: optional bool. Add the last user turn and the response (300 characters each).
Returns
LlmCallsResponse
count: int. Rows returned.rows: optional List[dict]. One content-free record per LLM round: attribution (call_site, model_source, tier, model_resolved), sample keys, requested params, fingerprints, outcome and latency. Add preview=true for a short look at the last user turn and the response.strata: optional List[LlmCallStratum]. The listed rows grouped by response shape and prompt version, largest first.
Example request
curl -X GET "https://api.hilus.ai/Platform/lab/llm-calls" \
-H "Authorization: Bearer $HILUS_API_KEY"