Skip to main content
All commands operate on the client your session is bound to — you don’t pass a client id. Run any command with --help for its full options.

Global flags

These work on every command:
FlagDescription
--output, -o table|jsonOutput format. table on a terminal, json for scripting.
--profile, -p <name>Use a specific account/profile.
--env prod|stagingTarget environment (default: prod).
--api-base <url>Override the server URL (for local development).
--verbose, -vEcho HTTP requests to stderr.
--versionPrint the CLI version.
Destructive commands accept --yes / -y to skip the confirmation prompt.

auth

Log in, log out, and switch accounts.
CommandDescription
auth login [--profile <name>] [--no-browser]Browser device-pairing login. Creates or refreshes the profile’s session.
auth logoutRevoke the active key server-side and remove it locally.
auth whoami (alias maximem-synap whoami)Show client, scopes, key expiry, and profile.
auth listList all logged-in accounts (active one starred).
auth use <profile>Set the active account.
auth print-access-tokenPrint the active key (for scripts/CI).
maximem-synap auth login
maximem-synap whoami
maximem-synap auth use acme

instances

Provision and manage memory instances.
CommandDescription
instances list [--status <s>] [--page <n>] [--page-size <n>]List instances with status, config state, and memory counts.
instances get <id>Show one instance in detail.
instances create --name <n> --relationship <r> [--agent-type <t>] [--description <d>]Create an instance. --relationship is b2c | b2b | internal | agent_to_agent.
instances update <id> [--name <n>] [--description <d>]Rename or edit an instance.
instances promote <id> --target-name <n> [--copy-mode <m>]Create a production sibling. --copy-mode is config_only | config_and_memories.
instances delete <id> [--yes]Delete an instance (typed-name confirmation unless --yes).
maximem-synap instances list
maximem-synap instances create --name "Support Agent" --relationship b2c
maximem-synap instances get inst_a1b2c3d4
A freshly created instance generates its memory architecture (MACA) in the background and stays pending until approved in the Dashboard. instances promote requires an approved config.

api-keys

Manage the runtime API keys your agents use with the SDK.
CommandDescription
api-keys list --instance <id>List keys for an instance (metadata only — never the secret).
api-keys create --instance <id> [--label <l>]Mint a key. The secret is shown once.
api-keys get <credential-id>Show metadata for one key.
api-keys revoke <credential-id> [--yes]Revoke a key immediately.
maximem-synap api-keys create --instance inst_a1b2c3d4 --label prod
maximem-synap api-keys list --instance inst_a1b2c3d4
maximem-synap api-keys revoke <credential-id>
The plaintext key is returned only at creation. Copy it immediately and store it as SYNAP_API_KEY in your agent’s environment.

client

Inspect your client and manage its team.
CommandDescription
client getShow the client your session is bound to.
client members listList members and their roles.
client members invite --email <e> [--role <r>]Invite a member. --role is owner | admin | member.
client members update <user-id> --role <r>Change a member’s role.
client members remove <user-id> [--yes]Remove a member.
maximem-synap client get
maximem-synap client members list
maximem-synap client members invite --email [email protected] --role member

requests

Inspect request-level SDK activity — the same data as the Dashboard’s Requests view.
CommandDescription
requests list [filters]List SDK requests (add / search / get_all / delete) in a time window.
requests events <correlation-id>Show the memory actions a single request produced.
Filters for requests list:
FlagDescription
--since, -s <window>1h | 6h | 12h | 1d | 7d | 14d | 30d | 90d | all (default 1d). Or use --start/--end for a custom range.
--instance, -i <id>Filter to one instance.
--type add|search|get_all|deleteOperation type.
--status succeeded|failed|processingOutcome.
--user, --agent, --app, --run, --request-idFilter by the corresponding identifier.
--has-resultsOnly requests that returned results.
--sort time|latency:asc|descSort order (e.g. latency:desc).
--page / --limitPagination.
maximem-synap requests list --since 1h
maximem-synap requests list --since 7d --type search --status failed --sort latency:desc

memories

Inspect stored memories (read-only — writes happen through the SDK at runtime).
CommandDescription
memories list [filters]List memories with the Dashboard’s filter set.
memories get <memory-id>Show one memory in detail.
memories history <memory-id>Show a memory’s action changelog.
Filters for memories list:
FlagDescription
--instance, -i <id>Filter to one instance.
--search, -q <query>Full-text search on content.
--type <t>Memory type (e.g. facts, preferences, episodes).
--scope <s>customer | user.
--entity <e>Filter by entity.
--page / --limitPagination.
maximem-synap memories list --instance inst_a1b2c3d4
maximem-synap memories list --type preferences --search "window seat"

config

Local CLI settings for the active profile.
CommandDescription
config getShow the active profile’s settings.
config set <key> <value>Set a setting (e.g. api_base).
config pathPrint the path of the config file.
maximem-synap config get
maximem-synap config path