Skip to main content
POST
Start a skill run
Inputs go under inputs. If your account is busy, the run waits in a queue (up to about an hour, then it fails uncharged). A public marketplace skill that is not yours returns 403 clone_required and does not start. Clone it first. See Errors. The rows are not in this response. Read Get a run until status is no longer queued or running, or set webhook_url to have the finished run sent to you. See Webhooks. Send an Idempotency-Key to make retries safe. Send max_age to accept an earlier answer with the same inputs. If one is used, this returns 202 with status: "success" and cached: true, and the run is already finished when you read it. No webhook is sent for it. See Cached answers.

Only what’s new

Compare this run’s rows with an earlier run’s:
  • changes_since: last (the previous successful run of this skill with the same inputs) or the id of a run of the same skill.
  • delivery: all (default), new (only new rows), or changes (new and changed rows).
  • watch: the fields whose change counts, such as ["price:down"].
delivery or watch without changes_since returns 422. A comparing run always runs: max_age is ignored. The finished run carries changes; its fields are on Get a run. How rows are matched and which fields are compared is in Only what’s new.

Authorizations

Authorization
string
header
required

API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.

Headers

Idempotency-Key
string

Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.

Required string length: 1 - 255

Path Parameters

slug
string
required

Body

application/json

Body of POST /v1/skills/{slug}/runs.

inputs
Inputs · object

The skill's inputs (see input_schema on GET /v1/skills/{slug}).

parameters
Parameters · object | null
max_results
integer | null

Max rows to return; 0 means the entire list. Omit to use the skill's saved default.

Required range: 0 <= x <= 500
max_pages
integer | null
Required range: x >= 0
start_page

Start further in a paged list: a page number, or the next_page an earlier answer gave.

details
boolean | null

Each row's details: everything else the source had for it, under the source's own names. On by default; false returns only the skill's own fields (smaller answers).

browser_type
string | null

Where this run goes: remote (or cloud) — the cloud browser; extension — your own Chrome with the Valendata extension (it must be connected; it uses your Chrome's own sign-ins); none — no browser. auto, or left out: the skill's own browser, else the cloud browser. It never changes by itself: when that browser is unavailable the run is refused with the reason (409 cloud_browser_paused / extension_not_connected, nothing charged), and you choose the other one. A skill that signs in with a saved login or browser profile runs only on its own browser (409 conflict for another).

proxy_config
string | null
profile_id
string | null
webhook_url
string | null

https URL that receives the finished run as a signed POST (X-Valendata-Signature).

version
integer | null

Recipe version to replay (GET /v1/skills/{slug}/versions). Omit for the pinned or live one.

Required range: x >= 1
changes_since
string | null

'last' or a run id: compare this run's rows with that run's (the previous run with the same inputs, for 'last'). The result carries changes {new, changed, removed}.

delivery
string | null

With changes_since: all (default) | new | changes (new + changed rows only).

watch
string[] | null

With changes_since: fields whose change counts, e.g. ['price:down']. Default every field.

max_age
integer | null

Seconds. Accept an earlier answer this fresh (same inputs, your account): the run is answered at once from it, marked cached, for a fraction of the price. Omit to always run.

Required range: 0 <= x <= 86400

Response

Run queued (or the existing one, for a repeated Idempotency-Key).

run_id
string
required
status
string
required
poll_url
string
required
status_url
string
required
read-only

Where to read it — the same URL as poll_url (kept as an alias): every long job's answer names its URL status_url.

idempotent_replay
boolean
default:false
draft_run
boolean
default:false
cached
boolean
default:false