set_key_services
Read or change which gateway services ONE of the account's API keys may use (rpc, data, gas, tx_status, ens, prices, contracts, utils) and its per-service monthly unit caps. enabled = the FULL list to keep on for that key (others answer -32012 with blocked_by: key); caps = unit caps by service for that key alone (-32014 with scope: key once reached; an empty value clears). A key can never exceed the account's own service settings. No arguments besides id = read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The API key id (from create_api_key, list_agents or usage_report) | |
| caps | No | Monthly unit caps for this key by service, e.g. {"gas": 500}; empty value clears | |
| window | No | Usage window for the report: 1h, 6h, 12h, 24h, 3d, 7d or 30d (default 30d) | |
| enabled | No | Full list of service keys to keep ON for this key |