Levain LabsLevain Labs

create_run

Start a run for an agent.

Start a run for an agent.

Pass exactly one of prompt or initial_state. Omit version to use the latest active version.

Parameters

NameTypeRequiredDescription
agent_idstringyes
promptstringno
versionintegerno
initial_stateobjectno

On this page