api-key-create
:
Instructions
Create a new platform API key with specified permission scopes. The key value is returned ONLY in this response and cannot be retrieved later, so save it immediately. Creates a new key record. Requires scope: settings:write. Use api-key-list to see existing keys. Use api-key-revoke to delete keys you no longer need.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Human-readable label for the API key | |
| scopes | Yes | Permission scopes for the key. Use '*' for all scopes. | |
| expiresAt | No | Expiration date as ISO 8601 string | |
| monthlyCreditsLimit | No | Monthly credit usage cap for this key |