API Reference / Git - Deployments

Promotion flow

get https://api.intelig.ai/api/v1/intelig/deployments/promotions

Auth: Authorization: ApiKey <key> (an API key sent as Bearer is rejected) or Authorization: Bearer <jwt> for a dashboard session. operationId: getPromotions

Pipeline promotion flow showing SHA progression through environments. Tracks how each commit SHA moves through deployment stages and identifies SHAs that bypassed staging.

Example request

curl -X GET "https://api.intelig.ai/api/v1/intelig/deployments/promotions?request=string" \
  -H "Authorization: ApiKey $INTELIG_API_KEY"

Query parameters

NameTypeRequiredDescription
request DeliveryStatsRequestDto yes

Response 200

application/json · ApiResponsePromotionFlowDto

FieldTypeDescription
success boolean
message string
data PromotionFlowDto Deployment promotion flow analysis showing how SHAs progress through environments

Status codes

  • 200 — Promotion flow data returned successfully
  • 400 — Invalid date range or request parameters
  • 401 — Unauthorized - invalid or missing JWT token
  • 429 — —

Every response is wrapped in { success, message, data }. A 4xx means the request is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.