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)
agentVersion string optional query
Caddie lane to restrict to (v1, v2, v3). When omitted and grouped=false: non-admin callers default to v2 (backward compat); admin callers get the most recently updated lane, so v3-only conversations stay visible.
grouped boolean optional query
When true, return both v2 and v3 lanes as { versions: { v2, v3 } }

Request Body

application/json

Responses

200 OK
application/json
code 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>"}