DOCS / API REFERENCE

List deployments

GET /v1/deployments

GETHenHouse API v1

Request

GET /v1/deployments

Authenticate with a bearer token. Create one with POST /v1/tokens or cluck login.

Parameters

NameTypeDescription
servicestringFilter by service
envstringFilter by environment

Example

curl -X GET https://api.pollosoft.example/v1/deployments?service=example&env=example \
  -H "Authorization: Bearer $COOP_TOKEN"

Response

A successful call returns 200 OK with JSON like this:

{
  "data": [
    {
      "id": "dep_a031",
      "service": "web",
      "env": "production",
      "version": "v182",
      "status": "live"
    }
  ],
  "has_more": false
}

Errors

IdempotencyThis endpoint is safe to retry. Reads do not lay eggs.