GET /v1/ai/workflow/chat/debug
Get debug data for an AI chat session
GET
/v1/ai/workflow/chat/debug
Get debug data for an AI chat session
Query Parameters
conversationId
string
optional
query
Conversation ID (preferred, stable identifier)
workflowId
string
optional
query
Workflow ID (for edit page, legacy)
sessionId
string
optional
query
Session ID (for create page, legacy)
Request Body
application/jsonResponses
200
OK
application/jsoncode
integer
data
integer[]
Array of:
message
string
requestId
string
400
Bad Request
curl -X GET 'https://api.example.com/v1/ai/workflow/chat/debug' \ -H 'Authorization: Bearer YOUR_API_TOKEN' \ -H 'Content-Type: application/json' \ -d '{}'
const response = await fetch('https://api.example.com/v1/ai/workflow/chat/debug', { method: 'GET', headers: { "Authorization": "Bearer YOUR_API_TOKEN", "Content-Type": "application/json" }, body: JSON.stringify({})});const data = await response.json();console.log(data);
import requestsheaders = { 'Authorization': 'Bearer YOUR_API_TOKEN'}response = requests.get('https://api.example.com/v1/ai/workflow/chat/debug', headers=headers, json={})print(response.json())
package mainimport ( "fmt" "io" "net/http" "strings")func main() { body := strings.NewReader(`{}`) req, _ := http.NewRequest("GET", "https://api.example.com/v1/ai/workflow/chat/debug", body) req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN") req.Header.Set("Content-Type", "application/json") resp, _ := http.DefaultClient.Do(req) defer resp.Body.Close() result, _ := io.ReadAll(resp.Body) fmt.Println(string(result))}
200
Response
{ "code": 200, "data": [ 123 ], "message": "success", "requestId": "<string>"}
API Playground
Try this endpoint
GET
/v1/ai/workflow/chat/debug
