Method
listAgentVersions GET
Copy GET

List all versions of an agent.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes agentId str The unique identifier associated with the agent.
No limit int If provided, limits the number of agent versions returned.
No startAfterVersion str Unique string identifier of the version after which the list starts.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result list[AgentVersion]

Exceptions:

TYPE WHEN
DataNotFoundError

agentId is not found.

Language: