Overwing Rule sets API

Prebuilt and custom rule sets

GitHub OpenAPI

Operations 5

GET /api/v1/rule-sets List rule sets visible to this org #
POST /api/v1/rule-sets Create a custom rule set #
GET /api/v1/rule-sets/{slug} Fetch a rule set with its rules #
PATCH /api/v1/rule-sets/{slug} Update a custom rule set (rules, if given, replace the full list) #
DELETE /api/v1/rule-sets/{slug} Deactivate a custom rule set (soft delete) #

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/overwing-ai:overwing-ai-rule-sets-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

overwing-ai-rule-sets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Overwing Rule sets API
  version: 0.21.0
  contact:
    name: Overwing
    email: support@overwing.ai
    url: https://overwing.ai
  x-guidance: 'To check text before it is sent or acted on, POST /api/x402/evaluate with {"input": "<text>"} and pay $0.002 in USDC over x402; branch on recommended_action in the response (block, redact, review, allow). The text can be in any language; responses are in English, and GET /api/v1/languages lists the languages tested. Add rule_set "outbound-message" and a context object (recipient, channel, owns_contact_info) when the text is a message to a known recipient. To identify a bot, GET /api/x402/atlas/lookup?user_agent=<string> for $0.001. To try either with no payment and no key, call POST /api/v1/evaluate or GET /api/v1/atlas/lookup with no Authorization header, 10 a day each. Everything under /api/v1 other than those two needs a key from POST /api/v1/signup. Full guide: /llms.txt.'
  summary: Guardrails that check text before an agent sends it, open data on AI agents (Atlas), a check of whether a site is reachable by agents (Beacon), and clearance for agents on legacy systems (Tower).
  description: 'Overwing makes five products, all in this API. Preflight (/api/v1/preflight): one check of an unsigned Solana transaction against the caller''s policy, answering allow or refuse before an agent signs it. Guardrails (/api/v1/evaluate): send any text and a rule set slug; receive a pass/fail/review verdict per rule and in aggregate, one recommended action (block, redact, review, allow) and calibrated confidence, typically in under 500 ms. Atlas (/api/v1/atlas): a registry of AI crawlers, fetchers and browser agents, and a lookup that says what a User-Agent claims to be and whether the claim can be verified. Beacon (/api/v1/beacon): one paid lookup that says whether a site is reachable by agents, that is whether they can find it, read it and use it; $1 over x402 at /api/x402/beacon, or $5 by card. Tower (/api/v1/tower): typed operations on legacy business systems, where each write is executed, sent to a person for review, or refused, with a signed receipt for every step; in pilot, against a mock adapter. POST /api/v1/evaluate and GET /api/v1/atlas/lookup work with no key, 10 calls a day each; everything else takes `Authorization: Bearer ow_live_...` from POST /api/v1/signup (Tower actions take an agent key, `ow_agent_...`). Every error is `{ "error": "..." }`. The same operations are available over MCP (hosted at /mcp, or the overwing-mcp npm package) and, for evaluate and lookup, over A2A at /a2a. Plain-text guide at /llms.txt; human-readable reference at /docs.'
servers:
- url: https://overwing.ai
security:
- bearerAuth: []
tags:
- name: Rule sets
  description: Prebuilt and custom rule sets
paths:
  /api/v1/rule-sets:
    get:
      tags:
      - Rule sets
      operationId: listRuleSets
      summary: List rule sets visible to this org
      parameters:
      - name: include_inactive
        in: query
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Rule sets
          content:
            application/json:
              schema:
                type: object
                properties:
                  rule_sets:
                    type: array
                    items:
                      $ref: '#/components/schemas/RuleSet'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    post:
      tags:
      - Rule sets
      operationId: createRuleSet
      summary: Create a custom rule set
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RuleSetCreate'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuleSet'
        '400':
          description: Validation error; the message names the offending field
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Slug already taken
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /api/v1/rule-sets/{slug}:
    parameters:
    - name: slug
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Rule sets
      operationId: getRuleSet
      summary: Fetch a rule set with its rules
      responses:
        '200':
          description: Rule set
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuleSet'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      tags:
      - Rule sets
      operationId: updateRuleSet
      summary: Update a custom rule set (rules, if given, replace the full list)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RuleSetUpdate'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RuleSet'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: System rule sets are read-only
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      tags:
      - Rule sets
      operationId: deleteRuleSet
      summary: Deactivate a custom rule set (soft delete)
      responses:
        '200':
          description: Deactivated
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  slug:
                    type: string
                  is_active:
                    type: boolean
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: System rule sets are read-only
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    RuleSet:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        slug:
          type: string
        description:
          type:
          - string
          - 'null'
        is_system_prebuilt:
          type: boolean
        is_active:
          type: boolean
        created_at:
          type: string
          format: date-time
        rules:
          type: array
          items:
            $ref: '#/components/schemas/Rule'
    QuestionType:
      type: string
      enum:
      - choice
      - score
      - noul
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable message
    Rule:
      type: object
      required:
      - name
      - question_type
      - question_config
      - fail_condition
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
          maxLength: 100
        description:
          type:
          - string
          - 'null'
        question_type:
          $ref: '#/components/schemas/QuestionType'
        question_config:
          oneOf:
          - type: object
            title: choice
            required:
            - options
            - instructions
            properties:
              options:
                type: array
                items:
                  type: string
                minItems: 2
                maxItems: 255
              instructions:
                type: string
          - type: object
            title: score
            required:
            - levels
            - instructions
            properties:
              levels:
                type: array
                items:
                  type: string
                minItems: 2
                maxItems: 10
                description: Ordered from lowest to highest
              instructions:
                type: string
          - type: object
            title: noul
            required:
            - question
            properties:
              question:
                type: string
                description: A yes/no question
        fail_condition:
          oneOf:
          - type: object
            title: choice
            required:
            - failOn
            properties:
              failOn:
                type: array
                items:
                  type: string
                description: Options that fail
          - type: object
            title: noul
            required:
            - failOn
            properties:
              failOn:
                type: boolean
          - type: object
            title: score
            required:
            - failAbove
            properties:
              failAbove:
                type: number
                description: Fail when the score is at or above this level index
        review_condition:
          type:
          - object
          - 'null'
          properties:
            confidenceBelow:
              type: number
              exclusiveMinimum: 0
              maximum: 1
        action:
          type: string
          enum:
          - block
          - redact
          - review
          default: block
          description: What a caller should do when this rule fails. Echoed on every result and folded into recommended_action.
        weight:
          type: number
          exclusiveMinimum: 0
          maximum: 100
          default: 1
        sort_order:
          type: integer
          readOnly: true
        is_active:
          type: boolean
          readOnly: true
    RuleSetCreate:
      type: object
      required:
      - name
      - slug
      - rules
      properties:
        name:
          type: string
          maxLength: 100
        slug:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          maxLength: 100
        description:
          type:
          - string
          - 'null'
        rules:
          type: array
          minItems: 1
          maxItems: 25
          items:
            $ref: '#/components/schemas/Rule'
    RuleSetUpdate:
      type: object
      properties:
        name:
          type: string
        description:
          type:
          - string
          - 'null'
        is_active:
          type: boolean
        rules:
          type: array
          minItems: 1
          maxItems: 25
          items:
            $ref: '#/components/schemas/Rule'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: ow_live_<32 hex>
      description: 'API key from the dashboard, from POST /api/v1/api-keys, or from POST /api/v1/signup (one call, no browser). A key has a scope: full (every endpoint) or evaluate (POST evaluate and evaluate/batch, GET rule-sets, me, usage and the Atlas reads; everything else answers 403). Give agents an evaluate key.'