> For the complete documentation index, see [llms.txt](https://docs.userlane.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.userlane.com/developers/analytics-api/public/get-tooltips-aggregated-data.md). Agents can also search and read this documentation through its [MCP server](https://docs.userlane.com/~gitbook/mcp).

# Get Tooltips Aggregated Data

Export per-user, per-day tooltip engagement for a property.

One row per day, tooltip, and end user, carrying the visits, views and link clicks behind the portal's tooltip analytics. Summed per tooltip over a range, they equal the portal's totals for that range with no segment applied.

Both dates are required. The current day is served, but its counts are written in real time as events arrive, so a walk ending today is not a point-in-time snapshot; end at yesterday for a reproducible extract. Each page is also cached for five minutes, so re-requesting the same page within that window returns the same counts even if new events have arrived. Data is retained for two years.

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"servers":[{"url":"https://api.userlane.com/analytics"}],"security":[{"ApiTokenAuth":[]}],"components":{"securitySchemes":{"ApiTokenAuth":{"type":"http","scheme":"bearer"}},"schemas":{"TooltipsAggregatedDataResponse":{"properties":{"start":{"type":"string","format":"date","title":"Start","description":"Start of the range served, inclusive."},"end":{"type":"string","format":"date","title":"End","description":"End of the range served, inclusive."},"data":{"items":{"$ref":"#/components/schemas/TooltipsAggregatedData"},"type":"array","title":"Data","description":"The page of rows."},"pagination":{"$ref":"#/components/schemas/CursorPaginationResponse","description":"Page size and the cursor for the next page. `nextCursor` is null on the last page."}},"type":"object","required":["start","end","pagination"],"title":"TooltipsAggregatedDataResponse","description":"A page of the tooltip engagement export.\n\nRows are ordered by date, then tooltip, then user, and a cursor walk returns\neach row exactly once."},"TooltipsAggregatedData":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"The day the events happened."},"tooltipId":{"type":"string","title":"Tooltipid","description":"Tooltip identifier. Normally a numeric id, but returned as a string because it is recorded as sent by the player and is not guaranteed to be numeric. Rows are ordered by this value as text, so '10' sorts before '9'."},"user":{"$ref":"#/components/schemas/PublicUserModel","description":"The end user: the internal id, and your own application user id. applicationUserId is an empty string, not null, for a user with no mapped application id."},"visits":{"type":"integer","title":"Visits","description":"Times the tooltip was loaded on the page for the user, whether or not they opened it. Shown as Visits in the portal."},"views":{"type":"integer","title":"Views","description":"Times the user viewed the tooltip. Shown as Views in the portal."},"linkClicks":{"type":"integer","title":"Linkclicks","description":"Times the user started a guide from a link in the tooltip. Shown as Link clicks in the portal."}},"type":"object","required":["date","tooltipId","user","visits","views","linkClicks"],"title":"TooltipsAggregatedData","description":"One day of one user's engagement with one tooltip.\n\nSummed per tooltip over the range, `visits`, `views` and `linkClicks` equal\nthe portal's Visits, Views and Link clicks for that tooltip with no segment\napplied."},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"CursorPaginationResponse":{"properties":{"limit":{"type":"integer","exclusiveMinimum":0,"title":"Limit"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nextcursor","description":"Opaque cursor for the next page. Pass it back as the `cursor` query parameter to fetch the following page. Null when there are no more results."}},"type":"object","required":["limit"],"title":"CursorPaginationResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}},"paths":{"/public/tooltips/property_id/{property_id}/aggregated":{"get":{"tags":["public"],"summary":"Get Tooltips Aggregated Data","description":"Export per-user, per-day tooltip engagement for a property.\n\nOne row per day, tooltip, and end user, carrying the visits, views and link\nclicks behind the portal's tooltip analytics. Summed per tooltip over a\nrange, they equal the portal's totals for that range with no segment\napplied.\n\nBoth dates are required. The current day is served, but its counts are\nwritten in real time as events arrive, so a walk ending today is not a\npoint-in-time snapshot; end at yesterday for a reproducible extract. Each\npage is also cached for five minutes, so re-requesting the same page within\nthat window returns the same counts even if new events have arrived. Data\nis retained for two years.","operationId":"get_tooltips_aggregated_data_public_tooltips_property_id__property_id__aggregated_get","parameters":[{"name":"property_id","in":"path","required":true,"schema":{"type":"string","title":"Property Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque pagination cursor from the previous response's `nextCursor`. Omit to fetch the first page.","title":"Cursor"},"description":"Opaque pagination cursor from the previous response's `nextCursor`. Omit to fetch the first page."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"exclusiveMinimum":0,"description":"Maximum number of records to return per page","default":1000,"title":"Limit"},"description":"Maximum number of records to return per page"},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Type of date range..","default":"custom","title":"Type"},"description":"Type of date range.."},{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date","description":"Start date of the range, inclusive. Required. Can be an ISO date ('2024-01-01') or datetime ('2024-01-01T00:00:00.000Z').","title":"Start"},"description":"Start date of the range, inclusive. Required. Can be an ISO date ('2024-01-01') or datetime ('2024-01-01T00:00:00.000Z')."},{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date","description":"End date of the range, inclusive. Required. Can be an ISO date ('2024-12-31') or datetime ('2024-12-31T23:59:59.999Z').","title":"End"},"description":"End date of the range, inclusive. Required. Can be an ISO date ('2024-12-31') or datetime ('2024-12-31T23:59:59.999Z')."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooltipsAggregatedDataResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.userlane.com/developers/analytics-api/public/get-tooltips-aggregated-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
