Keep maintenance API

The maintenance API from Keep — 2 operation(s) for maintenance.

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/keep-maintenance-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

keep-maintenance-api-openapi.yml Raw ↑
openapi: 3.0.2
info:
  title: Keep actions maintenance API
  description: Rest API powering https://platform.keephq.dev and friends 🏄‍♀️
  version: 0.24.5
tags:
- name: maintenance
paths:
  /maintenance:
    get:
      tags:
      - maintenance
      summary: Get Maintenance Rules
      description: Get all maintenance rules
      operationId: get_maintenance_rules_maintenance_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MaintenanceRuleRead'
                type: array
                title: Response Get Maintenance Rules Maintenance Get
      security:
      - API Key: []
      - HTTPBasic: []
      - OAuth2PasswordBearer: []
    post:
      tags:
      - maintenance
      summary: Create Maintenance Rule
      description: Create a new maintenance rule
      operationId: create_maintenance_rule_maintenance_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaintenanceRuleCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceRuleRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - HTTPBasic: []
      - OAuth2PasswordBearer: []
  /maintenance/{rule_id}:
    put:
      tags:
      - maintenance
      summary: Update Maintenance Rule
      description: Update an existing maintenance rule
      operationId: update_maintenance_rule_maintenance__rule_id__put
      parameters:
      - required: true
        schema:
          type: integer
          title: Rule Id
        name: rule_id
        in: path
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MaintenanceRuleCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceRuleRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - HTTPBasic: []
      - OAuth2PasswordBearer: []
    delete:
      tags:
      - maintenance
      summary: Delete Maintenance Rule
      description: Delete a maintenance rule
      operationId: delete_maintenance_rule_maintenance__rule_id__delete
      parameters:
      - required: true
        schema:
          type: integer
          title: Rule Id
        name: rule_id
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - HTTPBasic: []
      - OAuth2PasswordBearer: []
components:
  schemas:
    MaintenanceRuleRead:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
        created_by:
          type: string
          title: Created By
        cel_query:
          type: string
          title: Cel Query
        start_time:
          type: string
          format: date-time
          title: Start Time
        end_time:
          type: string
          format: date-time
          title: End Time
        duration_seconds:
          type: integer
          title: Duration Seconds
        updated_at:
          type: string
          format: date-time
          title: Updated At
        suppress:
          type: boolean
          title: Suppress
          default: false
        enabled:
          type: boolean
          title: Enabled
          default: true
      type: object
      required:
      - id
      - name
      - created_by
      - cel_query
      - start_time
      - end_time
      title: MaintenanceRuleRead
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MaintenanceRuleCreate:
      properties:
        name:
          type: string
          title: Name
        description:
          type: string
          title: Description
        cel_query:
          type: string
          title: Cel Query
        start_time:
          type: string
          format: date-time
          title: Start Time
        duration_seconds:
          type: integer
          title: Duration Seconds
        suppress:
          type: boolean
          title: Suppress
          default: false
        enabled:
          type: boolean
          title: Enabled
          default: true
      type: object
      required:
      - name
      - cel_query
      - start_time
      title: MaintenanceRuleCreate
  securitySchemes:
    API Key:
      type: apiKey
      in: header
      name: X-API-KEY
    HTTPBasic:
      type: http
      scheme: basic
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: token