Keep · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Keep Rules API

5 actions 5 updates phrasing extends openapi/keep-rules-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Keep's API. It is a proposal applied on top of the contract, not a document Keep publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/rules'].get
$.paths['/rules'].post
$.paths['/rules/{rule_id}'].put
$.paths['/rules/{rule_id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Keep Rules API
  version: 1.0.0
extends: openapi/keep-rules-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/rules'].get
  update:
    x-apievangelist-phrasing:
      intent: List data retention rules
      effect: read
      questions:
      - Which data retention rules are configured for my Keep account?
      - What SQL and CEL queries do my retention rules use?
      instructions:
      - text: List all data retention rules.
      - text: Show every retention rule with its SQL and CEL queries.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/rules'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a data retention rule
      effect: write
      questions:
      - How do I keep only the latest N records per group and delete the rest?
      - Can a new retention rule require approval before it takes effect?
      instructions:
      - text: Create retention rule {ruleName} running SQL {sqlQuery} and CEL {celQuery} every {timeframeInSeconds} {timeUnit}.
        slots:
          ruleName: requestBody.ruleName
          sqlQuery: requestBody.sqlQuery
          celQuery: requestBody.celQuery
          timeframeInSeconds: requestBody.timeframeInSeconds
          timeUnit: requestBody.timeUnit
      - text: Add retention rule {ruleName} that resolves on {resolveOn} and requires approval.
        slots:
          ruleName: requestBody.ruleName
          resolveOn: requestBody.resolveOn
      method: generated
      generated: '2026-11-22'
- target: $.paths['/rules/{rule_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a data retention rule
      effect: write
      questions:
      - Can I change the SQL query of an existing retention rule?
      - Is it possible to rename a retention rule?
      instructions:
      - text: Update retention rule {rule_id} with a new SQL query.
        slots:
          rule_id: path.rule_id
      - text: Rename retention rule {rule_id}.
        slots:
          rule_id: path.rule_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/rules/{rule_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a data retention rule
      effect: destructive
      questions:
      - How do I remove a data retention rule?
      - Can I delete a retention rule that is still in use?
      instructions:
      - text: Delete retention rule {rule_id}.
        slots:
          rule_id: path.rule_id
      - text: Remove the data retention rule {rule_id}.
        slots:
          rule_id: path.rule_id
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/keep-rules-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.