Reference

API Reference

Seren exposes a REST API so you can trigger investigations programmatically.

Trigger Investigation

http
POST /api/investigate
Content-Type: application/json

{
  "incident_id": "INC-1234",
  "source": "pagerduty",
  "user_id": "uuid"
}

Get Investigation

http
GET /api/investigations/:id

Response:
{
  "id": "inv_abc123",
  "status": "completed",
  "root_cause": "...",
  "timeline": [],
  "evidence": []
}

List Investigations

http
GET /api/investigations?user_id=uuid&limit=20