inc is the official command-line interface for the incident.io API. Use it to list and manage incidents, page people, inspect schedules, and script against your incident data without leaving the terminal. It’s built for both humans and LLM agents: every command supports JSON output, and the full command schema is machine-discoverable.
The CLI is open source at github.com/incident-io/inc.
Note that we recommend the MCP as the primary integration tool.
Install
Authenticate
Create an API key in Settings → API keys, then either export it or save it to the CLI’s config:Everyday commands
inc --help for the full command list, covering incidents, alerts, catalog, escalations, schedules, severities, users, roles, custom fields, post-mortems, and follow-ups.
Scripting and JSON output
When you pipe output, the CLI automatically switches to JSON. Use the built-in--jq flag to filter responses without installing anything else:
retryable field to gate retries on and a request_id you can share with our support team. Rate-limited requests retry automatically.
Call any endpoint
If a dedicated command doesn’t exist yet,inc api can call any endpoint in the API reference with authentication pre-configured:
For LLM agents
The CLI supports agent use as well.inc describe outputs a JSON schema of every command and flag, and --dry-run previews any request without sending it: