Actor

Principal behind an action. kind is the principal and method is the credential it acted through; the matching nested field (user, personal_key, org_key) is populated when one applies.

  • object
    Type: string

    Resource type identifier

  • kind
    Type: string

    The kind of principal: user, org, visitor, or system.

  • method
    Type: string

    The credential the principal acted through: session, personal_key, org_key, or system.

  • user
    Type: object · User

    Full user profile. Populated for the user kind when the user row is resolvable; null otherwise, including when the user was deleted after the action was recorded.

    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.

  • personal_key
    Type: object · ActorPersonalKey

    Personal API key pointer. Populated only for method personal_key.

    Personal API key pointer inside an Actor envelope.

    • object
      Type: string

      Resource type identifier

    • id
      Type: string

      Personal API key typeid (prefix pkey_)

  • org_key
    Type: object · ActorOrgKey

    Org API key pointer. Populated only for the org kind.

    Org API key pointer inside an Actor envelope.

    • object
      Type: string

      Resource type identifier

    • id
      Type: string

      Org API key typeid (prefix okey_)