deployment
List, inspect, cancel, watch, and roll back application releases on Coolify, with logs and preflight checks.
Instructions
List per-app deployments, get deployment details, or cancel an in-flight deployment. Actions: list(application_uuid, format?, page?, per_page?) · get(deployment_uuid, format?, projection?, reveal?) · cancel(deployment_uuid, format?, max_chars?) · watch(deployment_uuid, timeout?, min_interval?, max_interval?, include_logs?, format?, max_chars?, instance?) · logs(deployment_uuid|application_uuid, lines?, offset?, include_hidden?, type?, format?, max_chars?, instance?) · preflight(uuid|name|fqdn, format?, max_chars?, instance?) · rollback(uuid|name|fqdn, confirm?, force?, wait?, timeout?, format?, max_chars?, instance?) Safety: confirm for destructive ops · preflight is advisory read-only · rollback requires confirm:true · optional instance · reveal opt-in only
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqdn | No | Application FQDN for preflight/rollback | |
| name | No | Application name for preflight/rollback | |
| page | No | Page number for pagination | |
| type | No | Filter build-logs entries by type (default all — no filter). Applies only to the deployment_uuid (build-logs) path; ignored on runtime logs path. | |
| uuid | No | Application UUID for preflight/rollback | |
| wait | No | Poll rollback deployment until terminal (rollback) | |
| force | No | Force deploy on rollback (default false) | |
| lines | No | Number of log lines to retrieve | |
| action | Yes | The action to run | |
| format | No | Output format style | |
| offset | No | Skip first K lines of the FLATTENED log blob before applying lines (build-logs pagination applied AFTER parse+filter+flatten) | |
| reveal | No | Reveal sensitive/masked values in full projection (default false — secrets masked as ***) | |
| confirm | No | Required true for rollback mutations | |
| timeout | No | Watch timeout in seconds (default 300) | |
| instance | No | Coolify instance name from registry (optional — uses env credentials or registry default) | |
| per_page | No | Items per page | |
| max_chars | No | Maximum characters in text response before truncation | |
| projection | No | Detail projection depth | |
| include_full | No | Alias for projection: full | |
| include_logs | No | Attach capped build logs on success (default false) | |
| max_interval | No | Maximum poll interval in seconds (default 30) | |
| min_interval | No | Minimum poll interval in seconds (default 3) | |
| include_hidden | No | Include entries with hidden:true in build-logs output (default false — hidden entries are filtered out) | |
| deployment_uuid | No | Deployment UUID | |
| application_uuid | No | Application UUID to list deployments for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| _meta | No | ||
| error | No | ||
| _size_warning | No | ||
| _formattedText | No |