Back to docs

API Reference

POST /copilot/chat

POST/api/v1/copilot/chat

Direct REST endpoint for LLM-based incident summaries, rule explainability, and hardening recommendations without using the MCP JSON-RPC protocol.

Request

{
  "messages": [
    { "role": "user", "content": "Explain why this prompt was blocked" }
  ]
}

Response (SSE Stream)

data: {"content": "The prompt was blocked because..."}