Create a skill
Make a skill from a one-sentence task. Answers at once with a creation id to poll.
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
Headers
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.
1 - 255Body
What the caller wants the skill to do, and where it starts.
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.
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.
^(auto|cloud|extension)$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.
64How 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.
^(auto|api|browser)$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.
2000Response
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.
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).
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}).

