HTTPie · Schema

HTTPie Response

Schema representing an HTTPie HTTP response, including status, headers, and body.

API ClientAPI TestingCLIClientsCommand LineDeveloper ToolsHTTPOpen-SourceSessions

Properties

Name Type Description
statusCode integer The HTTP status code of the response.
statusText string The HTTP status text accompanying the status code.
httpVersion string The HTTP version used in the response.
headers object HTTP response headers.
body object The response body content.
contentType string The MIME type of the response body.
elapsed number Time elapsed for the request-response cycle in seconds.
encoding string The character encoding of the response body.
View JSON Schema on GitHub

JSON Schema

response.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/httpie/refs/heads/main/json-schema/response.json",
  "title": "HTTPie Response",
  "description": "Schema representing an HTTPie HTTP response, including status, headers, and body.",
  "type": "object",
  "properties": {
    "statusCode": {
      "type": "integer",
      "description": "The HTTP status code of the response.",
      "minimum": 100,
      "maximum": 599
    },
    "statusText": {
      "type": "string",
      "description": "The HTTP status text accompanying the status code."
    },
    "httpVersion": {
      "type": "string",
      "description": "The HTTP version used in the response.",
      "examples": ["HTTP/1.1", "HTTP/2"]
    },
    "headers": {
      "type": "object",
      "description": "HTTP response headers.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "body": {
      "description": "The response body content.",
      "oneOf": [
        { "type": "string" },
        { "type": "object" }
      ]
    },
    "contentType": {
      "type": "string",
      "description": "The MIME type of the response body."
    },
    "elapsed": {
      "type": "number",
      "description": "Time elapsed for the request-response cycle in seconds."
    },
    "encoding": {
      "type": "string",
      "description": "The character encoding of the response body.",
      "examples": ["utf-8", "ascii", "iso-8859-1"]
    }
  },
  "required": ["statusCode", "headers"]
}

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/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.