FlowRelay Docs Shopify Flow
All docs pages

START

USE CASES

SET UP

OPERATE

RECOVER

AGENT ACCESS

REFERENCE

Reference

FlowRelay CLI Reference

JSON-first CLI wrapper over Agent Operations, including docs discovery and doctor commands.

What the CLI is for #

The CLI is a JSON-first wrapper over Agent Operations for docs discovery, environment checks, safe reads, and governed action previews. It points users and agents back to public docs for product meaning.

Common commands #

Use these documented commands for docs discovery, environment checks, scoped event reads, and governed replay previews.

CommandPurpose
flowrelay-agent docsPrint the docs index, Markdown links, manifest URL, OpenAPI URL, and reference URLs.
flowrelay-agent doctorCheck grant context, edition identity, docs reachability, manifest reachability, and OpenAPI reachability.
flowrelay-agent events --limit 25Read scoped event history as JSON without exposing raw private material.
flowrelay-agent replay-intent <event-id> --json replay.jsonCreate or inspect a replay preview before a governed execution.

Output rules #

Use JSON output for agents and scripts. Human-friendly output still includes stable docs URLs, refusal reasons, and the next safe action when a command cannot proceed.

Safety boundary #

The CLI does not print secrets, raw payloads, full auth headers, HMAC values, Shopify tokens, sessions, database URLs, or customer data. Use diagnostics IDs and redacted summaries instead.