Publish flow
POST /api/v1/flows/:flowId/publish
Authentication
AuthorizationBearer
Pass a JWT access token or an API key (prefixed with tif_live_) as a Bearer token.
Path parameters
flowId
Flow ID
Request
This endpoint expects an object.
expectedVersion
Expected current version for optimistic locking (rejects with 409 if stale)
notes
Changelog notes describing what changed in this version (max 1000 characters)
version
Explicit version override in X.Y.Z format (auto-increments patch if omitted)
Response
Flow published
flow
Flow detail after publishing
version
Newly published version string
changeSummary
Top-level change summary stored in flow_versions.change_summary
transformationSummary
Transformation summary for publish response
warnings
Non-fatal validation warnings that did not block publishing
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error