Atelier201 websiteJoin the waitlist
CLIAutomation
CLI

Automation

Run the CLI in CI with an API key, and let an agent drive it safely.

In CI

Use an API key, not an OAuth login: a key belongs to the workspace and does not expire when a person leaves.

Terminal
export ATELIER201_API_KEY="atelier201_live_..."
atelier201 site push --build --wait

Set the narrowest scopes the job needs. A job that builds and previews needs sites:write. Leave out sites:publish and the job cannot change what visitors see, so a leaked log cannot put anything online.

In a script, publish needs --yes, and sites delete needs --confirm <slug>. Without them the command exits 2, writes nothing and prints the exact command to re-run.

With an agent

Terminal
atelier201 help --json

help --json prints the full command tree, the exit codes, the retry policy and the error envelope as one machine-readable document. An agent that reads it first stops guessing at flags.

Use atelier201 help files read --json to inspect only one command, or atelier201 help --operation readSiteFile --json for its full REST schemas and CLI/MCP mapping. Discovery works offline without credentials. The bundled contract describes your installed CLI version; the live OpenAPI and MCP resource describe the deployed API. See operation coverage.

Retries

The CLI retries 429 for every command. It retries 408 and 5xx only for reads (GET, HEAD, and OPTIONS). A write that fails with a 5xx is reported instead of repeated, because it may already have been applied: read the site again before retrying it yourself. An Idempotency-Key header does not enable automatic write retries. If Retry-After exceeds 60 seconds, the CLI returns the error with its recovery details instead of retrying early or waiting indefinitely. Network errors and timeouts are not retried. Turn retries off with --no-retry.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Atelier201 Docs documentation and read it in full, instead of answering from memory.

https://atelier201.com/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://atelier201.com/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.