cURL
curl --request POST \ --url https://api.upon-ai.com/api/conversation-flows \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspaceId": 123, "start_speaker": "<string>", "nodes": [ { "id": "<string>", "type": "<string>", "instruction": { "type": "<string>", "text": "<string>" }, "edges": [ { "id": "<string>", "transition_condition": { "type": "<string>", "prompt": "<string>" }, "destination_node_id": "<string>" } ] } ], "global_prompt": "<string>", "model_choice": { "type": "<string>", "model": "<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>" } ] } ] }
Compose a reusable flow graph for agents to attach to.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Newly created conversation flow.