Skip to Content
Levain LabsLevain Labs

set_runtime_agent_observed

Switch observation of a coding agent on a runtime on or off. Once on, each finished turn of its sessions is recorded as a run of an observed agent, with its…

Switch observation of a coding agent on a runtime on or off.

Once on, each finished turn of its sessions is recorded as a run of an observed agent, with its conversation, timings and token counts; nothing is billed. runtime_agent_id comes from list_runtime_agents; the result names the agent the runs land on. Switching off stops the recording and keeps what was recorded.

Parameters

NameTypeRequiredDescription
runtime_idstringyes
runtime_agent_idstringyes
observebooleanyes

On this page