> 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/models.md). Agents can also search and read this documentation through its [MCP server](https://docs.userlane.com/~gitbook/mcp).

# Models

## The AnnouncementModel object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"AnnouncementModel":{"properties":{"id":{"type":"string","title":"Id"}},"type":"object","required":["id"],"title":"AnnouncementModel"}}}}
```

## The CursorPaginationResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"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"}}}}
```

## The Dataset object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"Dataset":{"type":"string","enum":["tasks"],"title":"Dataset"}}}}
```

## The EventsAnnouncementData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"EventsAnnouncementData":{"properties":{"time":{"type":"string","format":"date-time","title":"Time"},"event":{"type":"string","title":"Event"},"user":{"$ref":"#/components/schemas/PublicUserModel"},"announcement":{"$ref":"#/components/schemas/AnnouncementModel"}},"type":"object","required":["time","event","user","announcement"],"title":"EventsAnnouncementData"},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"AnnouncementModel":{"properties":{"id":{"type":"string","title":"Id"}},"type":"object","required":["id"],"title":"AnnouncementModel"}}}}
```

## The EventsAnnouncementResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"EventsAnnouncementResponse":{"properties":{"type":{"type":"string","title":"Type"},"version":{"type":"string","title":"Version"},"start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"},"events":{"items":{"$ref":"#/components/schemas/EventsAnnouncementData"},"type":"array","title":"Events"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationResponse"},{"type":"null"}]}},"type":"object","required":["type","version","start","end","events","pagination"],"title":"EventsAnnouncementResponse"},"EventsAnnouncementData":{"properties":{"time":{"type":"string","format":"date-time","title":"Time"},"event":{"type":"string","title":"Event"},"user":{"$ref":"#/components/schemas/PublicUserModel"},"announcement":{"$ref":"#/components/schemas/AnnouncementModel"}},"type":"object","required":["time","event","user","announcement"],"title":"EventsAnnouncementData"},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"AnnouncementModel":{"properties":{"id":{"type":"string","title":"Id"}},"type":"object","required":["id"],"title":"AnnouncementModel"},"PaginationResponse":{"properties":{"page":{"type":"integer","exclusiveMinimum":0,"title":"Page"},"limit":{"type":"integer","exclusiveMinimum":0,"title":"Limit"},"totalElements":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalelements"},"totalPages":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalpages"}},"type":"object","required":["page","limit"],"title":"PaginationResponse"}}}}
```

## The EventsGuideData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"EventsGuideData":{"properties":{"time":{"type":"string","format":"date-time","title":"Time"},"event":{"type":"string","title":"Event"},"user":{"$ref":"#/components/schemas/PublicUserModel"},"guide":{"$ref":"#/components/schemas/GuideModel"},"step":{"anyOf":[{"$ref":"#/components/schemas/GuideStepModel"},{"type":"null"}]}},"type":"object","required":["time","event","user","guide","step"],"title":"EventsGuideData"},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"GuideModel":{"properties":{"id":{"type":"string","title":"Id"}},"type":"object","required":["id"],"title":"GuideModel"},"GuideStepModel":{"properties":{"id":{"type":"string","title":"Id"},"stepNumber":{"type":"integer","title":"Stepnumber"},"totalStepNumber":{"type":"integer","title":"Totalstepnumber"}},"type":"object","required":["id","stepNumber","totalStepNumber"],"title":"GuideStepModel"}}}}
```

## The EventsGuideResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"EventsGuideResponse":{"properties":{"type":{"type":"string","title":"Type"},"version":{"type":"string","title":"Version"},"start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"},"events":{"items":{"$ref":"#/components/schemas/EventsGuideData"},"type":"array","title":"Events"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationResponse"},{"type":"null"}]}},"type":"object","required":["type","version","start","end","events","pagination"],"title":"EventsGuideResponse"},"EventsGuideData":{"properties":{"time":{"type":"string","format":"date-time","title":"Time"},"event":{"type":"string","title":"Event"},"user":{"$ref":"#/components/schemas/PublicUserModel"},"guide":{"$ref":"#/components/schemas/GuideModel"},"step":{"anyOf":[{"$ref":"#/components/schemas/GuideStepModel"},{"type":"null"}]}},"type":"object","required":["time","event","user","guide","step"],"title":"EventsGuideData"},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"GuideModel":{"properties":{"id":{"type":"string","title":"Id"}},"type":"object","required":["id"],"title":"GuideModel"},"GuideStepModel":{"properties":{"id":{"type":"string","title":"Id"},"stepNumber":{"type":"integer","title":"Stepnumber"},"totalStepNumber":{"type":"integer","title":"Totalstepnumber"}},"type":"object","required":["id","stepNumber","totalStepNumber"],"title":"GuideStepModel"},"PaginationResponse":{"properties":{"page":{"type":"integer","exclusiveMinimum":0,"title":"Page"},"limit":{"type":"integer","exclusiveMinimum":0,"title":"Limit"},"totalElements":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalelements"},"totalPages":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalpages"}},"type":"object","required":["page","limit"],"title":"PaginationResponse"}}}}
```

## The ExportFailure object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"ExportFailure":{"properties":{"reason":{"$ref":"#/components/schemas/ExportFailureReason","description":"Why the run failed. `timeout`: the export took too long, so try a shorter range. `error`: anything else; asking again starts a new run."},"message":{"type":"string","title":"Message","description":"Human-readable explanation of the failure."}},"type":"object","required":["reason","message"],"title":"ExportFailure"},"ExportFailureReason":{"type":"string","enum":["timeout","error"],"title":"ExportFailureReason"}}}}
```

## The ExportFailureReason object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"ExportFailureReason":{"type":"string","enum":["timeout","error"],"title":"ExportFailureReason"}}}}
```

## The ExportResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"ExportResponse":{"properties":{"exportId":{"type":"string","title":"Exportid","description":"Identifies the export by its parameters: the same dataset, property, and range always give the same id."},"status":{"$ref":"#/components/schemas/ExportStatus","description":"`running`: ask again later. `ready`: download it from `downloadUrl`. `failed`: see `error`; asking again starts a new run."},"generatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Generatedat","description":"When the ready file was generated. Set only when ready."},"downloadUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Downloadurl","description":"Where to download the file. Set only when ready."},"expiresAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expiresat","description":"When the file is deleted and `downloadUrl` stops working. Set only when ready. Asking again after that rebuilds the export."},"sizeBytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sizebytes","description":"Compressed size of the file in bytes, so a client can budget the download. This is what a client sending `Accept-Encoding: gzip` receives; one that does not receives the file decompressed, which is several times larger. Set only when ready."},"retryAfter":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Retryafter","description":"Seconds to wait before asking again. Set only while running; asking sooner is rejected by the rate limit."},"error":{"anyOf":[{"$ref":"#/components/schemas/ExportFailure"},{"type":"null"}],"description":"Why the run failed. Set only when failed."}},"type":"object","required":["exportId","status"],"title":"ExportResponse"},"ExportStatus":{"type":"string","enum":["running","ready","failed"],"title":"ExportStatus"},"ExportFailure":{"properties":{"reason":{"$ref":"#/components/schemas/ExportFailureReason","description":"Why the run failed. `timeout`: the export took too long, so try a shorter range. `error`: anything else; asking again starts a new run."},"message":{"type":"string","title":"Message","description":"Human-readable explanation of the failure."}},"type":"object","required":["reason","message"],"title":"ExportFailure"},"ExportFailureReason":{"type":"string","enum":["timeout","error"],"title":"ExportFailureReason"}}}}
```

## The ExportStatus object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"ExportStatus":{"type":"string","enum":["running","ready","failed"],"title":"ExportStatus"}}}}
```

## The GuideModel object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"GuideModel":{"properties":{"id":{"type":"string","title":"Id"}},"type":"object","required":["id"],"title":"GuideModel"}}}}
```

## The GuideProgressData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"GuideProgressData":{"properties":{"user":{"$ref":"#/components/schemas/User"},"maxStepIndexReached":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Maxstepindexreached"},"guideMaxStepIndex":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Guidemaxstepindex"},"guidePercentageCompleted":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Guidepercentagecompleted"},"dateLastActive":{"type":"string","format":"date","title":"Datelastactive"}},"type":"object","required":["user","maxStepIndexReached","guideMaxStepIndex","guidePercentageCompleted","dateLastActive"],"title":"GuideProgressData"},"User":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"User"}}}}
```

## The GuideProgressResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"GuideProgressResponse":{"properties":{"guideProgressData":{"items":{"$ref":"#/components/schemas/GuideProgressData"},"type":"array","title":"Guideprogressdata"},"guideProgressStats":{"$ref":"#/components/schemas/GuideProgressStats"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationResponse"},{"type":"null"}]}},"type":"object","required":["guideProgressData","guideProgressStats","pagination"],"title":"GuideProgressResponse"},"GuideProgressData":{"properties":{"user":{"$ref":"#/components/schemas/User"},"maxStepIndexReached":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Maxstepindexreached"},"guideMaxStepIndex":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Guidemaxstepindex"},"guidePercentageCompleted":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Guidepercentagecompleted"},"dateLastActive":{"type":"string","format":"date","title":"Datelastactive"}},"type":"object","required":["user","maxStepIndexReached","guideMaxStepIndex","guidePercentageCompleted","dateLastActive"],"title":"GuideProgressData"},"User":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"User"},"GuideProgressStats":{"properties":{"usersAll":{"type":"integer","title":"Usersall"},"usersThatCompletedAtLeast20Percent":{"type":"integer","title":"Usersthatcompletedatleast20Percent"},"usersThatCompletedAtLeast40Percent":{"type":"integer","title":"Usersthatcompletedatleast40Percent"},"usersThatCompletedAtLeast60Percent":{"type":"integer","title":"Usersthatcompletedatleast60Percent"},"usersThatCompletedAtLeast80Percent":{"type":"integer","title":"Usersthatcompletedatleast80Percent"},"usersThatCompleted100Percent":{"type":"integer","title":"Usersthatcompleted100Percent"}},"type":"object","required":["usersAll","usersThatCompletedAtLeast20Percent","usersThatCompletedAtLeast40Percent","usersThatCompletedAtLeast60Percent","usersThatCompletedAtLeast80Percent","usersThatCompleted100Percent"],"title":"GuideProgressStats"},"PaginationResponse":{"properties":{"page":{"type":"integer","exclusiveMinimum":0,"title":"Page"},"limit":{"type":"integer","exclusiveMinimum":0,"title":"Limit"},"totalElements":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalelements"},"totalPages":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalpages"}},"type":"object","required":["page","limit"],"title":"PaginationResponse"}}}}
```

## The GuideProgressStats object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"GuideProgressStats":{"properties":{"usersAll":{"type":"integer","title":"Usersall"},"usersThatCompletedAtLeast20Percent":{"type":"integer","title":"Usersthatcompletedatleast20Percent"},"usersThatCompletedAtLeast40Percent":{"type":"integer","title":"Usersthatcompletedatleast40Percent"},"usersThatCompletedAtLeast60Percent":{"type":"integer","title":"Usersthatcompletedatleast60Percent"},"usersThatCompletedAtLeast80Percent":{"type":"integer","title":"Usersthatcompletedatleast80Percent"},"usersThatCompleted100Percent":{"type":"integer","title":"Usersthatcompleted100Percent"}},"type":"object","required":["usersAll","usersThatCompletedAtLeast20Percent","usersThatCompletedAtLeast40Percent","usersThatCompletedAtLeast60Percent","usersThatCompletedAtLeast80Percent","usersThatCompleted100Percent"],"title":"GuideProgressStats"}}}}
```

## The GuideStepModel object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"GuideStepModel":{"properties":{"id":{"type":"string","title":"Id"},"stepNumber":{"type":"integer","title":"Stepnumber"},"totalStepNumber":{"type":"integer","title":"Totalstepnumber"}},"type":"object","required":["id","stepNumber","totalStepNumber"],"title":"GuideStepModel"}}}}
```

## The HTTPValidationError object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"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"}}}}
```

## The HeartExportResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"HeartExportResponse":{"properties":{"start":{"type":"string","format":"date","title":"Start","description":"Start of the requested time window."},"end":{"type":"string","format":"date","title":"End","description":"End of the time window actually served. Pulled back to yesterday when the request reached into today or beyond, since the current day's snapshot is still being rewritten."},"heartData":{"items":{"$ref":"#/components/schemas/HeartExportRow"},"type":"array","title":"Heartdata","description":"One row per day in the window that has a snapshot, ordered by date descending. Days the rollup never produced are absent rather than null-filled."},"pagination":{"$ref":"#/components/schemas/PaginationResponse","description":"Page position and total counts for the requested window."}},"type":"object","required":["start","end","heartData","pagination"],"title":"HeartExportResponse","description":"A page of daily HEART v2 snapshots, newest first."},"HeartExportRow":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"End date of the 90-day window the scores on this row were calculated over."},"users":{"type":"integer","title":"Users","description":"Distinct users with a session in the 90-day window."},"sessions":{"type":"integer","title":"Sessions","description":"Sessions in the 90-day window."},"happiness":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Happiness","description":"Happiness score, 0-100: the share of CSAT responses rating 4 or 5 on the 1-5 scale. Null when the property received no CSAT response in the window."},"efficiency":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Efficiency","description":"Efficiency score, 0-100: how consistently users complete tasks close to the typical completion time for those tasks. Null when the property had no task completions in the window."},"adoption":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Adoption","description":"Adoption score, 0-100: licence utilisation, engaged user rate, and user persistence combined. Null when none of the three could be calculated for the window."},"risk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Risk","description":"Risk score, 0-100: the share of monitored data entries that were compliant, so a higher score is better. Null when the property had no monitored data entries in the window."},"taskSuccess":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tasksuccess","description":"Task success score, 0-100: task completions as a share of task starts. Null when no task was started in the window."},"heart":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Heart","description":"Composite HEART score, 0-100: the weighted mean of the dimensions present on this row, weighting happiness 10, efficiency 20, adoption 30, risk 15, and task success 25. A null dimension drops out and its weight is spread across the rest, so the composite stays on the 0-100 scale rather than being dragged down by missing data."}},"type":"object","required":["date","users","sessions","happiness","efficiency","adoption","risk","taskSuccess","heart"],"title":"HeartExportRow","description":"One daily HEART v2 snapshot.\n\nEvery score on the row describes the 90 days ending on `date`, not that day\nalone: the rollup recomputes each dimension over a trailing 90-day window per\nsnapshot date. Consecutive rows therefore overlap heavily, which is what makes\nthe series a trend line rather than a daily reading.\n\nScores are integers on a 0-100 scale.\nA dimension is null when it had no input over the snapshot's lookback window;\nthe composite `heart` then redistributes that dimension's weight across the\nrest, so a null dimension never reads as a zero score."},"PaginationResponse":{"properties":{"page":{"type":"integer","exclusiveMinimum":0,"title":"Page"},"limit":{"type":"integer","exclusiveMinimum":0,"title":"Limit"},"totalElements":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalelements"},"totalPages":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalpages"}},"type":"object","required":["page","limit"],"title":"PaginationResponse"}}}}
```

## The HeartExportRow object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"HeartExportRow":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"End date of the 90-day window the scores on this row were calculated over."},"users":{"type":"integer","title":"Users","description":"Distinct users with a session in the 90-day window."},"sessions":{"type":"integer","title":"Sessions","description":"Sessions in the 90-day window."},"happiness":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Happiness","description":"Happiness score, 0-100: the share of CSAT responses rating 4 or 5 on the 1-5 scale. Null when the property received no CSAT response in the window."},"efficiency":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Efficiency","description":"Efficiency score, 0-100: how consistently users complete tasks close to the typical completion time for those tasks. Null when the property had no task completions in the window."},"adoption":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Adoption","description":"Adoption score, 0-100: licence utilisation, engaged user rate, and user persistence combined. Null when none of the three could be calculated for the window."},"risk":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Risk","description":"Risk score, 0-100: the share of monitored data entries that were compliant, so a higher score is better. Null when the property had no monitored data entries in the window."},"taskSuccess":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tasksuccess","description":"Task success score, 0-100: task completions as a share of task starts. Null when no task was started in the window."},"heart":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Heart","description":"Composite HEART score, 0-100: the weighted mean of the dimensions present on this row, weighting happiness 10, efficiency 20, adoption 30, risk 15, and task success 25. A null dimension drops out and its weight is spread across the rest, so the composite stays on the 0-100 scale rather than being dragged down by missing data."}},"type":"object","required":["date","users","sessions","happiness","efficiency","adoption","risk","taskSuccess","heart"],"title":"HeartExportRow","description":"One daily HEART v2 snapshot.\n\nEvery score on the row describes the 90 days ending on `date`, not that day\nalone: the rollup recomputes each dimension over a trailing 90-day window per\nsnapshot date. Consecutive rows therefore overlap heavily, which is what makes\nthe series a trend line rather than a daily reading.\n\nScores are integers on a 0-100 scale.\nA dimension is null when it had no input over the snapshot's lookback window;\nthe composite `heart` then redistributes that dimension's weight across the\nrest, so a null dimension never reads as a zero score."}}}}
```

## The PaginationResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"PaginationResponse":{"properties":{"page":{"type":"integer","exclusiveMinimum":0,"title":"Page"},"limit":{"type":"integer","exclusiveMinimum":0,"title":"Limit"},"totalElements":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalelements"},"totalPages":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalpages"}},"type":"object","required":["page","limit"],"title":"PaginationResponse"}}}}
```

## The PublicHeartData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"PublicHeartData":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"users":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Users"},"sessions":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sessions"},"happiness":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Happiness"},"engagement":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Engagement"},"adoption":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Adoption"},"retention":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retention"},"taskSuccess":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tasksuccess"},"heart":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heart"}},"type":"object","required":["date","users","sessions","happiness","engagement","adoption","retention","taskSuccess","heart"],"title":"PublicHeartData"}}}}
```

## The PublicHeartResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"PublicHeartResponse":{"properties":{"start":{"type":"string","format":"date","title":"Start"},"end":{"type":"string","format":"date","title":"End"},"heartData":{"items":{"$ref":"#/components/schemas/PublicHeartData"},"type":"array","title":"Heartdata"},"pagination":{"anyOf":[{"$ref":"#/components/schemas/PaginationResponse"},{"type":"null"}]}},"type":"object","required":["start","end","heartData","pagination"],"title":"PublicHeartResponse"},"PublicHeartData":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"users":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Users"},"sessions":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sessions"},"happiness":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Happiness"},"engagement":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Engagement"},"adoption":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Adoption"},"retention":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Retention"},"taskSuccess":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tasksuccess"},"heart":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heart"}},"type":"object","required":["date","users","sessions","happiness","engagement","adoption","retention","taskSuccess","heart"],"title":"PublicHeartData"},"PaginationResponse":{"properties":{"page":{"type":"integer","exclusiveMinimum":0,"title":"Page"},"limit":{"type":"integer","exclusiveMinimum":0,"title":"Limit"},"totalElements":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalelements"},"totalPages":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalpages"}},"type":"object","required":["page","limit"],"title":"PaginationResponse"}}}}
```

## The PublicNpsResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"PublicNpsResponse":{"properties":{"timestamp":{"type":"string","title":"Timestamp","description":"Timestamp of the NPS response"},"score":{"type":"integer","maximum":10,"minimum":0,"title":"Score","description":"NPS score (0-10)"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Optional comment provided with NPS response"},"user":{"$ref":"#/components/schemas/PublicUserModel","description":"The end user, carrying both the internal id and your own application user id where one is mapped."}},"type":"object","required":["timestamp","score","user"],"title":"PublicNpsResponse"},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"}}}}
```

## The PublicPaginatedNpsResponsesData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"PublicPaginatedNpsResponsesData":{"properties":{"data":{"items":{"$ref":"#/components/schemas/PublicNpsResponse"},"type":"array","title":"Data","description":"List of NPS responses"},"pagination":{"$ref":"#/components/schemas/PaginationResponse"}},"type":"object","required":["pagination"],"title":"PublicPaginatedNpsResponsesData","description":"Paginated NPS responses data model for public API"},"PublicNpsResponse":{"properties":{"timestamp":{"type":"string","title":"Timestamp","description":"Timestamp of the NPS response"},"score":{"type":"integer","maximum":10,"minimum":0,"title":"Score","description":"NPS score (0-10)"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Optional comment provided with NPS response"},"user":{"$ref":"#/components/schemas/PublicUserModel","description":"The end user, carrying both the internal id and your own application user id where one is mapped."}},"type":"object","required":["timestamp","score","user"],"title":"PublicNpsResponse"},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"PaginationResponse":{"properties":{"page":{"type":"integer","exclusiveMinimum":0,"title":"Page"},"limit":{"type":"integer","exclusiveMinimum":0,"title":"Limit"},"totalElements":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalelements"},"totalPages":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalpages"}},"type":"object","required":["page","limit"],"title":"PaginationResponse"}}}}
```

## The PublicPaginatedSurveysResponsesData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"PublicPaginatedSurveysResponsesData":{"properties":{"data":{"items":{"$ref":"#/components/schemas/PublicSurveyResponse"},"type":"array","title":"Data","description":"List of surveys responses"},"pagination":{"$ref":"#/components/schemas/PaginationResponse"}},"type":"object","required":["pagination"],"title":"PublicPaginatedSurveysResponsesData","description":"Paginated surveys responses data model for public API"},"PublicSurveyResponse":{"properties":{"timestamp":{"type":"string","title":"Timestamp","description":"Timestamp of the survey response"},"score":{"type":"integer","maximum":5,"minimum":1,"title":"Score","description":"Survey score (1-5)"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Optional comment provided with survey response"},"user":{"$ref":"#/components/schemas/PublicUserModel","description":"The end user, carrying both the internal id and your own application user id where one is mapped."}},"type":"object","required":["timestamp","score","user"],"title":"PublicSurveyResponse"},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"PaginationResponse":{"properties":{"page":{"type":"integer","exclusiveMinimum":0,"title":"Page"},"limit":{"type":"integer","exclusiveMinimum":0,"title":"Limit"},"totalElements":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalelements"},"totalPages":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalpages"}},"type":"object","required":["page","limit"],"title":"PaginationResponse"}}}}
```

## The PublicSurveyResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"PublicSurveyResponse":{"properties":{"timestamp":{"type":"string","title":"Timestamp","description":"Timestamp of the survey response"},"score":{"type":"integer","maximum":5,"minimum":1,"title":"Score","description":"Survey score (1-5)"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Optional comment provided with survey response"},"user":{"$ref":"#/components/schemas/PublicUserModel","description":"The end user, carrying both the internal id and your own application user id where one is mapped."}},"type":"object","required":["timestamp","score","user"],"title":"PublicSurveyResponse"},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"}}}}
```

## The PublicUserModel object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"}}}}
```

## The TagsAggregatedData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"TagsAggregatedData":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"tagId":{"type":"string","title":"Tagid"},"user":{"$ref":"#/components/schemas/PublicUserModel"},"countInteractions":{"type":"integer","title":"Countinteractions"}},"type":"object","required":["date","tagId","user","countInteractions"],"title":"TagsAggregatedData","description":"Model representing aggregated data for tags."},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"}}}}
```

## The TagsAggregatedDataResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"TagsAggregatedDataResponse":{"properties":{"start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"},"data":{"items":{"$ref":"#/components/schemas/TagsAggregatedData"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/PaginationResponse"}},"type":"object","required":["start","end","data","pagination"],"title":"TagsAggregatedDataResponse","description":"Response model for aggregated tags data."},"TagsAggregatedData":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"tagId":{"type":"string","title":"Tagid"},"user":{"$ref":"#/components/schemas/PublicUserModel"},"countInteractions":{"type":"integer","title":"Countinteractions"}},"type":"object","required":["date","tagId","user","countInteractions"],"title":"TagsAggregatedData","description":"Model representing aggregated data for tags."},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"PaginationResponse":{"properties":{"page":{"type":"integer","exclusiveMinimum":0,"title":"Page"},"limit":{"type":"integer","exclusiveMinimum":0,"title":"Limit"},"totalElements":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalelements"},"totalPages":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Totalpages"}},"type":"object","required":["page","limit"],"title":"PaginationResponse"}}}}
```

## The TaskActionsData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"TaskActionsData":{"properties":{"taskId":{"type":"integer","title":"Taskid"},"taskVersion":{"type":"integer","title":"Taskversion"},"taskActionsMaxIndex":{"type":"integer","title":"Taskactionsmaxindex"},"actionId":{"type":"integer","title":"Actionid"},"actionIndex":{"type":"integer","title":"Actionindex"},"actionType":{"type":"string","title":"Actiontype"},"user":{"$ref":"#/components/schemas/PublicUserModel"},"serverTime":{"type":"string","format":"date-time","title":"Servertime"},"appSessionId":{"type":"string","title":"Appsessionid"},"url":{"type":"string","title":"Url"}},"type":"object","required":["taskId","taskVersion","taskActionsMaxIndex","actionId","actionIndex","actionType","user","serverTime","appSessionId","url"],"title":"TaskActionsData","description":"Raw task-action event for a single task."},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"}}}}
```

## The TaskActionsDataResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"TaskActionsDataResponse":{"properties":{"start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"},"data":{"items":{"$ref":"#/components/schemas/TaskActionsData"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/CursorPaginationResponse"}},"type":"object","required":["start","end","data","pagination"],"title":"TaskActionsDataResponse"},"TaskActionsData":{"properties":{"taskId":{"type":"integer","title":"Taskid"},"taskVersion":{"type":"integer","title":"Taskversion"},"taskActionsMaxIndex":{"type":"integer","title":"Taskactionsmaxindex"},"actionId":{"type":"integer","title":"Actionid"},"actionIndex":{"type":"integer","title":"Actionindex"},"actionType":{"type":"string","title":"Actiontype"},"user":{"$ref":"#/components/schemas/PublicUserModel"},"serverTime":{"type":"string","format":"date-time","title":"Servertime"},"appSessionId":{"type":"string","title":"Appsessionid"},"url":{"type":"string","title":"Url"}},"type":"object","required":["taskId","taskVersion","taskActionsMaxIndex","actionId","actionIndex","actionType","user","serverTime","appSessionId","url"],"title":"TaskActionsData","description":"Raw task-action event for a single task."},"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"}}}}
```

## The TasksAggregatedData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"TasksAggregatedData":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"taskId":{"type":"integer","title":"Taskid"},"user":{"$ref":"#/components/schemas/PublicUserModel"},"starts":{"type":"integer","title":"Starts"},"completions":{"type":"integer","title":"Completions"},"totalTimeToComplete":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Totaltimetocomplete"}},"type":"object","required":["date","taskId","user","starts","completions"],"title":"TasksAggregatedData","description":"Per-user, per-day task progress row."},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"}}}}
```

## The TasksAggregatedDataResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"TasksAggregatedDataResponse":{"properties":{"start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"},"data":{"items":{"$ref":"#/components/schemas/TasksAggregatedData"},"type":"array","title":"Data"},"pagination":{"$ref":"#/components/schemas/CursorPaginationResponse"}},"type":"object","required":["start","end","data","pagination"],"title":"TasksAggregatedDataResponse"},"TasksAggregatedData":{"properties":{"date":{"type":"string","format":"date","title":"Date"},"taskId":{"type":"integer","title":"Taskid"},"user":{"$ref":"#/components/schemas/PublicUserModel"},"starts":{"type":"integer","title":"Starts"},"completions":{"type":"integer","title":"Completions"},"totalTimeToComplete":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Totaltimetocomplete"}},"type":"object","required":["date","taskId","user","starts","completions"],"title":"TasksAggregatedData","description":"Per-user, per-day task progress row."},"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"}}}}
```

## The TooltipsAggregatedData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"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"}}}}
```

## The TooltipsAggregatedDataResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"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"}}}}
```

## The User object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"User":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"User"}}}}
```

## The ValidationError object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"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"}}}}
```

## The ValidatorEntriesDataResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"ValidatorEntriesDataResponse":{"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/ValidatorEntryData"},"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":"ValidatorEntriesDataResponse","description":"A page of the entry-level validator export.\n\nRows are ordered by date, validator, user, session, then field, and a cursor\nwalk returns each row exactly once."},"ValidatorEntryData":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"The day the validator session started. Sessions are recorded against their start date in full, so one running past midnight stays on one date."},"validatorId":{"type":"string","title":"Validatorid","description":"Validator identifier."},"validatorSessionId":{"type":"string","title":"Validatorsessionid","description":"Identifies one pass through the validator by one user. Unique only within its validator, so count distinct (validatorId, validatorSessionId) pairs. That count can be lower than the aggregated export's `sessions`, which also includes sessions where the user entered nothing; those have no entries here."},"fieldValidationId":{"type":"string","title":"Fieldvalidationid","description":"The field validation within the validator."},"user":{"$ref":"#/components/schemas/PublicUserModel","description":"The end user, carrying both the internal id and your own application user id where one is mapped."},"mode":{"$ref":"#/components/schemas/ValidatorMode","description":"The validation mode this entry was measured under. Entries measured under any other mode are not exported."},"outcome":{"$ref":"#/components/schemas/ValidatorOutcome","description":"How the entry ended. `corrected` is Warning and Visible only, so a silently fixed Measure field is `compliant`."},"fieldAttempts":{"type":"integer","title":"Fieldattempts","description":"Times the user left this field, each producing a check."},"submitAttempts":{"type":"integer","title":"Submitattempts","description":"Times this field was checked because the user pressed the Completion Button. Above one means a submit was refused and retried, which only Warning mode can cause."},"sessionStartTime":{"type":"string","format":"date-time","title":"Sessionstarttime","description":"First event of the session this entry belongs to."},"sessionEndTime":{"type":"string","format":"date-time","title":"Sessionendtime","description":"Last event of that session."}},"type":"object","required":["date","validatorId","validatorSessionId","fieldValidationId","user","mode","outcome","fieldAttempts","submitAttempts","sessionStartTime","sessionEndTime"],"title":"ValidatorEntryData","description":"One field validation a user entered data into, inside a submitted session.\n\nThe audit detail behind the aggregated export: which session and which field,\nrather than the counts. One row here per unit counted in that export's\n`dataEntries`, so a row count per outcome equals its matching column.\n\nFields the user never touched are absent. The player emits a submit record\nfor every field validation in the validator, so an untouched field exists in\nthe source but is not a data entry."},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"ValidatorMode":{"type":"string","enum":["warning","visible","measure"],"title":"ValidatorMode","description":"The validation mode a validator ran in: `warning`, `visible`, or `measure`."},"ValidatorOutcome":{"type":"string","enum":["compliant","corrected","nonCompliant"],"title":"ValidatorOutcome","description":"How one data entry ended, as the three mutually exclusive buckets the\nValidators page counts and the public exports report.\n\nClosed, and the same partition at both grains: the aggregated export's\n``compliant``, ``corrected`` and ``nonCompliant`` columns are counts of these\nvalues, so a row count per outcome in the entry-level export equals the\nmatching column in the aggregated one.\n\n``CORRECTED`` is Warning and Visible only, the two modes that show the user\nsomething to respond to. Under Measure nothing is shown, so a silently fixed\nfield is ``COMPLIANT`` rather than corrected, which is why ``COMPLIANT``\nmeans \"never failed\" under the other two modes but \"ended valid\" here."},"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"}}}}
```

## The ValidatorEntryData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"ValidatorEntryData":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"The day the validator session started. Sessions are recorded against their start date in full, so one running past midnight stays on one date."},"validatorId":{"type":"string","title":"Validatorid","description":"Validator identifier."},"validatorSessionId":{"type":"string","title":"Validatorsessionid","description":"Identifies one pass through the validator by one user. Unique only within its validator, so count distinct (validatorId, validatorSessionId) pairs. That count can be lower than the aggregated export's `sessions`, which also includes sessions where the user entered nothing; those have no entries here."},"fieldValidationId":{"type":"string","title":"Fieldvalidationid","description":"The field validation within the validator."},"user":{"$ref":"#/components/schemas/PublicUserModel","description":"The end user, carrying both the internal id and your own application user id where one is mapped."},"mode":{"$ref":"#/components/schemas/ValidatorMode","description":"The validation mode this entry was measured under. Entries measured under any other mode are not exported."},"outcome":{"$ref":"#/components/schemas/ValidatorOutcome","description":"How the entry ended. `corrected` is Warning and Visible only, so a silently fixed Measure field is `compliant`."},"fieldAttempts":{"type":"integer","title":"Fieldattempts","description":"Times the user left this field, each producing a check."},"submitAttempts":{"type":"integer","title":"Submitattempts","description":"Times this field was checked because the user pressed the Completion Button. Above one means a submit was refused and retried, which only Warning mode can cause."},"sessionStartTime":{"type":"string","format":"date-time","title":"Sessionstarttime","description":"First event of the session this entry belongs to."},"sessionEndTime":{"type":"string","format":"date-time","title":"Sessionendtime","description":"Last event of that session."}},"type":"object","required":["date","validatorId","validatorSessionId","fieldValidationId","user","mode","outcome","fieldAttempts","submitAttempts","sessionStartTime","sessionEndTime"],"title":"ValidatorEntryData","description":"One field validation a user entered data into, inside a submitted session.\n\nThe audit detail behind the aggregated export: which session and which field,\nrather than the counts. One row here per unit counted in that export's\n`dataEntries`, so a row count per outcome equals its matching column.\n\nFields the user never touched are absent. The player emits a submit record\nfor every field validation in the validator, so an untouched field exists in\nthe source but is not a data entry."},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"ValidatorMode":{"type":"string","enum":["warning","visible","measure"],"title":"ValidatorMode","description":"The validation mode a validator ran in: `warning`, `visible`, or `measure`."},"ValidatorOutcome":{"type":"string","enum":["compliant","corrected","nonCompliant"],"title":"ValidatorOutcome","description":"How one data entry ended, as the three mutually exclusive buckets the\nValidators page counts and the public exports report.\n\nClosed, and the same partition at both grains: the aggregated export's\n``compliant``, ``corrected`` and ``nonCompliant`` columns are counts of these\nvalues, so a row count per outcome in the entry-level export equals the\nmatching column in the aggregated one.\n\n``CORRECTED`` is Warning and Visible only, the two modes that show the user\nsomething to respond to. Under Measure nothing is shown, so a silently fixed\nfield is ``COMPLIANT`` rather than corrected, which is why ``COMPLIANT``\nmeans \"never failed\" under the other two modes but \"ended valid\" here."}}}}
```

## The ValidatorMode object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"ValidatorMode":{"type":"string","enum":["warning","visible","measure"],"title":"ValidatorMode","description":"The validation mode a validator ran in: `warning`, `visible`, or `measure`."}}}}
```

## The ValidatorOutcome object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"ValidatorOutcome":{"type":"string","enum":["compliant","corrected","nonCompliant"],"title":"ValidatorOutcome","description":"How one data entry ended, as the three mutually exclusive buckets the\nValidators page counts and the public exports report.\n\nClosed, and the same partition at both grains: the aggregated export's\n``compliant``, ``corrected`` and ``nonCompliant`` columns are counts of these\nvalues, so a row count per outcome in the entry-level export equals the\nmatching column in the aggregated one.\n\n``CORRECTED`` is Warning and Visible only, the two modes that show the user\nsomething to respond to. Under Measure nothing is shown, so a silently fixed\nfield is ``COMPLIANT`` rather than corrected, which is why ``COMPLIANT``\nmeans \"never failed\" under the other two modes but \"ended valid\" here."}}}}
```

## The ValidatorsAggregatedData object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"ValidatorsAggregatedData":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"The day the validator session started. A session is recorded against its start date in full, so one that runs past midnight does not split across two rows."},"validatorId":{"type":"string","title":"Validatorid","description":"Validator identifier."},"user":{"$ref":"#/components/schemas/PublicUserModel","description":"The end user, carrying both the internal id and your own application user id where one is mapped."},"mode":{"$ref":"#/components/schemas/ValidatorMode","description":"The validation mode these entries were measured under. A validator's mode can change between sessions on the same day, which is why it is part of the row key rather than a property of the validator. Rows measured under any other mode are not exported."},"sessions":{"type":"integer","title":"Sessions","description":"Distinct submitted sessions: sessions on this validator where the user reached a submit. Counted over sessions, so it is not a subdivision of dataEntries."},"dataEntries":{"type":"integer","title":"Dataentries","description":"Field validations the user entered data into, across those sessions. Excludes fields never touched, which produce a submit-time record but no data entry, so a session where nothing was entered appears here as 0."},"compliant":{"type":"integer","title":"Compliant","description":"Entries that ended valid and are not counted as corrected. Note two things. This is not the numerator of the compliance rate: that is compliant + corrected, or equivalently dataEntries - nonCompliant. And it means 'never failed' under Warning and Visible, where corrections are reported separately, but 'ended valid' under Measure, which has no corrected bucket, so a silently fixed Measure field is counted here."},"corrected":{"type":"integer","title":"Corrected","description":"Entries that ended valid after at least one failure. Warning and Visible only, the two modes that show the user something to respond to. Always 0 under Measure."},"nonCompliant":{"type":"integer","title":"Noncompliant","description":"Entries whose final status was invalid."}},"type":"object","required":["date","validatorId","user","mode","sessions","dataEntries","compliant","corrected","nonCompliant"],"title":"ValidatorsAggregatedData","description":"One day of one user's activity on one validator, under one mode.\n\nv2 validators only, meaning those with a Completion Button configured. A\nproperty using only v1 validators receives an empty export rather than an\nerror.\n\n`dataEntries` equals `compliant + corrected + nonCompliant`."},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"ValidatorMode":{"type":"string","enum":["warning","visible","measure"],"title":"ValidatorMode","description":"The validation mode a validator ran in: `warning`, `visible`, or `measure`."}}}}
```

## The ValidatorsAggregatedDataResponse object

```json
{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"components":{"schemas":{"ValidatorsAggregatedDataResponse":{"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/ValidatorsAggregatedData"},"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":"ValidatorsAggregatedDataResponse","description":"A page of the validator compliance export.\n\nRows are ordered by date, then validator, then user, then mode, and a cursor\nwalk returns each row exactly once."},"ValidatorsAggregatedData":{"properties":{"date":{"type":"string","format":"date","title":"Date","description":"The day the validator session started. A session is recorded against its start date in full, so one that runs past midnight does not split across two rows."},"validatorId":{"type":"string","title":"Validatorid","description":"Validator identifier."},"user":{"$ref":"#/components/schemas/PublicUserModel","description":"The end user, carrying both the internal id and your own application user id where one is mapped."},"mode":{"$ref":"#/components/schemas/ValidatorMode","description":"The validation mode these entries were measured under. A validator's mode can change between sessions on the same day, which is why it is part of the row key rather than a property of the validator. Rows measured under any other mode are not exported."},"sessions":{"type":"integer","title":"Sessions","description":"Distinct submitted sessions: sessions on this validator where the user reached a submit. Counted over sessions, so it is not a subdivision of dataEntries."},"dataEntries":{"type":"integer","title":"Dataentries","description":"Field validations the user entered data into, across those sessions. Excludes fields never touched, which produce a submit-time record but no data entry, so a session where nothing was entered appears here as 0."},"compliant":{"type":"integer","title":"Compliant","description":"Entries that ended valid and are not counted as corrected. Note two things. This is not the numerator of the compliance rate: that is compliant + corrected, or equivalently dataEntries - nonCompliant. And it means 'never failed' under Warning and Visible, where corrections are reported separately, but 'ended valid' under Measure, which has no corrected bucket, so a silently fixed Measure field is counted here."},"corrected":{"type":"integer","title":"Corrected","description":"Entries that ended valid after at least one failure. Warning and Visible only, the two modes that show the user something to respond to. Always 0 under Measure."},"nonCompliant":{"type":"integer","title":"Noncompliant","description":"Entries whose final status was invalid."}},"type":"object","required":["date","validatorId","user","mode","sessions","dataEntries","compliant","corrected","nonCompliant"],"title":"ValidatorsAggregatedData","description":"One day of one user's activity on one validator, under one mode.\n\nv2 validators only, meaning those with a Completion Button configured. A\nproperty using only v1 validators receives an empty export rather than an\nerror.\n\n`dataEntries` equals `compliant + corrected + nonCompliant`."},"PublicUserModel":{"properties":{"id":{"type":"string","title":"Id"},"applicationUserId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Applicationuserid"}},"type":"object","required":["id"],"title":"PublicUserModel"},"ValidatorMode":{"type":"string","enum":["warning","visible","measure"],"title":"ValidatorMode","description":"The validation mode a validator ran in: `warning`, `visible`, or `measure`."},"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"}}}}
```


---

# 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/models.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.
