Skip to content
GitmoapAPIBeta
Schema

ListDeploymentsResponse

Shape

  • itemsarray of Deployment
    • The Deployment schema
    • attemptinteger · int320–∞
    • commit_shastring
    • deployment_idDeploymentId (string · uuid)The deployment's id. It is derived from the run, step and attempt that made it, so the same attempt never records two deployments.
    • environment_idEnvironmentId (string · uuid)
    • repository_idRepositoryId (string · uuid)
    • service_idServiceId (string · uuid)
    • started_atstring
    • statusDeploymentStatusrequestedawaiting_approvalrejectedrunningsucceededfailedcancelledsupersededskippedWhere a deployment is in its life. It starts requested; waits as awaiting_approval when the environment needs approval, ending rejected if refused; then running, ending succeeded, failed or cancelled. skipped means another deploy held the environment and its policy is to skip. A successful deployment becomes superseded when a later one replaces it.
    • approved_byActorSummary or nulloptional
    • error_summarystring or nulloptional
    • finished_atstring or nulloptional
    • node_idstring or nulloptional
    • pipeline_run_idPipelineRunId (string · uuid) or nulloptionalThe pipeline run that made the deployment. Absent once that run's history has been removed; the deployment record is kept.
    • ref_namestring or nulloptional
    • triggered_byActorSummary or nulloptional
  • next_tokenstring or nulloptional

Example

Synthesized example
{
"items": [
{
"attempt": 2,
"commit_sha": "55568fa2cc5f70ec75a7817b0a431d8cf1be899b",
"deployment_id": "40c4e2de-ecbb-4b98-83d6-f88cbe69cf4c",
"environment_id": "adfa0db8-9e3b-4eb3-aeb2-78da8914318f",
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"service_id": "2dc342af-7857-456c-8e2a-b1ba174687a3",
"started_at": "2026-10-10T11:58:03Z",
"status": "requested"
},
{
"attempt": 6,
"commit_sha": "12ea2b1a38b85709748a95e33dc91f7488fdee1b",
"deployment_id": "f8bfe7fe-3bf2-4a07-b19c-e7b5f9c2e3ad",
"environment_id": "291fc608-42e4-479b-9369-685b5a7d7bdf",
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"service_id": "5f05922b-ba04-40b7-a439-121b5c21065e",
"started_at": "2026-10-12T11:29:35Z",
"status": "requested"
}
],
"next_token": "next-token-e84f"
}

Graph

Used inside

No schema contains this one.

Contains

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.