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.
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 |