Skip to main content

Deploy Gate

Pre-deployment safety checks — gate CI/CD pipelines on upstream health

GET/deploy-gate
Bearer Token

Check deployment safety

Checks whether it is safe to deploy by evaluating the current health of your upstream dependencies. Returns safe: false if any monitored service has a major_outage status.

Use this in CI/CD pipelines to gate deployments on upstream health. Optionally filter to specific services with the services query parameter.

Parameters

servicesstringqueryoptional

Comma-separated list of service IDs or slugs to check. When omitted, all services your organization depends on are evaluated.

Responses

Code Samples

# Gate a deployment on upstream health
curl -sf -H 'Authorization: Bearer YOUR_API_KEY' \
  'https://checkupstream.com/api/v1/deploy-gate?services=stripe,openai' \
  | jq -e '.safe'
Shell