Skip to content

Build command reference

agent-data parse requests an API for a website in the catalog. It returns an existing source API or accepts a build request.

See usage for build allowances. The StockX guide shows a real request, publication, and data call.

Terminal window
agent-data parse <url> [--task "<desired capability>"] [--dry-run]

<url> is the complete source URL, such as https://stockx.com/. Omit --task to request an API from the URL alone. Supply it to describe required records, fields, and inputs.

  1. Preview the request.
  2. Submit it when you intend to create work.
Terminal window
agent-data parse https://stockx.com/ --dry-run
agent-data parse https://stockx.com/

Each invocation uses a separate Idempotency-Key, the identifier for retries of that submission. A preview’s key does not carry into another command.

One API represents each source hostname. Hostname case, a leading www, paths, and query strings do not create a different source. Other subdomains remain separate.

Match fieldMeaning
matched: trueThe source has an API.
match_scope: "source"The match identifies the source website.
task_support: "unverified"The match does not establish support for your requested operation.

Read the returned contract before a data call. An active build can produce a source conflict instead of another build.

This November 14, 2026 StockX excerpt shows acceptance.

{
"matched": false,
"parse_job_id": "pj_1da416ddc9adccdf2a0856d7",
"status": "queued",
"phase": "building",
"status_url": "/api/v1/parse/pj_1da416ddc9adccdf2a0856d7",
"serving_changed": false
}

parse_job_id identifies the build. Save it for status requests. This response supplies no usable endpoint yet.

StockX has a published API. A repeat request may return that API instead of the captured new-build response.

<job-id> is your returned pj_… build identifier. For example, pj_1da416ddc9adccdf2a0856d7 identifies the captured StockX build. Use the account that submitted your build for these reads.

CLI commandEffect
agent-data parse listList your builds, newest first.
agent-data parse status <job-id>Read progress, errors, available actions, and publication details.
agent-data parse events <job-id>Read recorded events.
agent-data parse events <job-id> --followStream events.
agent-data parse revise <job-id> "<change>"Request an additive change to a live listing in your account.
agent-data parse resume <job-id>Continue an eligible blocked build with a fresh time budget.
agent-data parse cancel <job-id>Request cancellation of unfinished work.
OptionEffect
List --limit <n>, --offset <n>Select a page of builds.
Events --since-seq <N>Read events after sequence N.
Events --max <N>Select the event count.
Events --state-dir <path>Select the cursor directory. Omit it to use ~/.agent-data/state.
Events --no-resumeDisable saved-cursor reads and writes.
Cancel --reason "<text>"Record your reason on the job.
--api-key, --base-url, --verbose, --helpUse common CLI options.

A cursor records your position in an event stream. The CLI stores it here unless you select another directory.

~/.agent-data/
└── state/ # Event-stream cursors
HTTP method and pathBody or result
GET /api/v1/parseYour builds.
GET /api/v1/parse/{job-id}Build status.
POST /api/v1/parse/{job-id}/reviseBody {"task":"your_change_here"}.
POST /api/v1/parse/{job-id}/resumeBody {}.
POST /api/v1/parse/{job-id}/cancelBody {} or {"reason":"your_reason_here"}.

MCP supplies parse_status with the required parse_job_id string. Use CLI or HTTP for the other actions above.

OptionMeaning
-t, --task <text>Describe the desired operation.
--dry-runPreview the request without submission.
--city-hiveUse the City Hive template.
--api-key <key>, --base-url <url>, --verboseUse common CLI options.
--model <provider:id>Select a model as a beta platform administrator.
--reasoning-effort <effort>Select beta-admin Luna effort: none, low, medium, high, xhigh, or max.
--recon-dossier <on|off>Select beta-admin reconnaissance behavior.
--recon-inject-tokens <n>Set a positive token budget with the reconnaissance override.
--session-deadline-s <seconds>Set a beta-admin wall-clock budget of at least 60 seconds.

--city-hive cannot combine with task, model, reasoning, reconnaissance, interrupt, or deadline options. The CLI reports a runtime deadline of 3,600 seconds when you omit the override. Resume uses the runtime default.

What you seeWhat to do
model_override_disabledOmit the model override because it requires beta platform-admin access.
not_supported_in_v1Request a public API through the supported options above.
A source conflict.Find the existing API or build.

Phases can include building, deploying, publishing, probing, and live. The response can also report blocked or failed work. Read its summary and next action instead of assuming every phase appears.

Follow a build to interpret progress. Build outcomes distinguishes publication, health, and a successful data call.

If the source API exists but lacks your operation, extend that API.