DeploymentDriftRow
How far a service's current deployment to one environment is behind its repository's default branch. A service spanning several repositories has one of these per repository.
Shape
- default_branchstring
- deployed_shastring
environmentEnvironmentSummary
- The EnvironmentSummary schema
- archivedboolean
- environment_idEnvironmentId (string · uuid)
- scopeScopeRef
- slugEnvironmentSlug (string)
- tierEnvironmentTierdevelopmenttestingstagingproductionWhat kind of environment this is, whatever it is called:
development,testing,stagingorproduction. Aproductionenvironment is protected by default. - display_namestring or nulloptional
- urlstring or nulloptional
- repository_idRepositoryId (string · uuid)
- repository_pathstring
commitsarray of DriftCommitoptionalThe commits the deployment is missing, at most 100. When there are more,
truncatedistrueandcommits_behindstill gives the full count.- The DriftCommit schema
- authored_atstring
- messagestring
- shastring
authorActorSummary or nulloptional
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
- commits_behindinteger · int32 or nulloptional0–∞How many commits the default branch has that the deployed commit does not. Absent when the deployed commit can no longer be read, for example after a force-push.
- truncatedbooleanoptional
Example
Synthesized example{
"default_branch": "main",
"deployed_sha": "d80aaa73c88f6abf531b59c0c5ae8086b9fd875b",
"environment": {
"archived": false,
"environment_id": "bbbccab4-f744-4f93-a75f-96d675cde9d9",
"scope": {
"group": "4c1d8e2f-6a3b-4f90-b7c5-1e2d3c4b5a69"
},
"slug": "slug-e697",
"tier": "development",
"display_name": "Lin Park",
"url": "https://gitmoap.example/acme/76a55bc4"
},
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"repository_path": "repository-path-eab3",
"commits": [
{
"authored_at": "2026-10-10T18:23:25Z",
"message": "Label every synthesized example",
"sha": "16532029e894b1be1a599e00aa80e2cd3b0e734e"
}
],
"commits_behind": 7,
"truncated": false
}
Graph
Used inside
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation