kosa8 cloud ai settings
Show or change the AI gateway's settings
With no flags, shows the settings, the gateway's base URL and which providers have a key. --enable or --disable turns the gateway on or off for the organization; --all-sandboxes gives every new sandbox the gateway (else only those made with ai_gateway: true); --cache-ttl caches identical calls for that long (0 off, up to 24h); --rate-per-min caps calls a minute (1-6000).
Options#
| Flag | Type | What it does | Default |
|---|---|---|---|
--all-sandboxes | bool | give every new sandbox the gateway (--all-sandboxes=false: only ai_gateway: true ones) | — |
--cache-ttl | duration | cache identical calls this long (0 off, up to 24h) | 0s |
--disable | bool | turn the gateway off for the organization | — |
--enable | bool | turn the gateway on for the organization | — |
--rate-per-min | int | most calls a minute (1-6000) | 0 |
Example#
kosa8 cloud ai settings kosa8 cloud ai settings --enable --all-sandboxes=true kosa8 cloud ai settings --cache-ttl 10m --rate-per-min 300