v1

latestOpenAPI 3.0.12026-07-227292131.4 KB
organizations

List API keys

Retrieve a list of API keys accessible by the authenticated user.

  • Organization owner/admin: Can view all API keys within the organization.
  • Organization user: Can only see their own API keys.
get/organizations/{orgId}/api-keys

Path parameters

orgIdstring uuid required
Example:a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11

The organization's ID.

  • Must be a valid UUID.

Response

Successfully retrieved the list of API keys.

Example response

{
  "keys": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "My Service API Key",
      "type": "ie_model",
      "scope": "ie_model",
      "partialKey": "3D6l27ChEA",
      "createdAt": 1738812775,
      "expiresAt": 1738812775,
      "owner": {
        "id": "a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11",
        "firstName": "john",
        "lastName": "doe"
      }
    }
  ]
}