List who switched a conversation's AI on or off
list_conversation_ai_switchesList who switched a conversation's AI on or off
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; 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`. | |
| conversation_id | Yes | One of the agent's conversations. Another agent's conversation, or a deleted one, is `404 not_found`. |