이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.

Credentials in automation

Use an organization API key in the environment; nothing is written to disk:
bma auth token prints the selected profile’s credential for tools that call the API directly: curl -H "x-api-key: $(bma auth token)" ....

Output

Data goes to stdout, progress and errors to stderr. On a terminal, lists are tables and objects indented JSON; in a pipe, everything is JSON.

Requests

Path ids are arguments; query parameters and top-level body fields are flags (objects and arrays take JSON or YAML, @file or - for stdin); --body @file.json (or YAML, or -) gives the whole body and flags override its fields.

Sessions

The event stream resumes after a dropped connection (Last-Event-ID): no event is lost or repeated.

Exit codes

An error is one line on stderr, error: <message> (<type>/<code>, request_id <id>); with --json it is the API’s error object as returned. Requests are retried on 429/5xx/network errors honoring Retry-After.

Shell completion