Crewferry API
Responses are `{ data, code, message, meta }`. Errors add RFC 9457 fields and use `application/problem+json`. Lists are cursor-paginated (`limit`, `cursor`).
Machine-readable: /api/v1/openapi.json
get /api/v1/organizations/{organization_id}/workspacesList the organization's workspaces
Cursor-paginated by ID (creation order).
get /api/v1/workspaces/{workspace_id}Get a workspace
get /api/v1/organizations/{organization_id}/usageOne project's add-on balance
The project's add-on balance (ADR 0239) in millionths of a dollar: the period's own dollars and what is left of them, grants (top-ups, and dollars given by Crewferry) with what is left and when they expire, what is frozen and why, this period's spend by service, what calls are charged now, and (for owners and admins signed in) the organization's top-up budget (`addon_spent_micro_usd` and `addon_limit_micro_usd` are null otherwise). Each paid call is charged what it costs. Calls answered by the organization's own connected accounts are never charged. `services`, `addons`, `addon_spent_micro_usd`, `addon_limit_micro_usd` and `can_buy` are deprecated (see the `Deprecation` and `Sunset` headers): use `balance`.
post /api/v1/routines/{trigger_id}/startStart a routine now from its URL trigger (Bearer: the trigger's token)
Send `Authorization: Bearer <token>` and optionally `{ "text": "…" }` (at most 65,536 characters): the run reads the text as outside data, never as instructions. At most 30 starts an hour per routine (429 with Retry-After). An unknown or switched-off trigger, or a wrong token, is 404.