Create API Key
create_api_keyGenerate a new API key for your agent. The full plaintext key (m2m_...) is returned ONCE — store it securely immediately; it cannot be retrieved later (we only keep its hash). Use keyName to identify the key's purpose (e.g. 'production', 'staging'). Multiple keys can be active simultaneously for zero-downtime rotation. Requires: an existing API key from register_agent. Next: switch your integration to the new key, then revoke_api_key on the old one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | Yes | Your existing API key (m2m_...) | |
| keyName | Yes | Human-readable name for the new key (e.g. 'production', 'staging') |