Skip to main content
GET
/
v1
/
methodology
/
current
cURL
curl --request GET \
  --url https://api.pegana.xyz/v1/methodology/current
{
  "status": "<string>",
  "version": "<string>",
  "fix_url": "<string>",
  "git_tag": "<string>",
  "released_at": "<string>",
  "status_reason": "<string>",
  "superseded_by": "<string>"
}

Response

Current methodology version + lifecycle status

Public methodology lifecycle pointer.

version, status, and fix_url are the original (v1) shape — every current consumer (web/app/api/methodology/route.ts type-checks only version+status) is forward-compatible with the additive fields below.

status
string
required

Lifecycle status from methodology_versions.status enum: active | deprecated | broken.

version
string
required

Semver version of the currently-active methodology crate.

fix_url
string | null

Only populated when status = broken. Points at the #lifecycle section of /methodology, which renders the broken-version banner.

git_tag
string | null

Immutable git release tag, e.g. methodology-v0.1.0. Always present when the version table is populated; omitted only on an un-migrated DB.

released_at
string | null

RFC3339 timestamp this version was released. The honest analogue of the often-requested "adopted_at" — there is no separate adoption column; release == adoption in this lifecycle (ADR-0003).

status_reason
string | null

Operator note attached to a deprecated/broken transition, if any.

superseded_by
string | null

Set when this version has been superseded by a newer one.