Cachet Incidents API

The Incidents API from Cachet — 2 operation(s) for incidents.

GitHub OpenAPI

Operations 6

GET /incidents List Incidents #
DELETE /incidents Delete Incidents #
POST /incidents Create Incident #
GET /incidents/{incident} Get Incident #
PUT /incidents/{incident} Update Incident #
DELETE /incidents/{incident} Delete Incident #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cachethq:cachethq-incidents-api"
All apis
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.

Get an API 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 Specification

cachethq-incidents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cachethq Incidents API
  version: 0.0.1
  description: 'Operations tagged Incidents 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: Incidents
paths:
  /incidents:
    get:
      operationId: cachet.api.incidents.index
      summary: List Incidents
      tags:
      - Incidents
      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[name]
        in: query
        schema:
          type: string
      - name: filter[status]
        in: query
        schema:
          type: string
      - name: filter[occurs_after]
        in: query
        schema:
          type: string
      - name: filter[occurs_before]
        in: query
        schema:
          type: string
      - name: filter[occurs_on]
        in: query
        schema:
          type: string
      - name: filter[meta]
        in: query
        schema:
          type: string
      - name: sort
        in: query
        schema:
          type: array
          default:
          - -created_at
          items:
            type: string
            enum:
            - name
            - -name
            - status
            - -status
            - id
            - -id
            - created_at
            - -created_at
        explode: false
      - 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 `Incident`
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Incident'
                  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/User'
                      - $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: incident.destroyMany
      summary: Delete Incidents
      tags:
      - Incidents
      parameters:
      - name: ids
        in: query
        required: true
        description: Comma-separated incident 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.incidents.store
      summary: Create Incident
      tags:
      - Incidents
      requestBody:
        description: '`CreateIncidentRequestData`'
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateIncidentRequestData'
      responses:
        '200':
          description: '`Incident`'
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Incident'
                  included:
                    type: array
                    items:
                      anyOf:
                      - $ref: '#/components/schemas/Component'
                      - $ref: '#/components/schemas/Update'
                      - $ref: '#/components/schemas/User'
                      - $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.
  /incidents/{incident}:
    get:
      operationId: cachet.api.incidents.show
      summary: Get Incident
      tags:
      - Incidents
      parameters:
      - name: incident
        in: path
        required: true
        description: The incident 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: '`Incident`'
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Incident'
                  included:
                    type: array
                    items:
                      anyOf:
                      - $ref: '#/components/schemas/Component'
                      - $ref: '#/components/schemas/Update'
                      - $ref: '#/components/schemas/User'
                      - $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.incidents.update
      summary: Update Incident
      tags:
      - Incidents
      parameters:
      - name: incident
        in: path
        required: true
        description: The incident ID
        schema:
          type: integer
      requestBody:
        description: '`UpdateIncidentRequestData`'
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateIncidentRequestData'
      responses:
        '200':
          description: '`Incident`'
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Incident'
                  included:
                    type: array
                    items:
                      anyOf:
                      - $ref: '#/components/schemas/Component'
                      - $ref: '#/components/schemas/Update'
                      - $ref: '#/components/schemas/User'
                      - $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.incidents.destroy
      summary: Delete Incident
      tags:
      - Incidents
      parameters:
      - name: incident
        in: path
        required: true
        description: The incident 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
    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
    IncidentStatusEnum:
      type: integer
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      title: IncidentStatusEnum
    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
    IncidentComponentRequestData:
      type: object
      properties:
        id:
          type: integer
        status:
          $ref: '#/components/schemas/ComponentStatusEnum'
      required:
      - id
      - status
      title: IncidentComponentRequestData
    ComponentGroupIdentifier:
      type: object
      properties:
        type:
          type: string
          enum:
          - componentGroups
        id:
          type: string
      required:
      - type
      - id
      title: ComponentGroupIdentifier
    ScheduleIdentifier:
      type: object
      properties:
        type:
          type: string
          enum:
          - schedules
        id:
          type: string
      required:
      - type
      - id
      title: ScheduleIdentifier
    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
    CreateIncidentRequestData:
      type: object
      properties:
        name:
          type: string
          maxLength: 255
        status:
          $ref: '#/components/schemas/IncidentStatusEnum'
        message:
          type:
          - string
          - 'null'
        template:
          type:
          - string
          - 'null'
        visible:
          type: boolean
          default: false
        stickied:
          type: boolean
          default: false
        notifications:
          type: boolean
          default: false
        occurred_at:
          type:
          - string
          - 'null'
          format: date-time
        published_at:
          type:
          - string
          - 'null'
          format: date-time
        template_vars:
          type: array
          default: []
          items:
            type: string
        component_id:
          type:
          - integer
          - 'null'
        component_status:
          anyOf:
          - $ref: '#/components/schemas/ComponentStatusEnum'
          - type: 'null'
        components:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/IncidentComponentRequestData'
        tags:
          type: array
          default: []
          items:
            type: string
        meta:
          type:
          - object
          - 'null'
          additionalProperties: {}
      required:
      - name
      - status
      title: CreateIncidentRequestData
    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
    UpdateIncidentRequestData:
      type: object
      properties:
        name:
          type: string
          maxLength: 255
        message:
          type:
          - string
          - 'null'
        status:
          anyOf:
          - $ref: '#/components/schemas/IncidentStatusEnum'
          - type: 'null'
        visible:
          type:
          - boolean
          - 'null'
        stickied:
          type:
          - boolean
          - 'null'
        notifications:
          type:
          - boolean
          - 'null'
        occurred_at:
          type:
          - string
          - 'null'
          format: date-time
        published_at:
          type:
          - string
          - 'null'
          format: date-time
        tags:
          type:
          - array
          - 'null'
          items:
            type: string
        meta:
          type:
          - object
          - 'null'
          additionalProperties: {}
      title: UpdateIncidentRequestData
    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
    User:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          enum:
          - users
        attributes:
          type: object
          properties:
            id: {}
          required:
          - id
      required:
      - id
      - type
      title: User
  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