# Retrieve the datalayer Retrieves the Datalayer object for the current session. The datalayer can be used to provide contextual data when tracking user activity, for example providing values for 'User Attributes' in hotjar. The /blaize/profile endpoint is preferred for retrieving complete user profile information. All fields configured in the admin console will be resolved against the current session and returned. The top-level property in the response object defaults to 'dataLayer' and can be configured in the console under the data layer settings using the 'Data Layer Name' field. Data layer fields can be grouped by their 'Entity' as configured in the console. An example of the possible groupings is included. Endpoint: GET /blaize/datalayer Version: 2025-07-30 Security: CookieBlaizeSession, JwtQuery, JwtHeaderXBlaizeJwt, JwtHeaderXZephrJwt, JwtBearer, JwtCookie ## Response 200 fields (application/json): - `dataLayer` (array) ## Response 401 fields