Kaption AI · Schema

SseStream

Server-sent events. The `data` of each `message` event is one JSON-encoded JsonRpcResponse (contentSchema); on GET /mcp it can also be a server request or notification.

AI AssistantTranscriptionCall RecordingTranslationSchedulingBackups
View JSON Schema on GitHub

JSON Schema

kaptionai-com-sse-stream-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kaptionai-com/json-schema/kaptionai-com-sse-stream-schema.json",
  "title": "SseStream",
  "description": "Server-sent events. The `data` of each `message` event is one JSON-encoded JsonRpcResponse (contentSchema); on GET /mcp it can also be a server request or notification.",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kaptionai-com-openapi.json#/components/schemas/SseStream",
  "type": "string",
  "contentMediaType": "text/event-stream",
  "contentSchema": {
    "$ref": "#/$defs/JsonRpcResponse"
  },
  "$defs": {
    "JsonRpcError": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "integer"
        },
        "message": {
          "type": "string"
        },
        "data": {}
      }
    },
    "JsonRpcResponse": {
      "type": "object",
      "required": [
        "jsonrpc",
        "id"
      ],
      "properties": {
        "jsonrpc": {
          "const": "2.0"
        },
        "id": {
          "type": [
            "string",
            "integer",
            "null"
          ]
        },
        "result": {
          "description": "The method's result. For tools/call it is a ToolResult.",
          "anyOf": [
            {
              "$ref": "#/$defs/ToolResult"
            },
            {
              "type": "object"
            }
          ]
        },
        "error": {
          "$ref": "#/$defs/JsonRpcError"
        }
      }
    },
    "ToolResult": {
      "type": "object",
      "required": [
        "content"
      ],
      "properties": {
        "content": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "text": {
                "type": "string"
              }
            }
          }
        },
        "structuredContent": {
          "type": "object",
          "properties": {
            "result": {}
          }
        },
        "isError": {
          "type": "boolean",
          "description": "true when the tool failed; the reason is in content."
        }
      }
    }
  }
}

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/kaptionai-com-sse-stream"
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. See our Privacy Policy and Terms.

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