Create a key for a customer
create_customer_keyCreate a key for a customer
Creates a model key for the customer. The secret is in this response only. Calls with it are billed to your balance at our price. At most 50 working keys per customer, and 5,000 new customer keys a day per account: past either, 409 limit_reached.
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": {
"id": "<id>"
},
"name": "create_customer_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The customer id. | |
| name | No | default | |
| allowedModels | No | Models the key may call; null or empty for every model. | |
| idempotencyKey | No | Optional. A unique string so that repeating this call never creates twice. | |
| monthlyLimitUsd | No | Monthly cap of this key at our price (what its calls cost you), calendar month; null for none. spendLimitUsd caps the whole customer. |