Create organization API key
create_org_api_keyMake an organization API key for the Wavelength REST API (docs: https://wavelengthflow.com/developers.html). The key is returned only once; Wavelength keeps only a hash. The key acts as you and stops working if you are no longer an owner or admin. Scopes: flows:read, flows:write, audit:read, usage:read. Up to 10 active keys. Only an owner or an admin can do this.
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": {
"org_id": "<org_id>"
},
"name": "create_org_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | A name for the key, for example Data warehouse sync. | |
| org_id | Yes | Organization id from list_organizations. | |
| scopes | No | What the key can do. Default ["flows:read"]. | |
| expires_in_days | No | Optional. The key stops working after this many days (1 to 730). |