Merge · Schema

ResponseRequest

Request body for POST /v1/responses.

IntegrationPlatformUnified-APIAgent HandlerLLM Gateway

Properties

Name Type Description
model stringnull Model ID in format 'provider/model-name'. Optional if a routing policy is configured.
input array Conversation history
tools arraynull Available tools
tool_choice object Tool choice policy: 'auto', 'none', 'required', or {'type': 'function', 'function': {'name': '...'}}
max_tokens integernull Maximum tokens to generate
temperature numbernull Sampling temperature
top_p numbernull Nucleus sampling parameter
stop arraynull Stop sequences
response_format object Response format
stream boolean Whether to stream the response
tags arraynull Tags to attach to this request for categorization (key-value pairs)
project_id stringnull Optional project ID (UUID) to associate with this request
routing_policy_id stringnull Override the default routing policy (for testing)
include_routing_metadata boolean Include detailed routing metadata in response
vendor stringnull Restrict routing to a specific vendor (hosting platform)
vendors arraynull Ordered list of acceptable vendors. First available wins.
View JSON Schema on GitHub

JSON Schema

merge-responserequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResponseRequest",
  "title": "ResponseRequest",
  "type": "object",
  "properties": {
    "model": {
      "type": [
        "string",
        "null"
      ],
      "description": "Model ID in format 'provider/model-name'. Optional if a routing policy is configured."
    },
    "input": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ResponseRequestInputItems"
      },
      "description": "Conversation history"
    },
    "tools": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/FunctionTool"
      },
      "description": "Available tools"
    },
    "tool_choice": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/ResponseRequestToolChoice"
        },
        {
          "type": "null"
        }
      ],
      "description": "Tool choice policy: 'auto', 'none', 'required', or {'type': 'function', 'function': {'name': '...'}}"
    },
    "max_tokens": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Maximum tokens to generate"
    },
    "temperature": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "description": "Sampling temperature"
    },
    "top_p": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "description": "Nucleus sampling parameter"
    },
    "stop": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "Stop sequences"
    },
    "response_format": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/ResponseFormatJson"
        },
        {
          "type": "null"
        }
      ],
      "description": "Response format"
    },
    "stream": {
      "type": "boolean",
      "default": false,
      "description": "Whether to stream the response"
    },
    "tags": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/TagInput"
      },
      "description": "Tags to attach to this request for categorization (key-value pairs)"
    },
    "project_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Optional project ID (UUID) to associate with this request"
    },
    "routing_policy_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Override the default routing policy (for testing)"
    },
    "include_routing_metadata": {
      "type": "boolean",
      "default": false,
      "description": "Include detailed routing metadata in response"
    },
    "vendor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Restrict routing to a specific vendor (hosting platform)"
    },
    "vendors": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "Ordered list of acceptable vendors. First available wins."
    }
  },
  "required": [
    "input"
  ],
  "description": "Request body for POST /v1/responses."
}

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/merge-responserequest"
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.