API Reference / Git - Deployments

Environment deployment stats

get https://api.intelig.ai/api/v1/intelig/deployments/by-environment

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

Per-environment deployment statistics with bypass and staleness detection. Identifies environments that are being bypassed in the promotion pipeline or have not received a deployment recently.

Example request

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

Query parameters

NameTypeRequiredDescription
request DeliveryStatsRequestDto yes

Response 200

application/json · ApiResponseListEnvironmentDeploymentStatsDto

FieldTypeDescription
success boolean
message string
data EnvironmentDeploymentStatsDto[]

Status codes

  • 200 — Environment deployment statistics 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.