Skip to main content
POST
/
api
/
mcp
/
analyze
Analyze Incident Mcp
curl --request POST \
  --url https://api.steadwing.com/api/mcp/analyze \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <x-api-key>' \
  --data '
{
  "error_log": "<string>",
  "files": [
    {
      "name": "<string>",
      "content": "<string>"
    }
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Headers

X-API-Key
string
required

Body

application/json

Request schema for MCP-based RCA analysis.

Note: organization_id is extracted from the API key, not from the request body.

error_log
string
required
files
FileContent · object[] | null

Response

Successful Response