Promptster · Schema

TestPromptRequest

Artificial IntelligenceMonitoringTestingMCP

Properties

Name Type Description
provider object
model string Model identifier (e.g., gpt-5.5, claude-sonnet-5)
prompt string The prompt to send to the AI
max_tokens integer Maximum tokens in the response
temperature number Sampling temperature (0 = deterministic, 2 = creative)
system_prompt string System / developer instructions sent alongside the prompt. Mapped to each provider's native field (Anthropic `system`, Google `systemInstruction`, `role: developer` for OpenAI reasoning models, `role:
tools object
tool_choice object
View JSON Schema on GitHub

JSON Schema

promptster-dev-test-prompt-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/promptster-dev/json-schema/promptster-dev-test-prompt-request-schema.json",
  "title": "TestPromptRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/promptster-dev-openapi.yaml#/components/schemas/TestPromptRequest",
  "type": "object",
  "required": [
    "provider",
    "model",
    "prompt"
  ],
  "properties": {
    "provider": {
      "$ref": "#/$defs/Provider"
    },
    "model": {
      "type": "string",
      "minLength": 1,
      "description": "Model identifier (e.g., gpt-5.5, claude-sonnet-5)"
    },
    "prompt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50000,
      "description": "The prompt to send to the AI"
    },
    "max_tokens": {
      "type": "integer",
      "minimum": 1,
      "maximum": 4096,
      "default": 2000,
      "description": "Maximum tokens in the response"
    },
    "temperature": {
      "type": "number",
      "minimum": 0,
      "maximum": 2,
      "default": 0.7,
      "description": "Sampling temperature (0 = deterministic, 2 = creative)"
    },
    "system_prompt": {
      "type": "string",
      "maxLength": 50000,
      "description": "System / developer instructions sent alongside the prompt. Mapped to each provider's native field (Anthropic `system`, Google `systemInstruction`, `role: developer` for OpenAI reasoning models, `role: system` elsewhere). Counts toward input tokens."
    },
    "tools": {
      "$ref": "#/$defs/Tools"
    },
    "tool_choice": {
      "$ref": "#/$defs/ToolChoice"
    }
  },
  "$defs": {
    "Provider": {
      "type": "string",
      "enum": [
        "openai",
        "anthropic",
        "google",
        "deepseek",
        "xai",
        "groq",
        "mistral",
        "perplexity",
        "together",
        "cerebras",
        "fireworks"
      ],
      "description": "AI provider identifier"
    },
    "ToolChoice": {
      "type": "string",
      "enum": [
        "auto",
        "required",
        "none"
      ],
      "description": "Requires `tools`. `auto` lets the model decide (the provider default), `required` forces a tool call, `none` forbids one. Mapped to Anthropic `{type: auto|any|none}` and Google `functionCallingConfig.mode AUTO|ANY|NONE`. `required` is rejected by some models (Anthropic Fable 5.1 / Opus 5.5 / Sonnet 5.5, DeepSeek thinking models); that comes back as `provider_tools_unsupported`."
    },
    "ToolDefinition": {
      "type": "object",
      "required": [
        "name",
        "description",
        "parameters"
      ],
      "properties": {
        "name": {
          "type": "string",
          "pattern": "^[a-zA-Z0-9_-]{1,64}$",
          "description": "1-64 characters of letters, digits, underscores or hyphens."
        },
        "description": {
          "type": "string",
          "maxLength": 1024
        },
        "parameters": {
          "type": "object",
          "description": "JSON Schema object describing the tool's arguments. Passed to the provider unchanged. At most 16,384 characters when serialised as JSON."
        }
      }
    },
    "Tools": {
      "type": "array",
      "minItems": 1,
      "maxItems": 32,
      "items": {
        "$ref": "#/$defs/ToolDefinition"
      },
      "description": "Single-turn tool selection. The model is asked once with these tools and the response reports which tool it chose (`tool_calls`); nothing is executed and no result is fed back. Tool names must be unique. The same flat shape is sent to every provider (OpenAI-compatible `function` envelope, Anthropic `input_schema`, Google `functionDeclarations`, Perplexity Agent API `type: function`). Tool schemas are billed as input tokens on every call."
    }
  }
}

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/promptster-dev-test-prompt-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.