List Deployments
deployments_listLists an app's recent deployments with status and timing:
deployment_id, environment_id, trigger, git_sha, git_ref,
pr_number, status, current_step, build_step (built,
reused when an existing image was deployed: a redeploy of an
already-built commit or a promote, none for a rollback, null until a
build starts), error_code and
error_message (only present for a failed deployment),
started_at/finished_at, and the
deployer who triggered it (user_id/name/email; null for
GitHub-push deploys). Takes the app_id returned by apps_list.
Optionally scope to one environment_id (from environments_list),
filter by status, and cap the result with limit (default 20,
maximum 100). Use deployment_get for a single deployment's full
detail, events, and log URLs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_id": "<app_id>"
},
"name": "deployments_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of deployments to return. Default 20, maximum 100. | |
| app_id | Yes | The app uuid returned by `apps_list`. | |
| status | No | Filter to a single status: queued, building, deploying, verifying, succeeded, failed, cancelled. | |
| environment_id | No | Scope to a single environment uuid returned by `environments_list`. Omitted: deployments across every environment for the app. | |
| organization_id | No | An organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app. |