Skip to main content
POST
Publish template version

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

templateId
string<uuid>
required

Template ID

Body

application/json

Body

Request body for publishing a new template version

prompt
string

User prompt to copy into workflow config

schemaId
string<uuid>

data_schemas ID to reference (mutually exclusive with schemaFields)

schemaFields
object[]

Schema fields to create a new schema inline

schemaEntity
string

Entity name for the inline schema

schemaValidationRules
object

Schema validation rules to include in this version

notifications
object[]

Notification configuration for this version

frequency
object

Response

201

Response for template version create/update

error
enum<boolean>
required

Error flag (always false on success)

Available options:
false
success
enum<boolean>
required

Success flag

Available options:
true
data
object
required

Template version