Cachet Incident Templates API
The Incident Templates API from Cachet — 2 operation(s) for incident templates.
The Incident Templates API from Cachet — 2 operation(s) for incident templates.
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-incident-templates-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 Incident Templates API
version: 0.0.1
description: 'Operations tagged Incident Templates 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: Incident Templates
paths:
/incident-templates:
get:
operationId: cachet.api.incident-templates.index
summary: List Incident Templates
tags:
- Incident Templates
parameters:
- 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: sort
in: query
schema:
type: array
items:
type: string
enum:
- name
- -name
- slug
- -slug
- id
- -id
explode: false
- name: filter[name]
in: query
description: Filter by name
schema:
type: string
example: My Template
- name: filter[slug]
in: query
description: Filter by slug
schema:
type: string
example: my-template
responses:
'200':
description: Paginated set of `IncidentTemplate`
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/IncidentTemplate'
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
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: incidentTemplate.destroyMany
summary: Delete Incident Templates
tags:
- Incident Templates
parameters:
- name: ids
in: query
required: true
description: Comma-separated incident template 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.incident-templates.store
summary: Create Incident Template
tags:
- Incident Templates
requestBody:
description: '`CreateIncidentTemplateRequestData`'
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateIncidentTemplateRequestData'
responses:
'200':
description: '`IncidentTemplate`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/IncidentTemplate'
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.
/incident-templates/{incidentTemplate}:
get:
operationId: cachet.api.incident-templates.show
summary: Get Incident Template
tags:
- Incident Templates
parameters:
- name: incidentTemplate
in: path
required: true
description: The incident template ID
schema:
type: integer
responses:
'200':
description: '`IncidentTemplate`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/IncidentTemplate'
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.incident-templates.update
summary: Update Incident Template
tags:
- Incident Templates
parameters:
- name: incidentTemplate
in: path
required: true
description: The incident template ID
schema:
type: integer
requestBody:
description: '`UpdateIncidentTemplateRequestData`'
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateIncidentTemplateRequestData'
responses:
'200':
description: '`IncidentTemplate`'
content:
application/vnd.api+json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/IncidentTemplate'
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.incident-templates.destroy
summary: Delete Incident Template
tags:
- Incident Templates
parameters:
- name: incidentTemplate
in: path
required: true
description: The incident template 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:
responses:
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
MissingAbilityException:
description: Authorization error
content:
application/json:
schema:
type: object
properties:
message:
type: string
description: Error overview.
required:
- message
schemas:
IncidentTemplate:
type: object
properties:
id:
type: string
type:
type: string
enum:
- incidentTemplates
attributes:
type: object
properties:
id:
type: integer
name:
type: string
slug:
type: string
template:
type: string
engine:
$ref: '#/components/schemas/IncidentTemplateEngineEnum'
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
- slug
- template
- engine
- created
- updated
required:
- id
- type
title: IncidentTemplate
UpdateIncidentTemplateRequestData:
type: object
properties:
name:
type:
- string
- 'null'
maxLength: 255
template:
type:
- string
- 'null'
engine:
anyOf:
- $ref: '#/components/schemas/IncidentTemplateEngineEnum'
- type: 'null'
title: UpdateIncidentTemplateRequestData
CreateIncidentTemplateRequestData:
type: object
properties:
name:
type: string
maxLength: 255
template:
type: string
engine:
anyOf:
- $ref: '#/components/schemas/IncidentTemplateEngineEnum'
- type: 'null'
required:
- name
- template
title: CreateIncidentTemplateRequestData
IncidentTemplateEngineEnum:
type: string
enum:
- blade
- twig
title: IncidentTemplateEngineEnum
securitySchemes:
http:
type: http
scheme: bearer
x-refined-from:
- cachethq-openapi.json
- openapi.json