Skip to content
GitmoapAPIBeta
Schema

SpecIndexStatus

A summary of a repository's spec index: how much it holds, what state it is in, and the commit it describes.

Shape

  • blocksinteger · int64
  • by_kindobject
  • by_postureobject
  • by_statusobject
  • dangling_refsinteger · int64
  • documentsinteger · int64
  • findingsobject
  • idsinteger · int64
  • orphaned_documentsinteger · int64
  • recordsinteger · int64
  • refsinteger · int64
  • stalebooleanTrue when any document is marked stale, so a client can tell the index is behind the branch.
  • stale_documentsinteger · int64
  • last_seen_shastring or nulloptionalThe commit the index describes. Absent when nothing has ever been indexed.
  • synced_atstring or nulloptional

Example

Synthesized example
{
"blocks": 43,
"by_kind": {},
"by_posture": {},
"by_status": {},
"dangling_refs": 9,
"documents": 58,
"findings": {},
"ids": 78,
"orphaned_documents": 34,
"records": 59,
"refs": 28,
"stale": false,
"stale_documents": 43,
"last_seen_sha": "8c0ca82d69c49db14930079c442596d547938f11",
"synced_at": "2026-10-12T17:21:34Z"
}

Graph

Used inside

No schema contains this one.

Contains

No named schema inside.

Used by

Sent by 0 operations

No operation takes it as a request body.