Prerequisites
- incident.io account
- incident.io API key with read access to incidents and incident updates
- Write permission if you want OpenSRE to append findings to incident summaries
Setup
Interactive CLI
Environment variables
| Variable | Default | Description |
|---|---|---|
INCIDENT_IO_API_KEY | - | Required incident.io API key |
INCIDENT_IO_BASE_URL | https://api.incident.io | Optional API URL override for tests or private routing |
Verify
GET /v2/incidents request.
Investigation Behavior
When an alert includes an incident.io incident ID or URL, OpenSRE makes theincident_io_incidents action available with action="context". That reads:
- incident metadata from
GET /v2/incidents/{id} - incident updates from
GET /v2/incident_updates?incident_id={id}
action="list" to list live incidents.
Write-Back
OpenSRE does not create native timeline events. incident.io’s public v2 API supports editing incidents, so OpenSRE write-back uses:action="append_summary" only after the RCA has useful findings or next steps ready to publish.
Tracer