Status API › Components
Get a component
GET/api/v1/components/{componentID}
Returns one component with its stored current_status (the page's component
list shows a monitor-linked component's live state instead).
Permission (API-key scope): status:component:read.
Authorization
bearerAuth(status:component:read)apiKeyHeader(status:component:read)
Parameters
Path parameters
componentIDstring (uuid) requiredThe component's id (a UUID).
Responses
200
The component.
dataComponent requiredShow Component properties
idstring (uuid) requiredorg_idstring requiredpage_idstring (uuid) requirednamestring requireddescriptionstringsourcestring requiredmonitor_idstringThe Uptime monitor it mirrors (sourceuptime_monitor).current_statusComponentStatus requiredpositioninteger requiredgroupstringThe group (product) it appears under; absent when ungrouped.shown_statusComponentStatusIn the page's component list only, and only when a live incident or maintenance shows it differently fromcurrent_statuson the public page.shown_becausestringThe live incident's or maintenance's title that makes visitors seeshown_status.created_atstring (date-time) requiredupdated_atstring (date-time) required
successboolean required
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
404
No such item, or one the caller cannot see (NOT_FOUND).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThis request's id, also inX-Request-ID.
Example request
curl -X GET 'https://evohub.io/api/v1/components/a7c1e3f5-2b4d-4c6e-8f0a-1b3d5f7a9c2e' \
-H 'Authorization: Bearer <TOKEN>'