Publish a journey version with graph validation (deprecated)
Deprecated
Requires ADMIN. Deprecated.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”projectId
required
string
Project (tenant) identifier. Row-level tenant isolation is enforced on every query.
id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
definitionJson
required
JSON string of the journey definition.
string
Examplegenerated
{ "definitionJson": "example"}Responses
Section titled “Responses”Published.
Media typeapplication/json
object
versionId
string
version
integer
status
string
Missing/invalid path input (e.g. projectId) or invalid JSON body.
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Not authenticated (401 via requireAuthenticated) or insufficient project role (403).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Resource not found (or cross-tenant — same 404).
Media typeapplication/json
object
error
required
Human-readable error message.
string
message
string
Examplegenerated
{ "error": "example", "message": "example"}Invalid JSON, missing nodes, or graph validation failed (error=graph_validation_failed).
Media typeapplication/json
object
error
required
string
message
string
errors
Array<string>
issues
Array<object>
object
key
additional properties
any
draftId
string
key
additional properties
any
Examplegenerated
{ "error": "example", "message": "example", "errors": [ "example" ], "issues": [ {} ], "draftId": "example"}