Trawl

API reference

Every endpoint, grouped by resource. Generated from the live OpenAPI spec.

OpenAPI spec · v1.0.0

Shops

Your products checked against the brand's own site. Every route is a read. Read the Shops guide.

Scraps

Scrap CRUD, execution triggers, banner upload, and account credentials.

ScrapVersions

Atomic versioning of scrap scripts (Git-like history in MongoDB).

Run

Paginated run history, status, exec time, and per-run digest. The pre-rename paths /api/historys/* still work as aliases of /api/runs/*.

Invitations

Admin-managed signup invitations + access control (cap / invite-only)

Developers

Scoped API keys, webhooks, and the MCP server endpoint.

Ai

AI-assisted scrap authoring — the guided wizard (generate → create → run) and related AI operations.

Activities

Real-time SSE event stream per scrap.