Gray Swan · Authentication Profile

Gray Swan Authentication

Authentication

Gray Swan declares 1 security scheme(s) across its OpenAPI definitions.

CompanyArtificial IntelligenceAI SecurityLLM SecurityGuardrailsRed TeamingAI GovernancePrompt InjectionModel SafetyAPI Security
Methods: Schemes: 1 OAuth flows: API key in:

Security Schemes

grayswan-api-key apiKey
· in: header ()

Source

Authentication Profile

Raw ↑
generated: '2026-07-19'
method: searched
source: https://docs.grayswan.ai/cygnal/creating-completions
api: Cygnal
summary: >-
  The Gray Swan AI (Cygnal) API authenticates every request with a first-party
  API key sent in the custom `grayswan-api-key` request header. Keys are minted
  in the Gray Swan platform. Cygnal proxy requests additionally require an
  explicit policy selector header (`policy-id` or `agent-id`) — there is no
  default policy. The published OpenAPI does not declare `securitySchemes`; the
  scheme below is captured from the provider's authentication documentation.
schemes:
  - id: grayswan-api-key
    type: apiKey
    in: header
    name: grayswan-api-key
    description: >-
      First-party API key issued from the Gray Swan platform
      (https://platform.grayswan.ai). Sent on every request.
    docs: https://docs.grayswan.ai/cygnal/creating-completions
    key_provisioning: https://platform.grayswan.ai
required_companion_headers:
  - name: policy-id
    required: conditional
    description: >-
      Identifier of the Cygnal policy to enforce on this request. Required on
      /cygnal/* proxy endpoints unless an agent-id is supplied. Missing both
      returns `400 No policy specified` — Cygnal never applies a default policy.
  - name: agent-id
    required: conditional
    description: >-
      Identifier of an agent that has an associated policy; an alternative to
      policy-id for selecting the enforced policy.
notes:
  - No OAuth/OIDC scopes surface — key-auth only, so no scopes/ artifact.
  - Platform login/waitlist is brokered by Stytch (and Okta for enterprise SSO).

Work with this as data

Every security artifact 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 security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact 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 security artifact
curl "https://apis.io/api/v1/security/gray-swan-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

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

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.