WSO2 · Schema

API Chat response

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPRESTIdentity Federation

Properties

Name Type Description
apiSpec object
taskStatus string Task status (IN_PROGRESS, TERMINATED or COMPLETED)
resource object
result string completion result
queries array list of sample queries
View JSON Schema on GitHub

JSON Schema

wso2-api-chat-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/main/json-schema/wso2-api-chat-response-schema.json",
  "title": "API Chat response",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wso2-api-chat-api-openapi.yml#/components/schemas/ApiChatResponse",
  "properties": {
    "apiSpec": {
      "type": "object",
      "title": "Enriched API spec",
      "required": [
        "tools"
      ],
      "properties": {
        "serviceUrl": {
          "type": "string",
          "description": "Extracted service URL from the OpenAPI specification if there is any"
        },
        "tools": {
          "type": "array",
          "description": "Extracted Http tools from the OpenAPI specification",
          "items": {
            "type": "object"
          }
        }
      }
    },
    "taskStatus": {
      "type": "string",
      "description": "Task status (IN_PROGRESS, TERMINATED or COMPLETED)",
      "enum": [
        "IN_PROGRESS",
        "TERMINATED",
        "COMPLETED"
      ]
    },
    "resource": {
      "type": "object",
      "properties": {
        "method": {
          "type": "string",
          "description": "HTTP method of the resource"
        },
        "path": {
          "type": "string",
          "description": "Path of the resource"
        },
        "inputs": {
          "type": "object",
          "description": "Input parameters for the resource"
        }
      }
    },
    "result": {
      "type": "string",
      "description": "completion result"
    },
    "queries": {
      "type": "array",
      "description": "list of sample queries",
      "items": {
        "$ref": "#/$defs/SampleQuery"
      }
    }
  },
  "$defs": {
    "SampleQuery": {
      "title": "API Chat sample query record",
      "required": [
        "scenario",
        "query"
      ],
      "properties": {
        "scenario": {
          "type": "string",
          "description": "scenario"
        },
        "query": {
          "type": "string",
          "description": "generated query"
        }
      }
    }
  }
}

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/wso2-api-chat-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.