v1 · OpenAPI 3.1Panel

API referansı İngilizcedir.

Dashboard

List organization API keys

GET/v1/api_keys

Organization API keys (fk_live_…) only. Application secret keys are listed per application with GET /applications/{app_id}/secret_keys. Includes revoked keys (with revoked_at set). Keys never show their secret again. Needs keys:write, not a separate keys:read — there is no read-only way to list keys; developer and viewer roles cannot. A secret key gets 403 secret_key_not_allowed.

Gereken yetki
keys:write
Kimlik doğrulama
Organization API key · Dashboard session

Başlıklar

  • X-Fox-Tenantstring

    Required when authenticating with a dashboard session token instead of a tenant API key.

    Örnek: ten_8f2c91a7

Yanıtlar

  • 200OKobject

    Keys

    • dataTenantApiKey[]

      7 alan
      • idstring

        Örnek: key_8f2c91a7

      • namestring

      • prefixstring

        First 12 characters, to tell keys apart in the dashboard.

        Örnek: fk_live_8f2c

      • scopesstring[]

        Değerler: applications:read applications:write users:read users:write events:read keys:write

      • created_atstring (date-time)

      • last_used_atstringboş olabilir

        Updated at most once a minute.

      • revoked_atstringboş olabilir

  • 401UnauthorizedError

    Missing or invalid key or token. The Management API answers missing_api_key (no Bearer token) or invalid_api_key (unknown or revoked secret key or organization API key).

    • errorobjectzorunlu

      5 alan
      • codestringzorunlu

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Örnek: region_unavailable

      • messagestringzorunlu

        Plain English, for developers

      • regionstringboş olabilir

        Region that produced the error, if any

        Değerler: EU TR

      • retryablebooleanzorunlu

      • detailsobject

  • 403ForbiddenError

    missing_scope (the role or scopes of the key, or the dashboard role, lack the scope), secret_key_not_allowed (a secret key called an endpoint for the whole organization) or not_a_member (X-Fox-Tenant names a tenant the caller does not belong to).

    • errorobjectzorunlu

      5 alan
      • codestringzorunlu

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Örnek: region_unavailable

      • messagestringzorunlu

        Plain English, for developers

      • regionstringboş olabilir

        Region that produced the error, if any

        Değerler: EU TR

      • retryablebooleanzorunlu

      • detailsobject