Agentic - Work Flows
Get work flow by ID
get/api/v1/agentic/work-flows/{id}
Request
- Base URL: https://api.voicelogica.ai
- URL: https://api.voicelogica.ai/api/v1/agentic/work-flows/{id}
- Auth: API key in header x-api-key
Path parameters
idstring required
Headers
x-api-keystring required
Your API key for authentication. Required for all endpoints.
x-company-idstring
Optional company ID for resellers. When provided, the API request will operate on behalf of the specified subsidiary company. The API key must have access to the specified company.
Response
Work Flow retrieved successfully
Example response
{
"id": "507f1f77bcf86cd799439011",
"createdAt": "2024-01-15T10:30:00.000Z",
"active": true,
"createdBy": "John Doe",
"createdById": "123",
"modifiedAt": "2024-01-15T10:30:00.000Z",
"modifiedBy": "Jane Doe",
"modifiedById": "456",
"companyId": "507f1f77bcf86cd799439012",
"name": "Handle Incoming Call",
"description": "Automated call handling flow",
"type": "flow",
"executeAt": "immediate",
"visibility": "private",
"trigger": {
"nodeType": "onCallStart",
"nodeTitle": "Call Start Trigger",
"triggerConfig": {
"enabled": true,
"triggerType": "onCallStart",
"description": "Trigger when a new call starts"
}
},
"nodes": [
{
"id": 1,
"name": "Welcome Message",
"position": {
"x": 100,
"y": 100
},
"inputs": {},
"outputs": {
"default": [
{
"node": "2",
"output": "default"
}
]
},
"className": "conversation-node",
"data": {
"nodeType": "llmCompletionConfig",
"nodeTitle": "Welcome Message",
"transitions": [
{
"type": "success",
"label": "Continue to next step"
}
]
}
}
],
"connections": [
{
"node": "2",
"input": "default",
"output": "default",
"label": "Continue"
}
],
"files": [
{
"id": "file_123",
"filename": "welcome.wav",
"s3Id": "s3-file-123",
"displayUrl": "https://example.com/files/welcome.wav"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.