Sazabi
APIComponents

List components

GET
/components

List status page components in a project.

Query Parameters

projectId?string

Project to list components for. Auto-filled from CLI and SDK context when omitted.

Formatuuid
limit?integer

Maximum number of components to return per page.

Range1 <= value <= 100
Default50
cursor?string

Cursor from a previous response's nextCursor to fetch the next page.

Formatuuid
includeDeleted?|

When true, include inactive and merged components.

Defaultfalse

Response Body

application/json

curl -X GET "https://example.com/components"
{  "components": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",      "name": "string",      "description": "string",      "origin": "user_declared",      "lifecycle": "active",      "observationState": "observed",      "registryRevision": 0,      "canonicalComponentId": "db6a73a5-21af-4453-8aa4-72d41f15a785",      "mergedIntoComponentId": "a54e76d3-7757-4ae7-813e-d2ee19ad938e",      "currentStatus": "operational",      "firstSeenAt": "2019-08-24T14:15:22Z",      "lastSeenAt": "2019-08-24T14:15:22Z",      "deletedAt": "2019-08-24T14:15:22Z",      "inactiveAt": "2019-08-24T14:15:22Z",      "inactiveReason": "string",      "legacyStateUnknown": true    }  ],  "nextCursor": "53a4a333-2825-45a4-80d2-5f430d088f36"}