create_api_key
Create an API key for a team member, assigning viewer, analyst, or admin roles, optionally scoped to a team or provider. Save the key immediately as it is shown only once.
Instructions
Create a new API key for a team member. Requires admin role in shared mode.
Roles: viewer , read-only cost queries, optionally scoped to one team/provider analyst , viewer + attribution writes, budget management, snapshot triggers admin , full access, can manage keys and connectors
The raw key (nbl_...) is shown ONCE, it is not stored. Save it immediately.
Examples: - "Create a viewer key for Alice scoped to the platform team" - "Give Bob an analyst key" - "Create an admin key for the CI system"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| role | No | viewer | |
| No | |||
| scope_team | No | ||
| scope_provider | No |