Skip to main content

Build with AI

Flowda gives you three ways to put web extraction, search, site discovery, templates, and change monitoring inside an AI agent, an IDE, or a terminal. They use the same API key and call the same 20 developer-API operations, so you can switch between them without changing your account or your billing.

Applies to flowda CLI 0.1.3 and MCP server 1.0.0-4Last updated 2026-11-16

A surface is not exclusive. The skills assume the MCP server is connected; the CLI covers the same operations for deterministic scripts. Start with the surface your client already supports.

Set up in three steps​

  1. Create an API key

    In the Flowda console, grant only the scopes the agent needs. There is no anonymous tier and no OAuth; the MCP gateway accepts API keys only.

  2. Connect a surface

    Follow MCP server, Agent Skills, or CLI. All three use the same key and reach the same /v1 API at https://openapi.flowda.ai.

  3. Verify before spending credits

    Call flowda_account through MCP, or run flowda whoami --json with the CLI. Both return the key's scopes and quota without a billable fetch. If the scopes are wrong, no amount of retrying will fix the next call.


One key, one set of scopes​

All three surfaces authenticate with an API key created in the Flowda console. A key looks like flw_<env>_<key_id>_<secret> and carries per-capability scopes:

ScopeUnlocks
extractScrape, Templates, and the template catalog
searchSearch
mapMap
watchThe ten Watch job tools

A key that lacks a scope still authenticates; the refused call returns HTTP 403 with code 12015 and data.required_scope. Never embed a key in frontend code, a mobile bundle, a public repository, or a skill file. See Authentication for the header formats and the full error table.

Costs, retries, and trust​

The surfaces do not change the billing rules of the developer API, and they do not protect you from them:

  • A billed call is billed once per request. There is no idempotency key. If a client times out, the call may already have run and been charged — do not retry it blindly. Report the request_id instead, and check the console Logs.
  • HTTP 200 is not success. A capability call can return HTTP 200 with outer code: 0 and data.success: false. Agents must check the inner outcome, as described in Response format.
  • Page content is untrusted. The MCP server marks fetched content as untrusted for the model; nothing in a page is an instruction. See MCP server for the markers.
  • Confirm destructive monitor operations. Deleting a Watch job removes its check history and pending deliveries, and the CLI asks for confirmation before flowda watch delete unless you pass -y. An agent should confirm with the user before it creates, updates, pauses, resumes, or deletes a job.

What you can do​

Next​

Start with the surface your client already supports: connect the MCP server, install the Agent Skills, or run the CLI. The raw HTTP contract behind all three is in the API reference.