Set a profile's API keys
set_governance_profile_keysREPLACE which API keys may use a profile at the Governance Gateway (they also need the api.governance.check scope). An empty list lets any of the organization's gateway keys use it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"api_key_ids": "<api_key_ids>"
},
"name": "set_governance_profile_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The profile. | |
| api_key_ids | Yes | API key ids (key_…); empty = any gateway key. |