Skip to main content
GET
List Agent Deployments

Overview

Every publish, promote, and rollback appends a deployment to the target environment’s history. This endpoint returns that history for one environment, newest first, with the latest check run recorded for each deployed version. Use is_rollback_eligible to find valid targets for Roll Back Agent.

Headers

string
required
Your API key for authentication.

Path Parameters

string
required
The agent’s unique identifier.

Query Parameters

string
default:"production"
Environment to list: dev, staging, or production. Any other value falls back to production.
integer
default:"50"
Maximum number of deployments to return. Minimum 1, maximum 200. Values outside that range are clamped; a non-numeric value falls back to 50.

Response

array
Deployments for the requested environment, newest first.
object | null
The check run attached to a deployment.
null | array
null on success, or a list of error objects if the request failed.

Docs for agents: llms.txt