Skip to main content
POST
Create a skill
Valendata first looks for the site’s open API and, when one returns your fields, builds the skill on it with no browser. Send api_url when you already know the API’s address, and source to choose: auto (the default: an API first, then a browser), api (an API only), or browser (skip the search). See Open APIs first. Otherwise a browser does the task, learns the steps, and checks them. Send browser to choose a Valendata cloud browser (cloud), your own Chrome through the Valendata extension (extension), or auto (the default: the cloud browser). The browser never changes by itself: while the cloud browser is paused, a creation that needs it is refused with 409 cloud_browser_paused and nothing is charged. See Which browser records it. Read Get a skill creation about every 30 seconds until status is ready, needs_fix, or failed. Send an Idempotency-Key so a retry does not start a second creation. Up to 10 creations can be going at once; the ones that cannot start yet wait in a queue, uncharged. A walkthrough with code, statuses, fields, and limits is in Create a skill. MCP tool: create_skill.

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

Body

application/json

What the caller wants the skill to do, and where it starts.

task
string
required

What the skill does, in plain words, e.g. 'Search for dentists in Austin and list them'.

Required string length: 3 - 50000
start_url
string
required

The page the skill starts on (http/https).

Maximum string length: 2000
name
string | null

Skill name; derived from the task when omitted.

Maximum string length: 100
inputs
Inputs · object | null

The skill's inputs and the example value the recording uses for each, e.g. {"city": "Austin"}. Each value must appear in what the browser types or opens, so a later run can swap in its own. Inferred from the task when omitted; {} for a skill that reads one fixed page and takes no inputs.

output_fields

The columns each row returns, as {name: description} or a list of names, e.g. ["name", "rating", "phone"]. Inferred from the task when omitted.

visibility
string
default:private
Pattern: ^(private|public)$
browser
string
default:auto

Where it records. cloud: our cloud browser. extension: your own Chrome with the Valendata extension — for sites that block cloud browsers (it must be connected; it uses your Chrome's own sign-ins). auto (default): the cloud browser — it never moves to your Chrome by itself. While the cloud browser is unavailable a cloud or auto creation is refused with 409 cloud_browser_paused and the reason; record it with extension if you choose. A creation with login_id records on the cloud only.

Pattern: ^(auto|cloud|extension)$
login_id
string | null

Your saved login (POST /v1/logins, GET /v1/logins) for a start page behind a sign-in. The recording browser signs in with it first, and the new skill is bound to it so every run signs in the same way. Without one, a start page behind a sign-in uses your saved login for the site (with several saved there, the one marked is_default; with several and no default the creation ends with needs_user kind choose_login, its options listing them masked — pass one's id as login_id), or makes an account with the sign-up email you chose (needs logins:use); with neither the creation ends with needs_user (kind choose_signup_email) asking which email — answer it (POST /v1/questions/{card_id}/answer) and create it again.

Maximum string length: 64
source
string
default:auto

How the skill reads the site. auto (default): first look for the site's open API (its docs, and the data calls its own page makes) and, when one answers with the fields, build the skill on it — no browser and no AI per run, the site's exact values, about a second; otherwise record it in a browser. api: the open API or nothing (fails when none is found; credits used are kept). browser: always record it in a browser.

Pattern: ^(auto|api|browser)$
api_url
string | null

The site's API address when you already know it, e.g. https://api.example.com/v1/items?status=open — skips the search: its JSON is mapped onto the fields and checked. It must answer without a key; a key is never stored.

Maximum string length: 2000
webhook_url
string | null

A public http(s) URL that gets the creation when it ends: one signed POST (event skill_creation.finished), the body being what its status_url answers — the same delivery and signature as a background run's.

Maximum string length: 2000

Response

Creation started (or the existing one, for a repeated Idempotency-Key).

Where a creation is. skill_id/slug are set once the recording is saved; status is ready only after the published skill passed its validation replay.

creation_id
string
required
status
string
required

queued (waiting for a free browser; queue_position says how many are ahead) | recording | validating (in progress) | ready (run run_url) | needs_fix (the recording was saved as a draft skill but its test replay did not pass — fix it with POST /v1/skills/{slug}/improve) | failed (nothing was saved; error says why) | cancelled (stopped by you while it recorded; nothing was saved).

status_url
string
required
task
string
required

What the skill was asked to do.

start_url
string
required

The page the recording started on.

name
string | null

The skill name used (derived from the task when none was given).

progress
string | null

The latest progress line in plain words, e.g. 'Step 4: type the search and press Enter'. Changes every few seconds while the creation runs.

skill_id
string | null
slug
string | null
skill_url
string | null
run_url
string | null
error
string | null
diagnosis
Diagnosis · object | null

Why the run came back short, and what a hint could say to fix it (POST /v1/skills/{slug}/improve).

inputs
Inputs · object | null
output_fields
Output Fields · object | null
credits_charged
number
default:0

Credits spent on this creation so far, exact to 0.01.

browser
string | null

The browser it records on: cloud (our cloud browser) or extension (your own Chrome). Null until it starts, and for a skill built on the site's API.

source
string | null

How the saved skill reads the site: api (the site's public API — no browser, exact values, about a second per run) or browser (a browser recording). Null until a skill is saved.

api_endpoint
string | null

For source api: the API endpoint it reads (host + path).

source_note
string | null

For source browser: why it was not built on an open API (what the search for one found).

climbing
boolean
default:false

True while the ready skill still looks for its fastest tier in the background (a speed trial of Tier 1, then Tier 2; its runs work meanwhile). GET /v1/skills/{slug}/speed shows each step.

speed_tier
integer | null

The tier the new skill ended its climb on: 1 (about 1 second), 2 (a few seconds) or 3 (about a minute, its browser steps); null while it is still climbing or before it is ready.

queue_position
integer | null

While it waits for a free browser (status queued): how many of your creations are ahead of it — 0 means it is next. Null otherwise.

sample_rows
Sample Rows · object[] | null

Up to 3 rows the recording got, once status is needs_fix or ready. Always null in GET /v1/skill-creations list items — read one creation for them.

sample_row_count
integer | null

How many rows the recording got (needs_fix or ready; null in list items).

next_step
string | null

What to do now, in one sentence; while it is still going, when to read status_url again.

needs_user
Needs User · object | null

Set when it failed at a login wall: {kind, message, action_url, site}. Kind choose_signup_email also carries card_id, question and options: answer which email to register with (POST /v1/questions/{card_id}/answer), then create it again. Kind no_login: save a login for the site and create it again with login_id. Kind choose_login: several logins are saved for the site and none is its default — options lists them masked ({login_id, username_hint, label}); create it again with one's login_id, or mark one is_default (PATCH /v1/logins/{login_id}).

created_at
string<date-time> | null
updated_at
string<date-time> | null
idempotent_replay
boolean
default:false