usewrit-app Cloud API

Tiered Writ CLOUD surface (scrape / map / crawl) — runs on the cloud, NOT the local daemon. These operations target the cloud server (`https://api.usewrit.app`), overriding the daemon `servers` above. Two tiers, resolved by credential: METERED with an `Authorization: Bearer` API key (the `/api/crawl/*` paths, billed per page), or KEYLESS with no key (the `/v1/keyless/*` paths, free but daily-capped per `X-Writ-Client-Id` device id and per IP). Whole-site crawl is metered-only; keyless covers scrape + map. See the hand-written SDKs' `cloud` surface.

Operations 18

POST /api/crawl/scrape Scrape one page (metered) #
POST /v1/keyless/scrape Scrape one page (keyless) #
POST /v1/keyless/map Map a site's URLs (keyless) #
GET /v1/keyless/quota Remaining keyless allowance #
GET /api/targets List cloud monitors #
POST /api/targets Create a cloud monitor #
GET /api/targets/{target_id} Get a cloud monitor #
PATCH /api/targets/{target_id} Update a cloud monitor #
DELETE /api/targets/{target_id} Delete a cloud monitor #
PATCH /api/targets/{target_id}/toggle Pause or resume a cloud monitor #
POST /api/targets/{target_id}/run Check a cloud monitor now #
GET /api/targets/{target_id}/changes A cloud monitor's change history #
GET /api/targets/changes/recent Recent changes across all cloud monitors #
POST /api/crawl Start a cloud crawl #
GET /api/crawl/{crawl_id} Poll a cloud crawl #
POST /api/v1/website-to-api Turn a website into a callable API #
GET /api/v1/website-to-api/{build_id} Poll a website-to-API build #
POST /v1/keyless/crawl Crawl a few pages (keyless) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/usewrit-app:usewrit-app-cloud-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

usewrit-app-cloud-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Writ Agent Cloud API
  version: 0.1.0
  license:
    name: MIT
    identifier: MIT
  description: 'Loopback HTTP API of the Writ local agent (`writ-agentd`), the daemon embedded in the

    Writ desktop app and the self-host build. This document is generated against the Rust

    daemon source (`writ-agent/src/local/`), which is the wire truth.


    ## Transport


    - Plain HTTP on `127.0.0.1:8131` (default; `WRIT_PORT` env overrides).

    - Optional HTTPS twin on `127.0.0.1:8132`, served with a certificate minted by a

    per-install, name-constrained local CA (`~/.writ/tls/ca.pem`). Clients must trust that

    CA file (or pin it) to use the TLS port; the payloads are identical on both ports.

    - The daemon enforces a DNS-rebind guard: `Host`/`Origin` must be loopback. Talk to

    `127.0.0.1`, not `localhost`.


    ## Errors


    Domain errors are JSON `{"error": "", "code": ""}` (see the

    `Error` schema). Codes include `bad_request`, `unauthorized`, `forbidden`, `not_found`,

    `vault_locked` (HTTP 423), `too_many_requests`, `device_capacity` (HTTP 409),

    `captcha_required` (HTTP 402), `internal`.


    **Caveat:** some 4xx bodies are `text/plain`, not JSON — axum framework rejections

    (e.g. a JSON body that fails to deserialize returns

    `Failed to deserialize the JSON body into the target type: missing field ''url''` as

    plain text with a 4xx status). Clients must tolerate non-JSON error bodies.


    ## List envelopes


    The wire is deliberately documented as-is (SDKs normalize; this spec does not):


    - `{"data": [...], "count": n}` — workflows, personas, persona runs, secrets, files, keys

    - `{"data": [...], "count": n, "total": n}` — runs

    - **bare JSON array** — monitors, monitor selectors, extractors, automations,

    `/v1/changes/recent`

    - bespoke objects — `/v1/monitors/{id}/changes`, `/v1/data`, the workflow-data table'
servers:
- url: http://127.0.0.1:8131
  description: Plain-HTTP loopback listener (default port; WRIT_PORT overrides).
- url: https://127.0.0.1:8132
  description: HTTPS twin of the same API, terminated with a certificate from the per-install local CA at ~/.writ/tls/ca.pem. Trust that CA (or pin it) in your HTTP client.
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (43 KB total) ---
# Full source: https://artifacts.apis.io/usewrit-app/openapi/usewrit-app-cloud-api-openapi.yml