Use the flowus CLI with --json for every command.
Commands
- Read page:
flowus --json page get <page_id> - Create page:
flowus --json page create --body <file.json> - Create page with idempotency:
flowus --json page create --body <file.json> --idempotency-key <key> - Update page:
flowus --json page update <page_id> --body <file.json> - Update page with optimistic lock:
flowus --json page update <page_id> --body <file.json> --if-match <etag> - Read page property:
flowus --json page property get <page_id> <property_id> - Read paged property values:
flowus --json page property get <page_id> <property_id> --start-cursor <cursor> --page-size <n> - Delete page:
flowus --json page delete <page_id>
Rules
- If authentication is unclear, use
flowus --json doctor; useflowus loginfor interactive login. - Credential precedence is
--token, thenFLOWUS_TOKEN, then the token saved byflowus login. - Do not call FlowUs V2 API with
curl. - Do not print or save bearer tokens.
- For large page content, prefer
flowus --json markdown get <page_id>from the markdown skill. property_idmeans the API property ID, not the displayed property name.- Before creating a page, confirm the body file and any page ID in the body or target context come from user-authorized input.
- Before updating a page, confirm the page ID and body file come from user-authorized input.
- Before deleting a page, confirm the page ID comes from explicit user authorization; deletion is destructive.
- Treat
ok: falseas a failed operation even if the process output is parseable JSON.