Fetch an archived workflow version
GET/v1/projects/:project_id/workflows/:workflow_id/versions/:version
Returns the exact state machine a given version describes. Every task records the version it runs on in workflow_version, fixed at creation and moved only by migrate-task, so this is how you read the definition a task is actually being validated against — including a task whose workflow has been rewired since.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
Archived workflow version
Bad request — version is not a positive integer
Unauthorized
Forbidden
Not found
QUOTA_EXCEEDED — a requests quota on the calling API key or its project is spent for the window; Retry-After says when it reopens
Response Headers
Retry-After
Seconds until the quota window admits a request again
Unexpected server error — INTERNAL_ERROR, with the raw message never forwarded