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

flowIdstringRequiredformat: "uuid"
Flow ID

Request

This endpoint expects an object.
expectedVersionstring or nullOptional

Expected current version for optimistic locking (rejects with 409 if stale)

notesstring or nullOptional

Changelog notes describing what changed in this version (max 1000 characters)

versionstring or nullOptional

Explicit version override in X.Y.Z format (auto-increments patch if omitted)

Response

Flow published
flowobject
Flow detail after publishing
versionstring
Newly published version string
changeSummaryobject or nullOptional

Top-level change summary stored in flow_versions.change_summary

transformationSummaryobject or nullOptional
Transformation summary for publish response
warningslist of objects or nullOptional

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