Skip to content
GitmoapAPIBeta
Schema

RegressionRangeResponse

The suspect commits behind a regression: those after the last commit the work item was verified at, up to and including the first commit whose evidence showed it broken. One of them broke the Definition of Done.

Shape

  • failing_criteriaarray of CriterionViewThe required criteria currently Failing — what regressed.
    • The CriterionView schema
    • created_atstring
    • criterion_idCriterionId (string · uuid)The criterion's identifier. It never changes, so rewording or re-binding a criterion keeps its identity and its evidence.
    • issue_uidIssueUid (string · uuid)
    • satisfiedboolean
    • stateCriterionStateunverifiedpassingfailingstalemanualA criterion's verdict.
    • textstringThe human statement — the criterion's title. The label, not the identity.
    • updated_atstring
    • bindingCriterionBinding or nulloptional
    • binding_exprstring or nulloptionalThe binding's @-expression, as written. Absent for a manual criterion.
    • binding_keystring or nulloptionalThe normalised form of binding_expr, which two equivalent spellings share. Absent for a manual criterion.
    • checkedbooleanoptionalWhether the box is ticked. Meaningful only for a manual criterion — a bound one is ticked by its state, and ticking it by hand is refused with a 409.
    • descriptionstring or nulloptionalAn optional longer description (markdown) — the per-criterion detail a flat checkbox could never hold.
    • evidenceEvidence or nulloptional
      • The Evidence schema
      • commit_shaCommitHash (string)
      • observed_atstringWhen the run that produced the evidence finished, RFC 3339.
      • pipeline_idPipelineId (string · uuid)
      • pipeline_run_idPipelineRunId (string · uuid)
      • node_run_idNodeRunId (string · uuid) or nulloptional
      • valuenumber · double or nulloptional
    • facet_categoryFacetCategory (string) or nulloptional
    • facet_keyFacetKey (string) or nulloptionalThe blueprint facet this criterion belongs to, when a blueprint added it. Absent for a criterion written directly. A facet's state is rolled up from the criteria carrying its key.
    • last_evidence_atstring or nulloptional
    • last_evidence_commit_shaCommitHash (string) or nulloptional
    • last_evidence_node_run_idNodeRunId (string · uuid) or nulloptional
    • last_evidence_pipeline_idPipelineId (string · uuid) or nulloptionalThe pipeline whose run last provided evidence for this criterion. Only a later run of the same pipeline can make the criterion stale.
    • last_evidence_run_idPipelineRunId (string · uuid) or nulloptional
    • last_evidence_valuenumber · double or nulloptionalThe observed value, for a Metric or Coverage binding.
    • ordinalinteger · int32optional0–∞Position in the description, so the list round-trips in authoring order.
    • required_for_closebooleanoptional@optional opts out. Everything else in a Definition of Done is required by definition.
  • suspectsarray of SuspectCommitThe commits in (from_sha, to_sha], newest first — one of them broke it.
    • The SuspectCommit schema
    • shaCommitHash (string)
    • commitCommit or nulloptionalThe commit's author, message and date. Absent when the commit can no longer be read — a force-push removed it, or the work item has moved to another repository since it regressed.
      • The Commit schema
      • author_emailEmail (string)
      • author_namestring
      • authored_atstring
      • commit_shaCommitHash (string)
      • committed_atstring
      • committer_emailEmail (string)
      • committer_namestring
      • repository_idRepositoryId (string · uuid)
      • short_shaShortCommitHash (string)
      • titlestring
      • author_avatar_urlstring or nulloptional
      • committer_avatar_urlstring or nulloptional
      • messagestring or nulloptional
      • parent_shasarray of CommitHash (string)optional
      • tagsarray of TagName (string)optional
  • totalinteger0–∞How many commits the range holds, including any not listed in suspects.
  • truncatedbooleantrue when the range holds more than 100 commits and suspects lists only the newest 100.
  • uidIssueUid (string · uuid)
  • from_shaCommitHash (string) or nulloptionalThe last commit the item was Verified at — the range's exclusive lower bound.
  • to_shaCommitHash (string) or nulloptionalThe commit whose evidence proved the regression — the range's inclusive upper bound. Absent for an older regression that did not record it.

Example

Synthesized example
{
"failing_criteria": [
{
"created_at": "2026-10-16T21:57:56Z",
"criterion_id": "73ace3a0-f107-4b68-b42b-af07d3155346",
"issue_uid": "6efbbbe4-ee30-4951-88a6-538a2de28922",
"satisfied": false,
"state": "unverified",
"text": "text-f2a4",
"updated_at": "2026-10-09T14:35:26Z"
}
],
"suspects": [
{
"sha": "06c73d30521cd5e0f182be8ecf9e683827145fc2"
}
],
"total": 5,
"truncated": false,
"uid": "a4cb8a5d-4e3e-44a6-9878-e4db35ba9c0f",
"from_sha": "ad30fbc8e967c651777541671de36c4d2f583725",
"to_sha": "316e7de89ca759d2ff7dd12384e6ff72ea46756f"
}

Graph

Used inside

No schema contains this one.

Used by