Skip to main content
POST
Try a faster tier
Send tier (1 or 2) and, optionally, browser (auto, cloud or extension; default auto). The trial runs in the background and answers 202 with the trial and its status_url (also in the Location header). Read it with Get a speed trial, or pass webhook_url to be sent the trial when it ends. See Hearing when a long job is done. A trial reads the data the faster way and checks it gives the same rows as the skill’s normal run, then checks it again with a second input. When both checks pass, runs use that tier from then on. When they do not, the skill stays on the tier it uses, and the trial’s message says why.
  • Only the skill’s owner and its workspace can start a trial. Anyone else gets a 404.
  • One trial at a time: starting another while one runs answers 409.
  • browser: "extension" needs your Chrome with the Valendata extension connected.
  • A webhook_url that is not a public http(s) address answers 422.
  • A trial is charged like a run.

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
tier
enum<integer>
required

The faster tier to try: 1 or 2.

Available options:
1,
2
browser
enum<string>
default:auto

The browser the trial runs on: auto (the skill's own, else the cloud browser), cloud, or extension (your own Chrome; it must be connected). It never changes by itself.

Available options:
auto,
cloud,
extension
webhook_url
string | null

A public http(s) URL that gets the trial when it ends: a signed POST, event speed_trial.finished — the same delivery and signature as a background run's webhook.

Maximum string length: 2000

Response

Successful Response

id
string
required

The trial's id (st_…).

tier
enum<integer>
required

The tier the trial tries.

Available options:
1,
2,
3
status
enum<string>
required

running, passed, failed, unproven (the trial could not decide either way), inconclusive (not enough proof yet — its message says what is missing) or server_differs (the site shows our server other content, e.g. another country).

Available options:
running,
passed,
failed,
unproven,
inconclusive,
server_differs
message
string
required

What the trial is doing, or how it ended, in plain words.

started_at
string | null

When it started (ISO 8601, UTC).

finished_at
string | null

When it ended (ISO 8601, UTC); null while running.

seconds
number | null

A passed trial: the faster way's measured time, in seconds; null when it was not measured.

before_seconds
number | null

A passed trial: the browser steps' time it was measured against, in seconds; null when not measured.

skill
string | null

The skill's slug.

status_url
string | null

Where to read this trial: GET /v1/skills/{slug}/speed/trials/{id}.

stopped
boolean
default:false

It was stopped before it finished (an MCP tasks/cancel).