flow-versions
List a process flow's promoted versions, newest first, with which one is live. Needs the fabric:orchestrate.read grant.
curl -sS -X POST https://fabric.wexa.ai/mcp/$FABRIC_PROJECT_ID \
-H "authorization: Bearer $FABRIC_API_KEY" \
-H "Mcp-Session-Id: $MCP_SESSION_ID" \
-H "content-type: application/json" -H "accept: application/json" \
-d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"flow-versions","arguments":{"process_flow_id":"6ab1945e7566f41b5c28e308"}}}'{
"content": [
{
"type": "text",
"text": "{\"lifecycle_id\":\"qlc_000180\",\"result\":{\"live_version\":1,\"process_flow_id\":\"6ab1945e7566f41b5c28e308\",\"versions\":[{\"id\":\"fver_c9593de3-f85c-48bb-bf39-32c923cf467e\",\"version\":1,\"status\":\"promoted\",\"agentCount\":0,\"promotedAt\":\"2026-09-21T20:32:39.381Z\"}]}}"
}
],
"isError": false
}Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
process_flow_id | string | Required | Process flow id. A process flow in this project. |
include_snapshot | boolean | Optional | Include each version's full process flow snapshot (large). Default false: the list is for choosing a version, not reading one. |
Errors
NotFound(404): the process flow has no version history yet.
Show full response
A real response, captured from a live call to flow-versions:
{
"lifecycle_id": "qlc_000180",
"result": {
"live_version": 1,
"process_flow_id": "6ab1945e7566f41b5c28e308",
"versions": [
{
"id": "fver_c9593de3-f85c-48bb-bf39-32c923cf467e",
"agentflowId": "6ab1945e7566f41b5c28e308",
"version": 1,
"status": "promoted",
"agentCount": 0,
"promotedBy": "6a79a770b6c128ccc24bfca7",
"promotedAt": "2026-09-21T20:32:39.381Z"
}
]
}
}More details
Each version is a snapshot of the whole process flow taken when it was promoted: every agent, its config, and the wiring. It captures structural changes (agents added, rewired, removed) that per-agent versions cannot. A process flow and the agents it names have their own histories, promoted and rolled back independently. See agent versions.
Status is promoted, superseded or rolled_back. live_version is authoritative and is not necessarily the highest number, because a rollback makes an earlier version live again without renumbering.
Promote with promote-flow; change which version is live with rollback-flow-version.
Not marked consequential: it is audited lightly and the project's write gate never holds it.
Every tool call works the same way: How every tool call works.