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

# Get Validators Aggregated Data

Export per-user, per-day validator compliance counts for a property.

One row per day, validator, end user, and validation mode, carrying the counts every number on the Validators page and the HEART Risk gauge is built from: submitted sessions, data entries, and how those entries ended.

Compliance rate is `(dataEntries - nonCompliant) / dataEntries`. Note that `compliant` is not its numerator; `compliant + corrected` is.

v2 validators only, meaning those with a Completion Button configured. A property using only v1 validators receives an empty list rather than an error.

Both dates are required and there is no limit on the span. The current day is served, but the rollup rewrites it hourly as sessions close, so a walk ending today is not a point-in-time snapshot; end at yesterday for a reproducible extract.

```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":{"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"},"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/validators/property_id/{property_id}/aggregated":{"get":{"tags":["public"],"summary":"Get Validators Aggregated Data","description":"Export per-user, per-day validator compliance counts for a property.\n\nOne row per day, validator, end user, and validation mode, carrying the\ncounts every number on the Validators page and the HEART Risk gauge is built\nfrom: submitted sessions, data entries, and how those entries ended.\n\nCompliance rate is `(dataEntries - nonCompliant) / dataEntries`. Note that\n`compliant` is not its numerator; `compliant + corrected` is.\n\nv2 validators only, meaning those with a Completion Button configured. A\nproperty using only v1 validators receives an empty list rather than an\nerror.\n\nBoth dates are required and there is no limit on the span. The current day\nis served, but the rollup rewrites it hourly as sessions close, so a walk\nending today is not a point-in-time snapshot; end at yesterday for a\nreproducible extract.","operationId":"get_validators_aggregated_data_public_validators_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/ValidatorsAggregatedDataResponse"}}}},"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-validators-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.
