cURL
curl --request GET \ --url https://api.trillet.ai/v1/api/call-flows/{id} \ --header 'x-api-key: <x-api-key>' \ --header 'x-workspace-id: <x-workspace-id>'
{ "_id": "exampleId", "workspaceId": "workspacePlaceholder", "name": "Customer Support Flow", "direction": "inbound", "description": "Handles inbound support calls", "agent": "agentPlaceholder", "promptType": "simple", "flowData": { "nodes": [], "edges": [] }, "prompt": "Keep the conversation short and friendly.", "isActive": true, "settings": { "knowledgeBases": [], "responseSettings": { "delay": 0 }, "security": { "hipaaCompliance": false }, "callSetting": { "maxCallDuration": 600, "endCallOnSilence": 10 } }, "createdAt": "2025-01-03T11:00:00Z", "updatedAt": "2025-01-03T11:10:00Z", "__v": 0 }
Retrieve a specific call flow by its ID.