Organization

List organization human API keys

Changed on

Returns the human (non-service-account) Factory API keys of the organization, active and inactive: ordinary user keys plus human-owned restricted compliance-export keys, which carry a purpose marker. Requires the Owner role of the root organization; a selected sub-organization is rejected. Each item carries userId (its human owner), fingerprint, isRevoked, expiresAt, and revokedAt so clients can split them into active/inactive views. Secret key material is never returned.

get/api/v0/organization/api-keys

Request

  • Base URL
    https://api.factory.ai
  • Auth
    HTTP bearer

Query parameters

limit, integer

Maximum number of items to return (1-100)

cursor, string

Cursor for pagination

Headers

X-Factory-Org-Id, string

Ignored: this operation always acts in the user's root organization and requires the Owner role there. A request that selects a sub-organization, or whose caller cannot access the root organization, is rejected with 403.

Response

Response for status 200

ListOrganizationApiKeys200ResponseBody required
apiKeys, object[] required

Human (non-service-account) Factory API keys of the organization, active and inactive

pagination, object required

Changes