API ReferenceWorkflows
Get workflow
Get a workflow the team owns or a public workflow.
Authorization
ApiKeyAuth AuthorizationBearer <token>
Team API key (prefix sk_). You may also send the key via X-Api-Key header.
In: header
Path Parameters
workflowId*string
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/console/workflows/string"{ "message": "Success", "data": { "system_prompt": "string", "rules": [ { "id": "string", "name": "string", "trigger": "string", "condition": "string", "response": "string", "action": "string", "enabled": true } ], "flows": [ { "name": "string", "description": "string", "category": "support", "priority": 5, "is_active": true, "trigger_keywords": [ { "keyword": "string", "weight": "high" } ], "conversation_steps": [ { "type": "text_response", "content": "string", "action": "string", "followup": "string" } ] } ], "tags": [ "string" ], "integrations": [ "string" ], "channels": [ "string" ], "actions": [ "string" ], "guide": { "youtubeUrl": "string", "steps": [ "Step 1: Configure your store", "Step 2: Add products" ] }, "faq": [ { "question": "string", "answer": "string" } ], "setup_steps": [ "string" ], "setup_time": 0, "video_url": "string", "id": "string", "name": "string", "description": "string", "category": "string", "visibility": "private", "is_owner": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }}{ "message": "string", "error": "string", "code": "string", "statusCode": 0, "request_id": "266ea41d-adf5-480b-af50-15b940c2b846"}