{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bluejay Agents End Conversations API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "End Conversations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "End Conversations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.getbluejay.ai/v1/end-conversations",
            "headers": [
              {
                "name": "X-API-Key",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "End multiple running conversations by marking them in Redis for the LiveKit agent to terminate.\n\nThis endpoint:\n1. Checks that each test result exists and is in RUNNING status\n2. Writes control objects to Redis for the LiveKit agent to pick up\n3. Schedules a 30-second fallback watchdog for each conversation\n4. Returns which conversations were successfully marked for ending and which failed\n\nThe fallback watchdog ensures that if LiveKit fails to respond, the conversation\nstatus will be updated af"
        }
      ]
    }
  ],
  "bundled": true
}