Gray Swan · OpenAPI Overlay 1.0.0

API Evangelist enhancements for the Gray Swan AI (Cygnal) API

3 actions 3 updates documentation extends ../openapi/gray-swan-cygnal-openapi.json
Derived by API Evangelist Built from the contracts Gray Swan publishes. Gray Swan did not publish this file.
View Overlay File View on GitHub Overlay Specification

What the actions change

descriptionx-authenticationsecuritySchemesx-required-headersx-rate-limits

Targets 3

$.info
$.components
$.paths['/cygnal/v1/chat/completions'].post

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enhancements for the Gray Swan AI (Cygnal) API
  version: 1.0.0
extends: ../openapi/gray-swan-cygnal-openapi.json
x-provenance:
  generated: '2026-07-19'
  method: generated
  source: openapi/gray-swan-cygnal-openapi.json + docs.grayswan.ai
  note: >-
    Non-destructive overlay capturing enrichments discovered from the Cygnal
    docs that are absent from the raw spec (API-key security scheme, policy
    selector headers, provider description). Never mutates the original spec.
actions:
  - target: $.info
    update:
      description: >-
        Cygnal is Gray Swan AI's real-time AI security proxy. It fronts LLM
        providers (OpenAI, Anthropic, Gemini formats) with input/output
        filtering and threat monitoring for jailbreaks and prompt injection,
        and manages enforcement Policies with versioning. Drop-in: change only
        the base URL. Auth via the grayswan-api-key header plus a policy-id or
        agent-id selector.
      x-authentication:
        scheme: apiKey
        header: grayswan-api-key
        docs: https://docs.grayswan.ai/cygnal/creating-completions
  - target: $.components
    update:
      securitySchemes:
        GraySwanApiKey:
          type: apiKey
          in: header
          name: grayswan-api-key
          description: First-party API key from https://platform.grayswan.ai
  - target: $.paths['/cygnal/v1/chat/completions'].post
    update:
      x-required-headers:
        - name: grayswan-api-key
          required: true
        - name: policy-id
          required: conditional
          description: Required unless agent-id is supplied; no default policy.
        - name: agent-id
          required: conditional
      x-rate-limits:
        free_tier: 200000 tokens/min, 10000000 tokens/day
        over_quota: proxied without filtering

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/gray-swan-cygnal-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. See our Privacy Policy and Terms.

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