users

Return the authenticated user and their current organization permissions.

get/current_user

Request

  • Base URL
    https://api.galileo.ai
  • URL
    https://api.galileo.ai/current_user
  • Auth
    • API key in header Splunk-AO-API-Key
    • or API key in header Galileo-API-Key
    • or OAuth 2
      Password
      Token URL: https://api.galileo.ai/login
    • or HTTP basic

Response

Successful Response

idstring uuid4 required
emailstring required
first_namestring nullable
last_namestring nullable
auth_method'email' | 'google' | 'github' | 'okta' | 'azure-ad' | 'custom' | 'saml' | 'invite'
role'admin' | 'manager' | 'user' | 'read_only' | 'capability_based'
email_is_verifiedboolean nullable
organization_idstring uuid4 required
organization_namestring required
created_atstring date-time required
updated_atstring date-time required
capabilitiesstring[]

Capability keys carried by the authenticated request context. Only capability-based gateway sessions populate this field. Role-based sessions use generic_permissions and return an empty list.

Changes

    • warning

      added the new read_all_logs enum value to the //// response property for the response status

    • warning

      added the new read_all_logs enum value to the /// response property for the response status

    • warning

      added the new read_filtered_logs enum value to the //// response property for the response status

    • warning

      added the new read_filtered_logs enum value to the /// response property for the response status

    • info

      added the required property to the response with the status