Skip to main content
GET
List Versions for Agent

Path Parameters

namespace_slug
string
required
agent_name
string
required

Query Parameters

branch
string | null

Filter by branch name (e.g., 'main', 'feature/login'). If not provided, returns versions across all branches.

status
enum<string> | null

Filter by version status Status of a version in its lifecycle.

Available options:
DEPLOYING,
ACTIVE,
FAILED,
UNHEALTHY,
DRAINING,
RETIRED,
ROLLED_BACK
limit
integer
default:20

Maximum versions to return

Required range: 1 <= x <= 100

Response

Successful Response

Response for listing versions of a branch.

total
integer
required

Total count

versions
VersionResponse · object[]
required

List of versions

branch_id
string | null

Branch ID