---
title: "Get all components"
method: GET
path: "/api/status-page/{statusPageId}/component"
tags: ["Status Page Components"]
---

# Get all components

`GET /api/status-page/{statusPageId}/component`

## Request

- Base URL: `https://api.spike.sh`
- URL: `https://api.spike.sh/api/status-page/{statusPageId}/component`
- Auth: none declared. Required headers: `x-api-key`
- TypeScript: <https://skmtc.dev/spike/apis/spike-sh-api/docs/api/status-page/:statusPageId/component/get.ts> (a function with typed inputs; its response is checked against the schema)

Gets a list of all components linked to a status page

## Path parameters

- `statusPageId` string, required

## Headers

- `x-api-key` string, required

## Response `200`

List of components

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/spike/apis/spike-sh-api.md) - [All operations](https://skmtc.dev/spike/apis/spike-sh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spike/apis/spike-sh-api/revisions/6854629119aa?raw)
