Skip to content
Last updated

🔨 In Development — This section is still being developed and may change.
Retrieve all API keys belonging to an organization, including masked key values, current status, and spending limits.
GEThttps://api.freddy.aitronos.com/v1/organizations/{organization_id}/api/api-keys

Path Parameters

organization_id string required

Unique organization identifier.

Query Parameters

skip integer optional · Defaults to 0

Number of records to skip before returning results.

take integer optional · Defaults to 25

Maximum number of records to return. Maximum value: 100.

Returns

Paginated collection of API key summaries.

{
  "totalCount": 2,
  "items": [
    {
      "id": "apk_7f21a9d94e6f48b1",
      "maskedKey": "oak_prod_1f33…9b2",
      "name": "Production backend",
      "status": "active",
      "monthlyLimit": 2500,
      "currentMonthCost": 812.55,
      "createdAt": "2025-10-11T09:32:14Z",
      "updatedAt": "2025-11-04T12:01:47Z"
    },
    {
      "id": "apk_8a98c1be43f54d00",
      "maskedKey": "oak_prod_8ab2…1c5",
      "name": "QA environment",
      "status": "paused",
      "monthlyLimit": 500,
      "currentMonthCost": 120.11,
      "createdAt": "2025-06-21T14:22:03Z",
      "updatedAt": "2025-10-29T08:45:02Z"
    }
  ]
}

Request example

Bash
curl "https://api.freddy.aitronos.com/v1/organizations/ORG_1234567890abcdef/api/api-keys?skip=0&take=50" \
  -H "Authorization: Bearer $FREDDY_API_KEY"