{
  "slug": "k6-http-api-server-requires-an-explicit-address-1ddbf7bc577c",
  "title": "k6 HTTP API server requires an explicit address",
  "tools": [
    "k6"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-11T09:27:15.000Z",
  "announced_at": "2026-05-11T09:27:15.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "Starting with k6 v2.0.0, the REST API server is off by default. When a local workflow needs it, start k6 with `--address` set to the listener address.",
    "examples": [
      "k6 run --address=localhost:6565 <script.js>"
    ],
    "gotchas": [
      "Version: v2.0.0",
      "--address (alias: -a) (required): Address where the REST API server listens; required to enable the server in v2.0.0. `K6_ADDRESS` is the equivalent environment variable.",
      "The server starts only when an address is explicitly provided via `--address` or `K6_ADDRESS`."
    ]
  },
  "why_it_matters": "Update a local workflow that uses the k6 REST API server.",
  "before": "In earlier k6 versions the server started by default and listened on localhost:6565 unless opted out.",
  "sources": [
    "https://github.com/grafana/k6/releases/tag/v2.0.0",
    "https://grafana.com/docs/k6/latest/reference/k6-rest-api/",
    "https://grafana.com/docs/k6/latest/using-k6/k6-options/reference/"
  ],
  "rank": 0.96017,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-c9d66be91219d310-18:gate",
    "evidence_hash": "11d976ac3212e86c44bcbaa850b3fbc073eaa0cd7e52c2a6d97529ef147644a4"
  },
  "review": {
    "draft_hash": "89e3d59aaf6475854ccc4c47a871ab618dea494086f94acf927a3d85016e81a5",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.67 (>= 0.6 needed)."
  }
}
