cURL
curl --request PATCH \ --url https://api.upon-ai.com/api/conversation-flows/{conversationFlowId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspaceId": 123, "global_prompt": "<string>", "model_choice": { "type": "<string>", "model": "<string>" }, "nodes": [ { "id": "<string>", "type": "<string>", "instruction": { "type": "<string>", "text": "<string>" }, "edges": [ { "id": "<string>", "transition_condition": { "type": "<string>", "prompt": "<string>" }, "destination_node_id": "<string>" } ] } ] } '
{ "conversation_flow_id": "<string>", "version": 123, "start_speaker": "<string>", "workspaceId": 123, "global_prompt": "<string>", "model_choice": { "type": "<string>", "model": "<string>" }, "nodes": [ { "id": "<string>", "type": "<string>", "instruction": { "type": "<string>", "text": "<string>" }, "edges": [ { "id": "<string>", "transition_condition": { "type": "<string>", "prompt": "<string>" }, "destination_node_id": "<string>" } ] } ] }
Apply partial updates to a conversation flow.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Conversation flow identifier.
Specific version to retrieve or update.
x >= 1
Show child attributes
Updated conversation flow.