curl --request GET \
--url https://api.example.com/api/v1/chatflows/{id}{
"401": {},
"403": {},
"404": {},
"412": {},
"500": {},
"id": "<string>",
"name": "<string>",
"flowData": "<string>",
"deployed": true,
"isPublic": true,
"apikeyid": "<string>",
"chatbotConfig": "<string>",
"apiConfig": "<string>",
"analytic": "<string>",
"speechToText": "<string>",
"textToSpeech": "<string>",
"followUpPrompts": "<string>",
"type": "<string>",
"category": "<string>",
"workspaceId": "<string>",
"createdDate": "<string>",
"updatedDate": "<string>"
}Retrieve a specific chatflow by ID
curl --request GET \
--url https://api.example.com/api/v1/chatflows/{id}{
"401": {},
"403": {},
"404": {},
"412": {},
"500": {},
"id": "<string>",
"name": "<string>",
"flowData": "<string>",
"deployed": true,
"isPublic": true,
"apikeyid": "<string>",
"chatbotConfig": "<string>",
"apiConfig": "<string>",
"analytic": "<string>",
"speechToText": "<string>",
"textToSpeech": "<string>",
"followUpPrompts": "<string>",
"type": "<string>",
"category": "<string>",
"workspaceId": "<string>",
"createdDate": "<string>",
"updatedDate": "<string>"
}chatflows:view, chatflows:update, chatflows:delete, agentflows:view, agentflows:update, or agentflows:deleteCHATFLOW, AGENTFLOW, MULTIAGENT, or ASSISTANTcurl -X GET "https://your-flowise-instance.com/api/v1/chatflows/123e4567-e89b-12d3-a456-426614174000" \
-H "Authorization: Bearer YOUR_API_KEY"
const chatflowId = '123e4567-e89b-12d3-a456-426614174000';
const response = await fetch(`https://your-flowise-instance.com/api/v1/chatflows/${chatflowId}`, {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const chatflow = await response.json();
import requests
chatflow_id = '123e4567-e89b-12d3-a456-426614174000'
response = requests.get(
f'https://your-flowise-instance.com/api/v1/chatflows/{chatflow_id}',
headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
chatflow = response.json()
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Customer Support Bot",
"flowData": "{\"nodes\":[{\"id\":\"node1\",\"type\":\"chatOpenAI\",\"data\":{}}],\"edges\":[]}",
"deployed": true,
"isPublic": false,
"apikeyid": "abc123",
"chatbotConfig": "{\"welcomeMessage\":\"Hello! How can I help you today?\",\"allowedOrigins\":[\"https://example.com\"]}",
"apiConfig": null,
"analytic": null,
"speechToText": null,
"textToSpeech": null,
"followUpPrompts": null,
"type": "CHATFLOW",
"category": "Support",
"workspaceId": "workspace-123",
"createdDate": "2024-01-15T10:30:00.000Z",
"updatedDate": "2024-01-20T14:45:00.000Z"
}
{
"message": "Chatflow not found"
}