Skip to main content

Get heatmap

GEThttps://api.eu1.coralogix.com/mgmt/openapi/5/product-analytics/heatmaps/v1/{id}

Gets a saved heatmap by ID. Returns 412 (FAILED_PRECONDITION) with "Product Analytics is not enabled for this team. A team admin can enable it in Coralogix." when Product Analytics is off for the team.

Requires the following permissions:

  • product-analytics:Read

Authorizations

Authorizationstringheaderrequired
API key authentication

Request​

Path Parameters

    id# stringrequired

    Possible values: non-empty and <= 19 characters, Value must match regular expression ^[1-9][0-9]{0,18}$

    Heatmap ID, a decimal number.

Response

application/json

The heatmap.

    actionNameFilter#ActionNameFilterrequired

    Which clicks the heatmap includes.

    Possible values: [ACTION_NAME_FILTER_UNSPECIFIED, ACTION_NAME_FILTER_ALL_CLICKS, ACTION_NAME_FILTER_NAMED_ONLY, ACTION_NAME_FILTER_UNNAMED_ONLY]

    Default value: ACTION_NAME_FILTER_ALL_CLICKS
    appName#stringrequired

    RUM application the heatmap belongs to.

    Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$

    createdAt#date-timerequired

    When the heatmap was created. Set by the server.

    Possible values: <= 64 characters

    Session filters of the heatmap. Empty when not set.

    Possible values: <= 100

    id#stringrequired

    Heatmap ID, a decimal number. Set by the server.

    Possible values: non-empty and <= 19 characters, Value must match regular expression ^[1-9][0-9]{0,18}$

    mode#HeatmapModerequired

    Kind of heatmap visualization shown for the page view.

    Possible values: [HEATMAP_MODE_UNSPECIFIED, HEATMAP_MODE_TOP_ELEMENTS, HEATMAP_MODE_CLICK_MAP, HEATMAP_MODE_SCROLL_MAP]

    name#stringrequired

    Display name of the heatmap. Does not have to be unique.

    Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$

    owner#string

    User who created the heatmap. Set by the server. Absent for heatmaps saved before owners were recorded.

    Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$

    snapshotId#string

    ID of the page snapshot the heatmap is drawn on. Absent when the heatmap has no snapshot.

    Possible values: non-empty and <= 256 characters, Value must match regular expression ^[\s\S]*$

    timeRange#objectrequired

    Time range of the heatmap.

    oneOf
    object
    timeRange.calendar#CalendarWindow

    Named calendar window, resolved in the viewer's timezone. CALENDAR_WINDOW_UNSPECIFIED is rejected.

    Possible values: [CALENDAR_WINDOW_UNSPECIFIED, CALENDAR_WINDOW_TODAY, CALENDAR_WINDOW_YESTERDAY]

    Absolute time range between two timestamps.

    timeRange.relativeMinutes#string

    Number of minutes back from now.

    Possible values: non-empty and <= 20 characters, Value must match regular expression ^[1-9][0-9]{0,18}$

    updatedAt#date-timerequired

    When the heatmap was last updated, from the API or the Coralogix UI. Set by the server.

    Possible values: <= 64 characters

    version#int32required

    Version of the heatmap. Set by the server: 1 on create, increased by 1 on every update, including updates made in the Coralogix UI.

    Possible values: >= 1 and <= 2147483647

    viewName#stringrequired

    Name of the page view the heatmap covers.

    Possible values: non-empty and <= 1024 characters, Value must match regular expression ^[\s\S]*$