Cachet Components API
The Components API from Cachet — 2 operation(s) for components.
The Components API from Cachet — 2 operation(s) for components.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/cachethq:cachethq-components-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Cachethq Components API
version: 0.0.1
description: 'Operations tagged Components across 2 of this provider''s published API definitions: cachethq-openapi.json, openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:8001/api
- url: https://v3.cachethq.io/api
description: The Cachet v3 demo server.
security:
- http: []
tags:
- name: Components
paths:
/components:
get:
operationId: cachet.api.components.index
summary: List Components
tags:
- Components
parameters:
- name: filter[meta][key]
in: query
description: Filter by a metadata key/value pair.
schema: {}
example: eu-west
- name: per_page
in: query
description: How many items to show per page.
schema:
type: integer
default: 15
example: 20
- name: page
in: query
description: Which page to show.
schema:
type: integer
example: 2
- name: filter[meta]
in: query
schema:
type: string
- name: sort
in: query
schema:
type: array
items:
type: string
enum:
- name
- -name
- order
- -order
- id
- -id
explode: false
- name: filter[status]
in: query
description: Filter by status
schema:
$ref: '#/components/schemas/ComponentStatusEnum'
example: 1
- name: filter[name]
in: query
description: Filter by name.
schema:
type: string
example: My Component
- name: filter[enabled]
in: query
description: Filter by enabled status.
schema:
type: boolean
example: '1'
- name: filter[tags]
in: query
description: Filter by one or more comma-separated tags.
schema:
type: string
example: api,database
- name: include
in: query
description: Include related data (group, incidents, meta).
schema:
type: array
items:
type: string
enum:
- group
- groupCount
- groupExists
- incidents
- meta
- metaCount
- metaExists
- tags
- tagsCount
- tagsExists
example: meta
explode: false
responses:
'200':
description: Paginated set of `Component`
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Component'
links:
type: object
properties:
first:
type: string
last:
type: string
prev:
type: string
next:
type: string
meta:
type: object
properties:
current_page:
type: integer
minimum: 1
from:
type:
- integer
- 'null'
minimum: 1
path:
type:
- string
- 'null'
description: Base path for paginator generated URLs.
per_page:
type: integer
description: Number of items shown per page.
minimum: 0
to:
type:
- integer
- 'null'
description: Number of the last item in the slice.
minimum: 1
required:
- current_page
- from
- path
- per_page
- to
included:
type: array
items:
anyOf:
- $ref: '#/components/schemas/ComponentGroup'
- $ref: '#/components/schemas/Incident'
- $ref: '#/components/schemas/Tag'
required:
- data
- links
- meta
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
security: []
delete:
operationId: component.destroyMany
summary: Delete Components
tags:
- Components
parameters:
- name: ids
in: query
required: true
description: Comma-separated component IDs to delete.
schema:
type: string
example: 1,2,3
responses:
'204':
description: No content
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
'403':
$ref: '#/components/responses/MissingAbilityException'
'401':
$ref: '#/components/responses/AuthenticationException'
post:
operationId: cachet.api.components.store
summary: Create Component
tags:
- Components
requestBody:
description: '`CreateComponentRequestData`'
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateComponentRequestData'
responses:
'200':
description: '`Component`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Component'
included:
type: array
items:
anyOf:
- $ref: '#/components/schemas/ComponentGroup'
- $ref: '#/components/schemas/Incident'
- $ref: '#/components/schemas/Tag'
required:
- data
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
'403':
$ref: '#/components/responses/MissingAbilityException'
'401':
$ref: '#/components/responses/AuthenticationException'
'422':
$ref: '#/components/responses/ValidationException'
servers:
- url: http://localhost:8001/api
- url: https://v3.cachethq.io/api
description: The Cachet v3 demo server.
/components/{component}:
get:
operationId: cachet.api.components.show
summary: Get Component
tags:
- Components
parameters:
- name: component
in: path
required: true
description: The component ID
schema:
type: integer
- name: include
in: query
description: Include related data (group, incidents, meta).
schema:
type: array
items:
type: string
enum:
- group
- groupCount
- groupExists
- incidents
- meta
- metaCount
- metaExists
- tags
- tagsCount
- tagsExists
example: meta
explode: false
responses:
'200':
description: '`Component`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Component'
included:
type: array
items:
anyOf:
- $ref: '#/components/schemas/ComponentGroup'
- $ref: '#/components/schemas/Incident'
- $ref: '#/components/schemas/Tag'
required:
- data
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
'404':
$ref: '#/components/responses/ModelNotFoundException'
security: []
put:
operationId: cachet.api.components.update
summary: Update Component
tags:
- Components
parameters:
- name: component
in: path
required: true
description: The component ID
schema:
type: integer
requestBody:
description: '`UpdateComponentRequestData`'
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateComponentRequestData'
responses:
'200':
description: '`Component`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Component'
included:
type: array
items:
anyOf:
- $ref: '#/components/schemas/ComponentGroup'
- $ref: '#/components/schemas/Incident'
- $ref: '#/components/schemas/Tag'
required:
- data
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
'403':
$ref: '#/components/responses/MissingAbilityException'
'404':
$ref: '#/components/responses/ModelNotFoundException'
'401':
$ref: '#/components/responses/AuthenticationException'
'422':
$ref: '#/components/responses/ValidationException'
delete:
operationId: cachet.api.components.destroy
summary: Delete Component
tags:
- Components
parameters:
- name: component
in: path
required: true
description: The component ID
schema:
type: integer
responses:
'204':
description: No content
'429':
description: Too many requests
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
'403':
$ref: '#/components/responses/MissingAbilityException'
'404':
$ref: '#/components/responses/ModelNotFoundException'
'401':
$ref: '#/components/responses/AuthenticationException'
servers:
- url: http://localhost:8001/api
- url: https://v3.cachethq.io/api
description: The Cachet v3 demo server.
components:
schemas:
ResourceVisibilityEnum:
type: integer
enum:
- 0
- 1
- 2
title: ResourceVisibilityEnum
UserIdentifier:
type: object
properties:
type:
type: string
enum:
- users
id:
type: string
required:
- type
- id
title: UserIdentifier
ComponentIdentifier:
type: object
properties:
type:
type: string
enum:
- components
id:
type: string
required:
- type
- id
title: ComponentIdentifier
ResourceOrderDirectionEnum:
type: string
enum:
- asc
- desc
title: ResourceOrderDirectionEnum
Tag:
type: object
properties:
id:
type: string
type:
type: string
enum:
- tags
attributes:
type: object
properties:
id:
type: integer
name:
type: string
slug:
type: string
required:
- id
- name
- slug
required:
- id
- type
title: Tag
ComponentGroup:
type: object
properties:
id:
type: string
type:
type: string
enum:
- componentGroups
attributes:
type: object
properties:
id:
type: integer
name:
type: string
order:
type: integer
order_column:
anyOf:
- $ref: '#/components/schemas/ResourceOrderColumnEnum'
- type: 'null'
order_direction:
anyOf:
- $ref: '#/components/schemas/ResourceOrderDirectionEnum'
- type: 'null'
collapsed:
$ref: '#/components/schemas/ComponentGroupVisibilityEnum'
visible:
$ref: '#/components/schemas/ResourceVisibilityEnum'
meta:
type: array
items: {}
created:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
updated:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
required:
- id
- name
- order
- order_column
- order_direction
- collapsed
- visible
- created
- updated
relationships:
type: object
properties:
components:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/ComponentIdentifier'
required:
- data
required:
- id
- type
title: ComponentGroup
ComponentGroupIdentifier:
type: object
properties:
type:
type: string
enum:
- componentGroups
id:
type: string
required:
- type
- id
title: ComponentGroupIdentifier
ComponentGroupVisibilityEnum:
type: integer
enum:
- 0
- 1
- 2
title: ComponentGroupVisibilityEnum
ResourceOrderColumnEnum:
type: string
enum:
- id
- last_updated
- name
- manual
- status
title: ResourceOrderColumnEnum
CreateComponentRequestData:
type: object
properties:
name:
type: string
maxLength: 255
description:
type:
- string
- 'null'
status:
default: 5
$ref: '#/components/schemas/ComponentStatusEnum'
link:
type:
- string
- 'null'
format: uri
order:
type:
- integer
- 'null'
minimum: 0
enabled:
type: boolean
default: true
component_group_id:
type:
- integer
- 'null'
minimum: 0
tags:
type: array
default: []
items:
type: string
meta:
type:
- object
- 'null'
additionalProperties: {}
required:
- name
title: CreateComponentRequestData
ComponentStatusEnum:
type: integer
enum:
- 1
- 2
- 3
- 4
- 5
- 6
title: ComponentStatusEnum
UpdateIdentifier:
type: object
properties:
type:
type: string
enum:
- updates
id:
type: string
required:
- type
- id
title: UpdateIdentifier
UpdateComponentRequestData:
type: object
properties:
name:
type:
- string
- 'null'
maxLength: 255
description:
type:
- string
- 'null'
status:
anyOf:
- $ref: '#/components/schemas/ComponentStatusEnum'
- type: 'null'
link:
type:
- string
- 'null'
format: uri
order:
type:
- integer
- 'null'
minimum: 0
enabled:
type:
- boolean
- 'null'
component_group_id:
type:
- integer
- 'null'
minimum: 0
tags:
type:
- array
- 'null'
items:
type: string
meta:
type:
- object
- 'null'
additionalProperties: {}
title: UpdateComponentRequestData
Component:
type: object
properties:
id:
type: string
type:
type: string
enum:
- components
attributes:
type: object
properties:
id:
type: integer
name:
type: string
description:
type:
- string
- 'null'
link:
type:
- string
- 'null'
order:
type:
- integer
- 'null'
status:
type: object
properties:
human:
type: string
enum:
- Operational
- Performance issues
- Partial outage
- Major outage
- Under maintenance
- Unknown
value:
type: integer
enum:
- 1
- 2
- 3
- 4
- 5
- 6
required:
- human
- value
latest_status:
type: object
properties:
human:
type: string
enum:
- Operational
- Performance issues
- Partial outage
- Major outage
- Under maintenance
- Unknown
value:
type: integer
enum:
- 1
- 2
- 3
- 4
- 5
- 6
required:
- human
- value
enabled:
type: boolean
meta:
type: array
items: {}
created:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
updated:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
pivot:
type: object
properties:
component_status:
type: object
properties:
human:
type:
- string
- 'null'
enum:
- Operational
- Performance issues
- Partial outage
- Major outage
- Under maintenance
- Unknown
- null
value:
type:
- integer
- 'null'
enum:
- 1
- 2
- 3
- 4
- 5
- 6
- null
required:
- human
- value
required:
- component_status
required:
- id
- name
- description
- link
- order
- status
- latest_status
- enabled
- created
- updated
relationships:
type: object
properties:
group:
type: object
properties:
data:
anyOf:
- $ref: '#/components/schemas/ComponentGroupIdentifier'
- type: 'null'
required:
- data
incidents:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/IncidentIdentifier'
required:
- data
tags:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/TagIdentifier'
required:
- data
required:
- id
- type
title: Component
Incident:
type: object
properties:
id:
type: string
type:
type: string
enum:
- incidents
attributes:
type: object
properties:
id:
type: integer
guid:
type: string
name:
type: string
message:
type: string
visible:
$ref: '#/components/schemas/ResourceVisibilityEnum'
stickied:
type: boolean
notifications:
type: integer
meta:
type: array
items: {}
components_count:
type: string
status:
type: object
properties:
human:
type:
- string
- 'null'
value:
type:
- string
- 'null'
required:
- human
- value
occurred:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
published:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
created:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
updated:
type: object
properties:
human:
type:
- string
- 'null'
string:
type:
- string
- 'null'
required:
- human
- string
required:
- id
- guid
- name
- message
- visible
- stickied
- notifications
- status
- occurred
- published
- created
- updated
relationships:
type: object
properties:
components:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/ComponentIdentifier'
required:
- data
updates:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/UpdateIdentifier'
required:
- data
user:
type: object
properties:
data:
anyOf:
- $ref: '#/components/schemas/UserIdentifier'
- type: 'null'
required:
- data
tags:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/TagIdentifier'
required:
- data
required:
- id
- type
title: Incident
IncidentIdentifier:
type: object
properties:
type:
type: string
enum:
- incidents
id:
type: string
required:
- type
- id
title: IncidentIdentifier
TagIdentifier:
type: object
properties:
type:
type: string
enum:
- tags
id:
type: string
required:
- type
- id
title: TagIdentifier
responses:
MissingAbilityException:
description: Authorization error
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
ValidationException:
description: Validation error
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Errors overview.
errors:
type: object
description: A detailed description of each field that failed validation.
additionalProperties:
type: array
items:
type: string
required:
- message
- errors
ModelNotFoundException:
description: Not found
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
AuthenticationException:
description: Unauthenticated
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
securitySchemes:
http:
type: http
scheme: bearer
x-refined-from:
- cachethq-openapi.json
- openapi.json