## §OIP SYSTEM ARTICLE — AIG (2 operations)
A generated article for one OIP shelf. It lists every operation in this API/CLI/MCP/device/model/core subsystem, links each leaf article, and gives the ledger path for proof.

### Read Order
- scan operations
- open a leaf doc
- run via run_now or POST /api/dispatch
- open receipt
- repair/replay if needed

### Operations
- **AIG_LIST** — List AI Gateways on the account
  when: you need to aig list
  args: account_id
  doc: https://miscsubjects.com/api/dispatch?key=AIG_LIST&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=AIG_LIST&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=AIG_LIST
- **AIG_RAW** — Raw call to AI Gateway REST. Arg $1 = full JSON body (model + messages)
  when: you need to aig raw
  args: see content
  doc: https://miscsubjects.com/api/dispatch?key=AIG_RAW&format=markdown
  run: https://miscsubjects.com/api/dispatch?invoke=AIG_RAW&body=%3Csee%20content%3E&share=<TOKEN>
  history: https://miscsubjects.com/api/invocations?object_id=AIG_RAW

### Troubleshooting
- If a row's example has placeholders, replace only the placeholder values and preserve separators.
- If a call fails, open its receipt and repair it with POST /api/dispatch {key, body, repairs:'inv_ID'}.
- If token scope denies this system, ask the owner for a row:/rows:/pfx: token scoped to the exact operation set.

Back to the tree: https://miscsubjects.com/api/dispatch?map=1&format=markdown