When to use these endpoints
Use the status endpoints when you want to:- Drive an external status page or uptime monitor without provisioning Porter credentials.
- Alert on backlogs or stalled processing in Porter’s infrastructure, app, or datastore workers.
- Verify that the control plane is healthy before triggering a deploy or provisioning workflow from automation.
Endpoints
All endpoints are public (no authentication required) and returnHTTP 200 with a JSON ComponentHealth body.
| Method | Endpoint | Subsystem |
|---|---|---|
| GET | /api/v2/status/infra | Infrastructure provisioning |
| GET | /api/v2/status/apps | Application provisioning and deployment |
| GET | /api/v2/status/datastores | Datastore provisioning and management |
Response schema
Every endpoint returns the sameComponentHealth payload:
| Field | Type | Description |
|---|---|---|
status | string | Overall health: up, degraded, or down. |
live_pullers | integer | Number of active consumer pull requests across the subsystem. |
backlog | integer | Largest pending-message count among the subsystem’s consumers. |
in_flight | integer | Largest count of delivered-but-unacknowledged messages. |
oldest_unacked_seconds | integer | Age in seconds of the oldest unacknowledged piece of work. |
detail | string | Human-readable context describing the current status. |
Status values
up— The subsystem is processing work normally.degraded— Workers are running but a backlog, in-flight count, or unacked age has crossed the warning threshold.down— No live pullers are available, or the subsystem cannot process work.
Example
Fetch the current health of the infrastructure provisioning subsystem:detail string describing the condition:
Integrating with OpenStatus
To wire these endpoints into OpenStatus (or any similar uptime monitor):- Create a new HTTP monitor for each endpoint you want to track.
- Set the request URL to the relevant status endpoint (for example,
https://api.porter.run/api/v2/status/infra). - Assert that the response body’s
statusfield equalsup. Treatdegradedordownas a failed check. - Configure the monitor’s region and frequency to match your status page’s needs.

