{
  "slug": "vercel-traces-config-ls-lists-project-sampling-rules-c395e8d2a4c1",
  "title": "vercel traces config ls lists project sampling rules",
  "tools": [
    "vercel"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-08-22T22:39:39.209Z",
  "announced_at": "2026-08-22T22:39:39.209Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When inspecting trace sampling rules, run `vercel traces config ls` from the linked project directory; add `--project <name-or-id>` and optionally `--scope <team>` to select a project explicitly. Add `--json` to output the rules as JSON.",
    "examples": [
      "vercel traces config ls",
      "vercel traces config ls --json",
      "vercel traces config ls --scope <team> --project <name-or-id>"
    ],
    "gotchas": [
      "Version: 59.5.0",
      "--json: Output the rules as JSON.",
      "--project <name-or-id>: Select a project; defaults to the linked project.",
      "--scope <team>: Run the CLI command in the specified scope.",
      "Prerequisite: Vercel CLI must be authenticated to access project resources.",
      "Prerequisite: Project sampling rules are managed for the linked project or the project specified with `--project`.",
      "The project is taken from the linked directory, or from `--project` looked up in the scope selected by `--scope`; both resolve to ids before the request.",
      "A `--scope` that disagrees with the linked project is reported instead of applied.",
      "A project with no rules prints an empty state and the command that adds one.",
      "Non-interactive runs print an agent envelope with the project, a message, and suggested next commands; API refusals are reported on stdout with a machine-readable reason."
    ]
  },
  "why_it_matters": "Inspect a project's trace sampling configuration from its linked directory or a selected scope.",
  "sources": [
    "https://github.com/vercel/vercel/blob/main/packages/cli/CHANGELOG.md#5950",
    "https://vercel.com/docs/cli/traces",
    "https://vercel.com/docs/cli/global-options",
    "https://vercel.com/docs/cli"
  ],
  "rank": 0.95033,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "vercel-20261007",
    "verdict_id": "vercel-20261007:vercel-20261007-9a64e6dc630fc55c-0:gate",
    "evidence_hash": "c50221bf6c58d371217fe9f7b23df99f22485abc6cb7a2c260bb264e37cd7bc2"
  },
  "review": {
    "draft_hash": "73479bc01c82bc241203c3440509927412c9ac175f1b192ea81328b74738de84",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "vercel-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
