Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
Generate a new API key scoped to a specific organization. The plain-text key is returned only once—store it securely immediately after creation.
POSThttps://api.freddy.aitronos.com/v1/organizations/{organization_id}/api/new-key

Path Parameters

organization_id string required

Unique identifier of the organization receiving the API key.

Request Body

name string optional

Friendly label to display in the dashboard.

monthly_limit number optional

Monthly spending limit in CHF. Use null for unlimited usage.

Returns

Plain text API key value (shown once).

oak_prod_f8be6ea9b1a347f1ac0f9d52c1a4d83c4f5c67db2a1d4e3f

Request example

Bash
curl -X POST "https://api.freddy.aitronos.com/v1/organizations/ORG_1234567890abcdef/api/new-key" \
  -H "Authorization: Bearer $FREDDY_API_KEY" \
  -H "Content-Type": "application/json" \
  -d '{
    "name": "Production backend",
    "monthly_limit": 2500
  }'