Create API key
create_api_keyGenerate a new API key for an authenticated Bisibility project with configurable access scope, expiry, and custom labeling, returning the raw token once for secure storage.
Instructions
Create a new API key for the authenticated project. The raw token is returned once in the response and cannot be retrieved again; store it securely.
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": {
"name": "<name>"
},
"name": "create_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label you choose to identify the API key. | |
| scope | No | Access tier. When omitted, defaults to admin for backward compatibility. | admin |
| project_id | No | Identifier of the bisibility project to operate on; list_projects returns valid project ids. | |
| expires_in_days | No | Lifetime in days. Use null for no expiry. | |
| idempotency_key | No |