Create API Key
neuron_create_api_keyGenerate a new API key for a bot to enable programmatic access, with an optional expiration date.
Instructions
Generate a new API key for a bot to enable programmatic access. The key will have an 'nrn_' prefix and can optionally expire at a specified date.
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": {
"botId": "<botId>",
"name": "<name>"
},
"name": "neuron_create_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A descriptive name for the API key to identify its purpose | |
| botId | Yes | The unique identifier of the bot for which to create the API key | |
| expiresAt | No | Optional ISO 8601 date-time when the key should expire (e.g., '2026-12-31T23:59:59Z') |