Read the frozen model request and response behind a reply, with the call's ledger record and its judgements (labels)

GET /Platform/lab/llm-data

Read the frozen model request and response behind a reply, with the call's ledger record and its judgements (labels).

Free: no model call, no writes. This is the manual-inspection counterpart of diagnose, which returns a structured verdict in one call. The cached payload is the ground truth for what the model saw at the incident turn — system prompt, view blocks, tool messages, and the response. Each assistant message carries metadata.llm_request_id, and messages are found via content search on conversations.

Triage facts the payload supports:

  1. Broken/empty/erroring tool messages indicate tool_response_issue; the fix is the integration or a ticket, never prompting around broken data.
  2. Correct tool data with silent/ambiguous instructions indicates an instruction edit, validated first with replay_llm.
  3. Correct data and clear instructions, where the answer requires inference from the data's shape (absence-by-omission, fact buried in a huge payload), indicates data_presentation; the fix is reshaping the tool response in code, validated first in replay.
  4. A well-formed turn that still failed indicates a possible model slip; replay_llm with n=5 measures flakiness before any conclusion.
  5. A request beyond agent policy indicates a routing fix (transfer rules), not wording.

Query parameters

Returns

LlmDataResponse

Example request

curl -X GET "https://api.hilus.ai/Platform/lab/llm-data" \
  -H "Authorization: Bearer $HILUS_API_KEY"