API Testing Sandbox · Schema

Raw schema.

Same JSON the GET /v1/programming-dev/api-sandbox/schema endpoint returns — formatted for reading. Use it to codegen typed clients or document the contract.

api-sandbox.schema.json
{
  "tool": "api-sandbox",
  "domain": "programming-dev",
  "version": "1.0.0",
  "name": "API Testing Sandbox",
  "description": "Postman in a tab. Fire HTTP requests against any URL straight from your browser — no install, no account, no workspace. The API endpoint validates your request and generates the equivalent cURL command, useful for codegen and CI scripts.",
  "standard": null,
  "inputs": [
    {
      "key": "method",
      "label": "Method",
      "type": "enum",
      "options": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE",
        "HEAD",
        "OPTIONS"
      ],
      "default": "GET"
    },
    {
      "key": "url",
      "label": "URL",
      "required": true,
      "placeholder": "https://api.example.com/v1/resource",
      "help": "Full URL including protocol. Query string allowed inline.",
      "type": "string",
      "minLength": 1,
      "maxLength": 2048,
      "default": "https://jsonplaceholder.typicode.com/todos/1"
    },
    {
      "key": "headers",
      "label": "Headers",
      "help": "Each entry as \"Key: Value\". E.g. \"Authorization: Bearer abc123\".",
      "type": "array_string",
      "minItems": 0,
      "maxItems": 32,
      "default": [
        "Accept: application/json"
      ]
    },
    {
      "key": "body",
      "label": "Request Body",
      "help": "Raw request body. Auto-detected as JSON if it parses.",
      "type": "string",
      "minLength": 0,
      "maxLength": 1000000,
      "default": ""
    }
  ],
  "outputs": [
    {
      "key": "method",
      "label": "Method",
      "type": "string"
    },
    {
      "key": "normalized_url",
      "label": "Normalised URL",
      "type": "string"
    },
    {
      "key": "request_curl",
      "label": "cURL Equivalent",
      "type": "string",
      "render": "code"
    },
    {
      "key": "headers_count",
      "label": "Headers",
      "type": "integer"
    },
    {
      "key": "body_bytes",
      "label": "Body Size",
      "type": "integer",
      "unit": "bytes"
    },
    {
      "key": "is_json_body",
      "label": "JSON Body",
      "type": "boolean"
    },
    {
      "key": "host",
      "label": "Host",
      "type": "string"
    },
    {
      "key": "scheme",
      "label": "Scheme",
      "type": "string"
    }
  ],
  "endpoint": "/v1/programming-dev/api-sandbox"
}