Skip to main content

Create from Definition

Create a voice agent from an explicit workflow definition
1 min read
post/api/v1/workflow/create/definition
Request example
Response
post/api/v1/workflow/create/definition

Creates an agent from a node and edge graph you provide directly. Use this when you want full control over the workflow structure, or when programmatically generating agents.

The workflow_definition object contains nodes (the steps in the conversation) and edges (transitions between steps). See Editing a Workflow for the full schema.

Headers

authorizationstring · null#
X-API-Keystring · null#

Body

application/json
namestringrequired#
workflow_definitionobjectrequired#

Responses

application/json
Successful Response
idintegerrequired#
namestringrequired#
statusstringrequired#
created_atstringrequired#
workflow_definitionobjectrequired#
current_definition_idinteger · nullrequired#
Show child attributes
template_context_variablesobject · null#
Show child attributes
call_disposition_codesobject · null#
Show child attributes
total_runsinteger · null#
Show child attributes
workflow_configurationsobject · null#
Show child attributes
version_numberinteger · null#
Show child attributes
version_statusstring · null#
Show child attributes
workflow_uuidstring · null#
Show child attributes