Deployments

Deployment records let Guardian Logs correlate issues with releases. Requires a general API key with the deployments:read scope.


List deployments

GET /api/v1/deployments

Required scope: deployments:read

Deployments are scoped to your organization via their parent application.

Query parameters

ParamTypeNotes
appIdstringFilter by application id.
limitinteger1–100, default 50. See pagination.
cursorstringOpaque cursor from a previous pagination.nextCursor.

Results are ordered newest first.

Example

curl "https://guardianlogs.com/api/v1/deployments?appId=clapp0001kidscuts000000&limit=20" \
  -H "Authorization: Bearer $GUARDIAN_API_KEY"
{
  "data": [
    {
      "id": "cldep0001abcd000000000",
      "appId": "clapp0001kidscuts000000",
      "deployedAt": "2026-09-13T15:40:00.000Z",
      "version": "c8381ab",
      "actor": "ci-bot",
      "source": "github",
      "notes": null
    }
  ],
  "pagination": { "nextCursor": null }
}

Fields

FieldTypeNotes
idstringDeployment id.
appIdstringOwning application id.
deployedAtstring (date-time)When the deployment happened.
versionstring \nullBuild/version identifier (e.g. a git SHA).
actorstring \nullWho or what performed the deployment.
sourcestringHow the record was created (e.g. manual, github).
notesstring \nullFree-form notes.

See also: issues.md · pagination.md · errors.md.