انتقل إلى المحتوى الرئيسي

List who switched a conversation's AI on or off

GET 

/v1/agents/:agentId/conversations/:conversationId/ai-switches

x-scope: "conversations:read"

Every switch of the conversation's AI (ai_enabled), newest first, at most 50: the value it was switched to, where it came from (ai: the AI stopped responding by itself because the agent's ai_stop_when or Mojeeb's safety rules applied, with its one-line reason for your team, or because it opened a ticket while the ticket capture's disable_ai_on_ticket is on, with the reason Ticket #1007 opened; dashboard: a teammate; public_api: an API key or a connected AI assistant), the teammate who switched it, and when. Use it to tell why a conversation's AI is off. The timed pause after a teammate's reply (ai_paused_until) isn't a switch and isn't listed.

Request​

Responses​

The conversation's AI switches, newest first.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.