Atelier201 websiteJoin the waitlist
Files and historyRechercher dans les fichiers d’un site
files

Rechercher dans les fichiers d’un site

Lignes correspondant à une expression régulière (syntaxe ripgrep ; regex=false pour rechercher du texte brut) dans les fichiers texte du projet, sans distinction de casse par défaut. glob et under limitent les fichiers concernés, context ajoute des lignes autour de chaque résultat, et output=files renvoie uniquement la liste des fichiers correspondants. Résultats limités : 100 au maximum. truncated indique s’il y en a davantage.

GET/v1/sites/{site_id}/search

Nécessite sites:read.

Si truncated vaut true, affinez la recherche en précisant under ou en utilisant une requête plus précise.

Autorisations

Authorizationbearerin headerrequired

Paramètres de chemin

site_idstringrequired

L’identifiant du site ou son slug (l’adresse avant .atelier201.page).

Paramètres de requête

querystringrequiredlength: 1–500 chars

Une expression régulière (syntaxe ripgrep) ou du texte brut avec regex=false.

regexboolean

true par défaut. false recherche le texte littéralement.

case_sensitiveboolean

false par défaut.

understringlength: ≤ 300 chars

Rechercher uniquement dans ce dossier.

globstringlength: ≤ 200 chars

Rechercher uniquement les fichiers correspondant à ce glob, par exemple .astro ou src/**/.css.

contextintegerrange: 0–5

Nombre de lignes de contexte avant et après chaque résultat (comme avec grep -C). 0 par défaut.

outputenum<string>one of: lines, files

lines (par défaut) : chaque ligne correspondante. files : uniquement les fichiers correspondants, avec le nombre de lignes correspondantes.

limitintegerrange: 1–100
revisionstringlength: 40–40 chars

Un identifiant de commit Git (40 caractères hexadécimaux) du dépôt du site.

Réponse

application/json

Rechercher dans les fichiers d’un site

dataobjectrequired
request_idstringrequired

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.