Vegeta · JSON Structure

Vegeta Result Structure

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

Type: object Properties: 12 Required: 7
GoHTTPLoad TestingPerformanceTesting

VegetaResult is a JSON Structure definition published by Vegeta, describing 12 properties, of which 7 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

attack seq code timestamp latency bytes_out bytes_in error body method url headers

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

vegeta-result-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vegeta/refs/heads/main/json-structure/vegeta-result-structure.json",
  "name": "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": "int32",
      "description": "Sequence number of this result in the attack",
      "minimum": 0,
      "example": 42
    },
    "code": {
      "type": "int32",
      "description": "HTTP status code of the response",
      "minimum": 100,
      "maximum": 599,
      "example": 200
    },
    "timestamp": {
      "type": "datetime",
      "description": "Time the request was sent (RFC3339)",
      "example": "2025-03-15T14:30:00.123456789Z"
    },
    "latency": {
      "type": "int32",
      "description": "Request latency in nanoseconds",
      "minimum": 0,
      "example": 1234567
    },
    "bytes_out": {
      "type": "int32",
      "description": "Number of bytes sent in the request body",
      "minimum": 0,
      "example": 256
    },
    "bytes_in": {
      "type": "int32",
      "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": "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 Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/vegeta-result-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.