apiome arazzo
Global options such as --base-url, --tenant and --json go before the command — see CLI reference. Exit codes are listed in Exit codes.
apiome arazzo
List, show, validate and run the Arazzo workflows a revision stores.
apiome arazzo [OPTIONS] COMMAND [ARGS]...
Subcommands: list, run, show, validate.
apiome arazzo list
List the Arazzo workflows a revision stores.
Reads GET /v1/workflows/{tenant}/versions/{version_id}, or the catalog route with --catalog. The table counts each workflow's steps and how many resolved to an operation; --json prints the REST response (every workflow with its steps).
Exit codes: 0 listed (an empty table when the revision holds no Arazzo document); 2 bad flags, or the project, version or catalog item is unknown; 1 server or network error.
apiome arazzo list [OPTIONS]
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--project | text | Project UUID or slug (with --version). | ||
--version | text | Version UUID, slug or label (with --project). | ||
--catalog | text | Catalog item UUID; reads its latest revision unless --revision. | ||
--revision | text | Catalog revision UUID (with --catalog). |
apiome arazzo run
Run a stored Arazzo workflow end to end against a verification target.
Posts to POST /v1/workflows/{tenant}/versions/{version_id}/workflows/{workflow_id}/run. Steps run in order: their requests read --input values and earlier steps' outputs, their successCriteria are judged (each printed with its expected and, when it fails, actual value) and onSuccess / onFailure end, goto and retry actions are followed. Only GET/HEAD/OPTIONS steps run by default: a mutating step needs the target policy, --allow-mutating and a --fixtures entry, or the whole run is refused before anything is sent. Every executed run is recorded as verification evidence; --json prints the full response.
Exit codes: 0 every step passed; 3 refused because a mutating step lacked policy, opt-in or fixture; 7 a step failed or errored, or the run was refused for another reason (unresolved step, invalid inputs); 2 bad flags, unreadable files, or an unknown revision, workflow or target; 1 server or network error.
apiome arazzo run [OPTIONS] WORKFLOW_ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
WORKFLOW_ID | text | yes | The workflow's Arazzo workflowId. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--target | text | yes | Verification target slug or id — a deployment or a mock target. Credentials come from the target's env/stored reference on the server, never from this flag. | |
--project | text | Project UUID or slug (with --version). | ||
--version | text | Version UUID, slug or label (with --project). | ||
--catalog | text | Catalog item UUID; reads its latest revision unless --revision. | ||
--revision | text | Catalog revision UUID (with --catalog). | ||
--input | text (repeatable) | Workflow input as NAME=VALUE (repeatable); a JSON value keeps its type (count=3). | ||
--inputs | path | JSON or YAML file holding an object of workflow inputs. | ||
--allow-mutating | flag | Opt in to POST/PUT/PATCH/DELETE steps. Each still needs a fixture (--fixtures) and a target policy that allows mutating methods. | ||
--fixtures | path | JSON or YAML list of mutating fixtures ({operation_key, case_id?, path_parameters?, query_parameters?, headers?, body?, note?}); case_id narrows one to a stepId. | ||
--idempotency-key | text | Evidence retry key; a repeated key returns the original run. | ||
--context | text (repeatable) | Non-secret CI context as KEY=VALUE (repeatable), e.g. commit=abc123. |
apiome arazzo show
Show one stored Arazzo workflow and its ordered steps.
Reads GET /v1/workflows/{tenant}/versions/{version_id}/workflows/{workflow_id}; with --catalog the workflow is picked from the catalog route's list. Each step shows its target, its resolution state (resolved, unresolved, not_applicable or parse_error) and the operation it resolved to; --json prints the workflow with its revision and declared sources.
Exit codes: 0 shown; 2 bad flags, or the revision or workflow is unknown; 1 server or network error.
apiome arazzo show [OPTIONS] WORKFLOW_ID
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
WORKFLOW_ID | text | yes | The workflow's Arazzo workflowId. |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--project | text | Project UUID or slug (with --version). | ||
--version | text | Version UUID, slug or label (with --project). | ||
--catalog | text | Catalog item UUID; reads its latest revision unless --revision. | ||
--revision | text | Catalog revision UUID (with --catalog). |
apiome arazzo validate
Validate an Arazzo document, or the workflows a revision stores.
With FILE, checks the document against the Arazzo JSON Schema for the version it declares (1.0.x or 1.1.x) — no server call. With --project/--version or --catalog instead, reads the stored workflows and fails when a step's operationRef / operationId is unresolved or could not be parsed, or when a source description is missing; each problem is printed on stderr.
Exit codes: 0 valid; 7 invalid document, or unresolved steps or missing sources; 2 bad flags, an unreadable file, or an unknown revision; 1 server or network error.
apiome arazzo validate [OPTIONS] [FILE]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
SOURCE | text | Arazzo document to check (.yaml, .yml, .json, a URL, or - for stdin). |
Options
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
--project | text | Project UUID or slug (with --version). | ||
--version | text | Version UUID, slug or label (with --project). | ||
--catalog | text | Catalog item UUID; reads its latest revision unless --revision. | ||
--revision | text | Catalog revision UUID (with --catalog). |