OrgKey

Org API key metadata

  • object
    Type: string

    Resource type identifier

  • id
    Type: string

    Unique identifier for the org key

  • name
    Type: string

    Human-readable key name

  • description
    Type: string

    Optional description of the key's purpose

  • prefix
    Type: string

    First 12 characters of the key for UI display

  • permissions
    Type: array string[]

    Permissions assigned to this key

  • status
    Type: string

    Lifecycle state — one of "active", "revoked", "expired"

  • creator
    Type: object · User

    User profile with identity and display metadata

    • object
      Type: string

      Resource type identifier

    • id
      Type: string

      Unique identifier for the user

    • email
      Type: string

      User's email address

    • first_name
      Type: string

      User's first name

    • last_name
      Type: string

      User's last name

    • avatar_url
      Type: string

      URL to user's avatar image

    • mfa_enabled
      Type: boolean

      Whether MFA is enabled for this user

    • created_at
      Type: string

      When the user was created

    • updated_at
      Type: string

      When the user was last updated

    • last_login_at
      Type: string

      When the user last successfully authenticated anywhere (global across all orgs; nil if never). For per-org login recency, see the membership resource's last_login_at.

    • last_active_at
      Type: string

      When the user last made an authenticated request anywhere (global across all orgs; debounced ~1 minute, nil if never). For per-org activity recency, see the membership resource's last_active_at.

  • updated_by
    Type: object · User

    User profile with identity and display metadata

    • object
      Type: string

      Resource type identifier

    • id
      Type: string

      Unique identifier for the user

    • email
      Type: string

      User's email address

    • first_name
      Type: string

      User's first name

    • last_name
      Type: string

      User's last name

    • avatar_url
      Type: string

      URL to user's avatar image

    • mfa_enabled
      Type: boolean

      Whether MFA is enabled for this user

    • created_at
      Type: string

      When the user was created

    • updated_at
      Type: string

      When the user was last updated

    • last_login_at
      Type: string

      When the user last successfully authenticated anywhere (global across all orgs; nil if never). For per-org login recency, see the membership resource's last_login_at.

    • last_active_at
      Type: string

      When the user last made an authenticated request anywhere (global across all orgs; debounced ~1 minute, nil if never). For per-org activity recency, see the membership resource's last_active_at.

  • revoked_by
    Type: object · User

    User profile with identity and display metadata

    • object
      Type: string

      Resource type identifier

    • id
      Type: string

      Unique identifier for the user

    • email
      Type: string

      User's email address

    • first_name
      Type: string

      User's first name

    • last_name
      Type: string

      User's last name

    • avatar_url
      Type: string

      URL to user's avatar image

    • mfa_enabled
      Type: boolean

      Whether MFA is enabled for this user

    • created_at
      Type: string

      When the user was created

    • updated_at
      Type: string

      When the user was last updated

    • last_login_at
      Type: string

      When the user last successfully authenticated anywhere (global across all orgs; nil if never). For per-org login recency, see the membership resource's last_login_at.

    • last_active_at
      Type: string

      When the user last made an authenticated request anywhere (global across all orgs; debounced ~1 minute, nil if never). For per-org activity recency, see the membership resource's last_active_at.

  • expires_at
    Type: string

    When the key expires (nil if never)

  • last_used_at
    Type: string

    When the key was last used for authentication

  • revoked_at
    Type: string

    When the key was revoked (nil if active)

  • created_at
    Type: string

    When the key was created

  • updated_at
    Type: string

    When the key's metadata was last updated