Overwing · Schema

PreflightRequest

Artificial IntelligenceAgentsGuardrailsLegacy SystemsIBMSAP

Properties

Name Type Description
transaction string The serialized Solana transaction in base64, legacy or v0, signed or not. Signatures are ignored
policy object
View JSON Schema on GitHub

JSON Schema

overwing-ai-preflight-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/overwing-ai/json-schema/overwing-ai-preflight-request-schema.json",
  "title": "PreflightRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/overwing-ai-openapi.json#/components/schemas/PreflightRequest",
  "type": "object",
  "required": [
    "transaction",
    "policy"
  ],
  "properties": {
    "transaction": {
      "type": "string",
      "maxLength": 2000,
      "description": "The serialized Solana transaction in base64, legacy or v0, signed or not. Signatures are ignored"
    },
    "policy": {
      "type": "object",
      "required": [
        "wallet"
      ],
      "additionalProperties": false,
      "properties": {
        "wallet": {
          "type": "string",
          "description": "The address to protect. It must sign the transaction"
        },
        "max_sol_out": {
          "type": "number",
          "minimum": 0,
          "description": "Required unless max_sol_out_lamports is given. The most SOL the transaction may take from the wallet, fees included"
        },
        "max_sol_out_lamports": {
          "type": [
            "integer",
            "string"
          ],
          "description": "The same limit as a whole number of lamports"
        },
        "max_token_out": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "integer",
              "string"
            ]
          },
          "description": "Atomic units that may leave, by mint. A mint not listed may not leave at all"
        },
        "min_token_in": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "integer",
              "string"
            ]
          },
          "description": "Atomic units that must arrive, by mint"
        },
        "allowed_programs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "When given, every program the transaction runs, top-level or inner, must be listed"
        },
        "allow_delegation": {
          "type": "boolean",
          "default": false,
          "description": "Whether a spending approval on the wallet's token accounts is acceptable"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/overwing-ai-preflight-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.