Skip to main content

GET /api/v1/decision-flows/versions

Every time a decision flow is published, a versioned snapshot of its configuration is recorded. This endpoint lets you list all published versions for a flow or retrieve the full configuration for a specific version. Use it to audit configuration changes over time, compare versions, or inspect exactly what was live at a given point.

Authentication

Requires a valid tenant and one of the following roles: admin or editor.

List All Published Versions

Returns a summary list of all published versions for a decision flow. The full configSnapshot is omitted to keep the response lightweight — use the single-version endpoint below to fetch the full config.

Query Parameters

Example Request

Example Response

Response Fields


Get a Specific Version

Returns the full configuration snapshot for a single published version, including the complete flow definition (nodes, edges, stages, scoring config).

Query Parameters

Example Request

Example Response

Response Fields


Error Responses


Use the version list to build a visual timeline of flow changes in your CI/CD dashboard. The summary object gives you a quick diff indicator (node count changed, scoring method changed) without downloading the full config.
See also: Decision Flows | Decision Flow Rollback | Change History