Cachet Schedules API
The Schedules API from Cachet — 2 operation(s) for schedules.
The Schedules API from Cachet — 2 operation(s) for schedules.
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-schedules-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 Schedules API
version: 0.0.1
description: 'Operations tagged Schedules 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: Schedules
paths:
/schedules:
get:
operationId: cachet.api.schedules.index
summary: List Schedules
tags:
- Schedules
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
- id
- -id
- scheduled_at
- -scheduled_at
- completed_at
- -completed_at
explode: false
- name: filter[name]
in: query
description: Filter the resources by name.
schema:
type: string
example: api
- name: filter[status]
in: query
description: Filter the resources by status.
schema:
$ref: '#/components/schemas/ScheduleStatusEnum'
- 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 (components, components.group, updates, user, meta).
schema:
type: array
items:
type: string
enum:
- components
- componentsCount
- componentsExists
- components.group
- updates
- updatesCount
- updatesExists
- user
- userCount
- userExists
- meta
- metaCount
- metaExists
- tags
- tagsCount
- tagsExists
example: meta
explode: false
responses:
'200':
description: Paginated set of `Schedule`
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Schedule'
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/Component'
- $ref: '#/components/schemas/Update'
- $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: schedule.destroyMany
summary: Delete Schedules
tags:
- Schedules
parameters:
- name: ids
in: query
required: true
description: Comma-separated schedule 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.schedules.store
summary: Create Schedule
tags:
- Schedules
requestBody:
description: '`CreateScheduleRequestData`'
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateScheduleRequestData'
responses:
'200':
description: '`Schedule`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Schedule'
included:
type: array
items:
anyOf:
- $ref: '#/components/schemas/Component'
- $ref: '#/components/schemas/Update'
- $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.
/schedules/{schedule}:
get:
operationId: cachet.api.schedules.show
summary: Get Schedule
tags:
- Schedules
parameters:
- name: schedule
in: path
required: true
description: The schedule ID
schema:
type: integer
- name: include
in: query
description: Include related data (components, components.group, updates, user, meta).
schema:
type: array
items:
type: string
enum:
- components
- componentsCount
- componentsExists
- components.group
- updates
- updatesCount
- updatesExists
- user
- userCount
- userExists
- meta
- metaCount
- metaExists
- tags
- tagsCount
- tagsExists
example: meta
explode: false
responses:
'200':
description: '`Schedule`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Schedule'
included:
type: array
items:
anyOf:
- $ref: '#/components/schemas/Component'
- $ref: '#/components/schemas/Update'
- $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.schedules.update
summary: Update Schedule
tags:
- Schedules
parameters:
- name: schedule
in: path
required: true
description: The schedule ID
schema:
type: integer
requestBody:
description: '`UpdateScheduleRequestData`'
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateScheduleRequestData'
responses:
'200':
description: '`Schedule`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Schedule'
included:
type: array
items:
anyOf:
- $ref: '#/components/schemas/Component'
- $ref: '#/components/schemas/Update'
- $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.schedules.destroy
summary: Delete Schedule
tags:
- Schedules
parameters:
- name: schedule
in: path
required: true
description: The schedule 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:
Update:
type: object
properties:
id:
type: string
type:
type: string
enum:
- updates
attributes:
type: object
properties:
id:
type: integer
updateable_id:
type: integer
updateable_type:
type: string
message:
type: string
status:
type: object
properties:
human:
type:
- string
- 'null'
enum:
- Investigating
- Identified
- Watching
- Fixed
- Reported
- null
value:
type:
- integer
- 'null'
enum:
- 0
- 1
- 2
- 3
- 4
- null
required:
- human
- value
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
- updateable_id
- updateable_type
- message
- created
- updated
relationships:
type: object
properties:
incident:
type: object
properties:
data:
anyOf:
- $ref: '#/components/schemas/IncidentIdentifier'
- type: 'null'
required:
- data
schedule:
type: object
properties:
data:
anyOf:
- $ref: '#/components/schemas/ScheduleIdentifier'
- type: 'null'
required:
- data
required:
- id
- type
title: Update
CreateScheduleRequestData:
type: object
properties:
name:
type: string
maxLength: 255
message:
type: string
scheduled_at:
type: string
format: date-time
completed_at:
type:
- string
- 'null'
format: date-time
published_at:
type:
- string
- 'null'
format: date-time
notifications:
type: boolean
default: false
components:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/ScheduleComponentRequestData'
tags:
type: array
default: []
items:
type: string
meta:
type:
- object
- 'null'
additionalProperties: {}
required:
- name
- message
- scheduled_at
title: CreateScheduleRequestData
Schedule:
type: object
properties:
id:
type: string
type:
type: string
enum:
- schedules
attributes:
type: object
properties:
id:
type: integer
name:
type: string
message:
type:
- string
- 'null'
meta:
type: array
items: {}
status:
type: object
properties:
human:
type: string
enum:
- Upcoming
- In progress
- Complete
value:
type: integer
enum:
- 0
- 1
- 2
required:
- human
- value
scheduled:
type: object
properties:
human:
type: string
string:
type: string
required:
- human
- string
completed:
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
- name
- message
- status
- scheduled
- completed
- 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
tags:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/TagIdentifier'
required:
- data
required:
- id
- type
title: Schedule
ComponentIdentifier:
type: object
properties:
type:
type: string
enum:
- components
id:
type: string
required:
- type
- id
title: ComponentIdentifier
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
ComponentGroupIdentifier:
type: object
properties:
type:
type: string
enum:
- componentGroups
id:
type: string
required:
- type
- id
title: ComponentGroupIdentifier
ScheduleComponentRequestData:
type: object
properties:
id:
type: integer
status:
$ref: '#/components/schemas/ComponentStatusEnum'
required:
- id
- status
title: ScheduleComponentRequestData
ScheduleIdentifier:
type: object
properties:
type:
type: string
enum:
- schedules
id:
type: string
required:
- type
- id
title: ScheduleIdentifier
UpdateScheduleRequestData:
type: object
properties:
name:
type:
- string
- 'null'
maxLength: 255
message:
type:
- string
- 'null'
scheduled_at:
type:
- string
- 'null'
format: date-time
completed_at:
type:
- string
- 'null'
format: date-time
published_at:
type:
- string
- 'null'
format: date-time
components:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/ScheduleComponentRequestData'
tags:
type:
- array
- 'null'
items:
type: string
meta:
type:
- object
- 'null'
additionalProperties: {}
title: UpdateScheduleRequestData
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
ScheduleStatusEnum:
type: integer
enum:
- 0
- 1
- 2
title: ScheduleStatusEnum
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
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