curl "https://kodostatus.com/api/v1/status-pages" \
-H "X-API-Key: your_api_key"
const response = await fetch('https://kodostatus.com/api/v1/status-pages', {
headers: { 'X-API-Key': process.env.KODO_API_KEY }
});
const data = await response.json();
{
"pages": [
{
"id": "uuid",
"name": "Public Status",
"slug": "acme",
"custom_domain": null,
"logo_url": null,
"primary_color": "#22c55e",
"status_page_visibility": "public",
"is_default": true,
"service_count": 5,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-06-15T12:00:00Z"
},
{
"id": "uuid",
"name": "Internal Ops",
"slug": "acme-internal",
"custom_domain": null,
"logo_url": null,
"primary_color": "#3b82f6",
"status_page_visibility": "internal",
"is_default": false,
"service_count": 12,
"created_at": "2024-06-01T00:00:00Z",
"updated_at": "2024-06-15T12:00:00Z"
}
]
}
Status Pages
List Status Pages
Get all status pages for your organization
GET
/
status-pages
curl "https://kodostatus.com/api/v1/status-pages" \
-H "X-API-Key: your_api_key"
const response = await fetch('https://kodostatus.com/api/v1/status-pages', {
headers: { 'X-API-Key': process.env.KODO_API_KEY }
});
const data = await response.json();
{
"pages": [
{
"id": "uuid",
"name": "Public Status",
"slug": "acme",
"custom_domain": null,
"logo_url": null,
"primary_color": "#22c55e",
"status_page_visibility": "public",
"is_default": true,
"service_count": 5,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-06-15T12:00:00Z"
},
{
"id": "uuid",
"name": "Internal Ops",
"slug": "acme-internal",
"custom_domain": null,
"logo_url": null,
"primary_color": "#3b82f6",
"status_page_visibility": "internal",
"is_default": false,
"service_count": 12,
"created_at": "2024-06-01T00:00:00Z",
"updated_at": "2024-06-15T12:00:00Z"
}
]
}
This endpoint is API-key accessible.
Response
array
Show status page object
Show status page object
string
Unique status page identifier
string
Status page name
string
URL slug (used in
/status/{slug})string
Custom domain if configured
string
Logo image URL
string
Brand color hex code
string
Visibility mode:
public, private, internalboolean
Whether this is the organization’s default page
integer
Number of services assigned to this page
string
ISO 8601 creation timestamp
string
ISO 8601 last update timestamp
curl "https://kodostatus.com/api/v1/status-pages" \
-H "X-API-Key: your_api_key"
const response = await fetch('https://kodostatus.com/api/v1/status-pages', {
headers: { 'X-API-Key': process.env.KODO_API_KEY }
});
const data = await response.json();
{
"pages": [
{
"id": "uuid",
"name": "Public Status",
"slug": "acme",
"custom_domain": null,
"logo_url": null,
"primary_color": "#22c55e",
"status_page_visibility": "public",
"is_default": true,
"service_count": 5,
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-06-15T12:00:00Z"
},
{
"id": "uuid",
"name": "Internal Ops",
"slug": "acme-internal",
"custom_domain": null,
"logo_url": null,
"primary_color": "#3b82f6",
"status_page_visibility": "internal",
"is_default": false,
"service_count": 12,
"created_at": "2024-06-01T00:00:00Z",
"updated_at": "2024-06-15T12:00:00Z"
}
]
}
⌘I