# Fous documentation > Fous makes websites usable by agents and software. A method is one capability on a website (sometimes merged from several sources) that reads data or does something there, with a typed input and output. Manual: find a method and run it with your own input. Auto: send a query and Fous picks the methods, fills their inputs and runs them. Or build a new method. Every page below is Markdown; any docs URL also works with .md appended or Accept: text/markdown. - Set up an agent: give it the line "set up https://fous.com/SKILL.md". The skill gets a Fous API key, connects the MCP server and says when to reach for Fous. - API: https://api.fous.com with Authorization: Bearer $FOUS_API_KEY (keys: https://app.fous.com/keys). Keep the key out of code and repositories. - Manual: GET /v1/search?query=... then POST /v1/runs {"method","input"}. Auto: POST /v1/runs {"query"}. Failures are free. When search answers match "none", build: POST /v1/builds. - Take inputs from the method's input_schema, never from its name. A 202 means a run or query is still going: GET /v1/runs/{id}?wait=60 holds the answer until it ends, POST /v1/runs/{id}/cancel stops it. On failure branch on error.code; after rate_limited wait for Retry-After. - Methods with effect "write" change something on a website: run them only when the user asked. - MCP: https://api.fous.com/mcp (Streamable HTTP, same key). Tools: search, run, run_action, query, get_run, stop, build, connect, connections, methods, builds, account. ## Get started - [Introduction](https://docs.fous.com/index.md): Fous makes websites usable by agents and software. Run a method you pick with your own inputs, or send a query and get the result. - [Quickstart](https://docs.fous.com/quickstart.md): Create an API key, then connect an AI agent over MCP or make your first call with the HTTP API. - [API keys](https://docs.fous.com/authentication.md): Create, rotate and revoke keys, connect agent keys, the scopes a key carries, and what a missing or refused key returns. ## Find and run - [Find a method](https://docs.fous.com/guides/search.md): Find the methods that fit a need, list a site's methods, and read a method's full contract before you run it. - [Run a method](https://docs.fous.com/guides/runs.md): Send your own input to a method, read the result, follow a slow run, cancel it, and handle failures. - [Run a query](https://docs.fous.com/guides/auto.md): Send a query in plain language and get the result. Fous picks the methods, fills their inputs and runs them. - [Connect an account](https://docs.fous.com/guides/connections.md): Sign in to a website through Fous, from your code, your agent or Studio, or save a site's API key. Methods on that site then run with it. ## Build - [Build a method](https://docs.fous.com/guides/builds.md): Make a method from a request in plain words, follow it to the end, steer it with messages, and cancel or dismiss it. - [Manage your methods](https://docs.fous.com/guides/methods.md): List your methods, switch the version your organization uses, change any method, and publish or delete your own. - [Status and repairs](https://docs.fous.com/guides/status.md): How a method version stands, what runs get while Fous repairs it, how health checks work, and how to follow a method without polling. ## AI agents - [Connect an AI agent](https://docs.fous.com/guides/mcp.md): Connect Claude Code, Codex, Cursor, VS Code or any MCP client to Fous, with tools to find, run and build website methods and connect accounts. - [Docs for AI agents](https://docs.fous.com/guides/coding-agents.md): Every page as Markdown, the whole site in one file, the API contract and one prompt for a coding agent. ## Migrating - [Migrate from the old API](https://docs.fous.com/guides/migration.md): Every change from the old tool API, with each old call next to its new one, and a prompt that moves your code for you. ## API reference - [API reference](https://docs.fous.com/api-reference.md): The base URL, authentication and every endpoint of the Fous API, version 1.0.0, by resource. - [OpenAPI 3.1](https://api.fous.com/openapi.json): The exact contract, version 1.0.0. - [GET /v1/search](https://docs.fous.com/api-reference/methods.md): Find the methods that fit a need described in plain language, best first, each with its effect and input schema. - [GET /v1/methods](https://docs.fous.com/api-reference/methods.md): Your organization’s own methods, private and published, the latest change first; or, with ids, any methods it sees, each at the version it uses, for a live re-read of their status. - [GET /v1/methods/{domain}/{name}](https://docs.fous.com/api-reference/methods.md): A method’s full contract at the version your organization uses (or @N for one version): input and output schema, an example, auth, cost, how it stands (status, repair), its versions and what the latest changes. Also GET /v1/methods/{id}. - [PATCH /v1/methods/{domain}/{name}](https://docs.fous.com/api-reference/methods.md): Switch your organization to another version of a method, or publish your own method. Also PATCH /v1/methods/{id}. - [DELETE /v1/methods/{domain}/{name}](https://docs.fous.com/api-reference/methods.md): Deletes your organization’s private method: it no longer runs, and its versions stay for the record. Also DELETE /v1/methods/{id}. - [POST /v1/runs](https://docs.fous.com/api-reference/runs.md): Run a method with an input that fits its input_schema, or send a query in plain language and get the data back. - [GET /v1/runs/{id}](https://docs.fous.com/api-reference/runs.md): Status and result of a run (a method’s or a query’s), kept 24 hours. - [POST /v1/runs/{id}/cancel](https://docs.fous.com/api-reference/runs.md): Cancels a run (a method’s or a query’s) that is still going: nothing is charged, reading it afterwards answers 409 conflict with reason "stopped", and what the site answers after that is dropped. - [GET /v1/builds](https://docs.fous.com/api-reference/builds.md): Your organization’s 50 newest builds of the past 30 days, newest first, with the repairs of its methods; dismissed ones are left out. - [POST /v1/builds](https://docs.fous.com/api-reference/builds.md): Builds a method for one capability, on the site you name or on the sources that answer it best (merged when several have it), usually in about a minute (a site that is harder to read can take a few). - [GET /v1/builds/{id}](https://docs.fous.com/api-reference/builds.md): The build: its status, what it said as it worked (events), the messages sent to it, and the method once ready. - [DELETE /v1/builds/{id}](https://docs.fous.com/api-reference/builds.md): Takes a finished build off the list; the method it made stays. - [POST /v1/builds/{id}/cancel](https://docs.fous.com/api-reference/builds.md): Cancels a build that is still going: it ends with the reason "Stopped." and nothing is charged for it. - [POST /v1/builds/{id}/messages](https://docs.fous.com/api-reference/builds.md): Sends a message to a build, checked like a build request. - [GET /v1/builds/{id}/images/{position}](https://docs.fous.com/api-reference/builds.md): An image sent with a build request or a message, by its position (the url in images names it). - [GET /v1/connections](https://docs.fous.com/api-reference/connections.md): Your organization’s connections, with any sign-in that runs. - [POST /v1/connections](https://docs.fous.com/api-reference/connections.md): Connect a website login, signed in inside Fous one step at a time, or save a site’s own API key. - [GET /v1/connections/{id}](https://docs.fous.com/api-reference/connections.md): The connection and its sign-in, if one runs. - [PATCH /v1/connections/{id}](https://docs.fous.com/api-reference/connections.md): Makes the connection its site’s default: the account runs and builds on that site use when a call names none (a working connection still comes before a default that does not work). - [DELETE /v1/connections/{id}](https://docs.fous.com/api-reference/connections.md): Removes the connection and wipes its saved key or sign-in. - [POST /v1/connections/{id}/sign-in](https://docs.fous.com/api-reference/connections.md): A website login’s sign-in, run inside Fous. - [DELETE /v1/connections/{id}/sign-in](https://docs.fous.com/api-reference/connections.md): Stops the sign-in that runs (none: nothing to stop). - [GET /v1/account](https://docs.fous.com/api-reference/account.md): The organization behind the key: credit balance, plan limits, monthly build allowance and prices. - [Errors](https://docs.fous.com/api-reference/errors.md): The error object every failure returns, and the error codes each HTTP status carries. ## Optional - [Full documentation](https://docs.fous.com/llms-full.txt): Every page in one file. - [Billing and credits](https://docs.fous.com/guides/billing.md): What search, runs, queries and builds cost, when credits are charged, and where to manage credits, limits and spending. - [Organizations and roles](https://docs.fous.com/guides/organizations.md): Organizations, member roles, invitations, ownership transfer and organization settings in Studio. - [Your account](https://docs.fous.com/guides/accounts.md): Sign in to Studio with email or Google, turn on two-factor authentication, change your email address, recover access and delete your account. - [Errors and limits](https://docs.fous.com/guides/errors.md): The error object, the codes only the MCP server sends, the limits that apply, and every error code with what to do about it.