Skip to Content
Levain LabsLevain Labs

list_agent_versions

List an agent's versions, newest first (``org:<slug>`` for org agents). Every version is listed unless limit is set (200 at most): limit=1 gives the newest…

List an agent's versions, newest first (org:<slug> for org agents).

Every version is listed unless limit is set (200 at most): limit=1 gives the newest version, and status="active" with limit=1 the version runs use by default. status keeps only versions in that status. To page back, pass the last version number of the previous page as before; a page shorter than limit is the last.

Parameters

NameTypeRequiredDescription
agent_idstringyes
limitintegerno
beforeintegerno
statusstringno

On this page