Vegeta · Schema

VegetaResult

Vegeta result for a single HTTP request, including timing, status code, and response metadata

GoHTTPLoad TestingPerformanceTesting

Properties

Name Type Description
attack string Attack name label
seq integer Sequence number of this result in the attack
code integer HTTP status code of the response
timestamp string Time the request was sent (RFC3339)
latency integer Request latency in nanoseconds
bytes_out integer Number of bytes sent in the request body
bytes_in integer Number of bytes received in the response body
error string Error message if the request failed (empty string on success)
body string Response body (present only when body capture is enabled)
method string HTTP method used
url string Target URL
headers object Response headers
View JSON Schema on GitHub

JSON Schema

vegeta-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vegeta/refs/heads/main/json-schema/vegeta-result-schema.json",
  "title": "VegetaResult",
  "description": "Vegeta result for a single HTTP request, including timing, status code, and response metadata",
  "type": "object",
  "properties": {
    "attack": {
      "type": "string",
      "description": "Attack name label",
      "example": "load-test"
    },
    "seq": {
      "type": "integer",
      "description": "Sequence number of this result in the attack",
      "minimum": 0,
      "example": 42
    },
    "code": {
      "type": "integer",
      "description": "HTTP status code of the response",
      "minimum": 100,
      "maximum": 599,
      "example": 200
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "Time the request was sent (RFC3339)",
      "example": "2025-03-15T14:30:00.123456789Z"
    },
    "latency": {
      "type": "integer",
      "description": "Request latency in nanoseconds",
      "minimum": 0,
      "example": 1234567
    },
    "bytes_out": {
      "type": "integer",
      "description": "Number of bytes sent in the request body",
      "minimum": 0,
      "example": 256
    },
    "bytes_in": {
      "type": "integer",
      "description": "Number of bytes received in the response body",
      "minimum": 0,
      "example": 1024
    },
    "error": {
      "type": "string",
      "description": "Error message if the request failed (empty string on success)",
      "example": ""
    },
    "body": {
      "type": "string",
      "description": "Response body (present only when body capture is enabled)",
      "example": "{\"status\": \"ok\"}"
    },
    "method": {
      "type": "string",
      "description": "HTTP method used",
      "example": "GET"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Target URL",
      "example": "https://api.example.com/v1/users"
    },
    "headers": {
      "type": "object",
      "description": "Response headers",
      "additionalProperties": {
        "type": "array",
        "items": { "type": "string" }
      }
    }
  },
  "required": ["seq", "code", "timestamp", "latency", "bytes_out", "bytes_in", "error"]
}

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/vegeta-result"
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 email required.

A second provider on the same verified email joins the account you already have.