MAP Docs
MOTIF

CLI

`map invoke MOTIF` recipes for every operation.

The CLI is a Rust binary at services/map-cli. After map login you can dispatch any operation on MOTIF from the shell.

Common flags

FlagEffect
--input <json>Operation payload (or read from stdin)
--version v1.0.0Pin a specific protocol version
--idempotency-key <k>Required for safe retries of state-changing ops
--audit-tailPrint the audit record(s) produced
--output humanPretty-print response (default: json)

Recipes

detect

map invoke MOTIF detect --input '{"example":true}'

Run pattern-detection over a window of telemetry; named motifs with frequency.

Capability: map.motif.detect

catalog

map invoke MOTIF catalog --input '{"example":true}'

Browse the catalog of known motifs.

Capability: map.motif.catalog

alert

map invoke MOTIF alert --input '{"example":true}'

Subscribe to recurrence of a catalogued motif.

Capability: map.motif.alert

See CLI reference for global flags, login, MCP integration.

On this page