Skip to content
GitmoapAPIBeta
Schema

ServiceCheckResult

One check's current answer for one service, with where that answer came from: the pipeline run and commit whose evidence decided it, or the person who attested it.

Shape

  • check_keyCheckKey (string)
  • evaluated_atstring
  • scorecard_idScorecardId (string · uuid)
  • service_idServiceId (string · uuid)
  • stateCheckStatefailingstaleexpiredunknownpassingnot_applicableWhat a check currently says about a service, listed worst first. failing: the check does not hold. stale: the evidence that used to prove it no longer does. expired: an attestation whose renewal window has passed. unknown: never evaluated. passing: the check holds. not_applicable: the check does not apply to this service, so it does not count against it.
  • attested_atstring or nulloptional
  • attested_byActorSummary or nulloptional
  • detailobjectoptional
  • evidence_atstring or nulloptional
  • evidence_commit_shaCommitHash (string) or nulloptional
  • evidence_pipeline_idPipelineId (string · uuid) or nulloptional
  • evidence_run_idPipelineRunId (string · uuid) or nulloptional
  • expires_atstring or nulloptional
  • flappingbooleanoptionalWhether the check has changed state ten times today, after which further changes are not recorded until tomorrow. Read it as "this check is not trustworthy": a threshold set at the noise floor, or a test that is not deterministic.
  • observed_valuenumber · double or nulloptional

Example

Synthesized example
{
"check_key": "check-key-e929",
"evaluated_at": "2026-10-11T20:17:57Z",
"scorecard_id": "95f1a2b7-3c33-4a11-ab38-c07b82d2336b",
"service_id": "25291d0b-ec8c-45d3-9531-5240365154bc",
"state": "failing",
"attested_at": "2026-10-10T18:14:46Z",
"attested_by": {
"email": "tomas@acme.example",
"id": "id-5d0c",
"username": "tomas",
"avatar_url": "https://gitmoap.example/acme/934ed75d"
},
"detail": {},
"evidence_at": "2026-10-09T22:29:25Z",
"evidence_commit_sha": "94e9b3d139f93968ec66d63738660608fd5e577c",
"evidence_pipeline_id": "f90d8933-7091-4204-91d5-389aad9ade94",
"evidence_run_id": "9e2b7c41-3d5a-4f8e-b1c2-7a6d5e4f3c2b",
"expires_at": "2026-10-14T14:37:07Z",
"flapping": false,
"observed_value": 60
}

Graph

Contains

Used by

Sent by 0 operations

No operation takes it as a request body.