Skip to main content

Data Manager Validations - Read Unresolved

Enterprise

This endpoint is part of Countly Enterprise. To get access, contact sales or compare versions. Existing customers can reach the support portal with questions.

Endpoint

/o/data-manager/validations

Overview

Returns unresolved validation records for an app.

Authentication

Pass api_key or auth_token as a query parameter, or send countly-token as a header. See Authentication.

Permissions

Requires data_manager Read permission.

Request Parameters

ParameterTypeRequiredDescription
app_idStringYesTarget app ID.
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.

Parameter Semantics

FieldExpected valuesBehavior
app_idValid app IDResolves app-scoped validation collection and returns unresolved records for that app only.

Examples

/o/data-manager/validations?
app_id=64f5c0d8f4f7ac0012ab3456

Response

Success Response

[
{
"_id": "67b85e7a9f2d3e0012ab9c10",
"event": "purchase",
"target": "segment",
"type": "unexpected",
"segment": "country",
"resolved": false
}
]

Response Fields

FieldTypeDescription
[]ArrayUnresolved validation records from validation_errors_{app_id}.
[] ._idStringValidation record ID.
[] .eventStringEvent key tied to validation.
[] .targetStringValidation target (event or segment).
[] .typeStringValidation type (for example unexpected, unplanned, GLOBAL_REGEX).
[] .segmentStringSegment key when target is segment.
[] .resolvedBooleanResolution state (always not true in this endpoint output).

Error Responses

  • 500
{
"result": "Error"
}

Behavior

Behavior Modes

ModeTriggerProcessing PathResponse Shape
Read unresolvedAlwaysReads validation_errors_{appId} with filter { resolved: { $ne: true } }.Array of validation records

Impact on Other Data

  • Read-only endpoint; no write/update side effects.

Operational Considerations

  • Collection name is app-scoped (validation_errors_{app_id}), so large validation backlogs can increase response size.

Limitations

  • No pagination in this endpoint; all unresolved records are returned.
Implementation details

Audit & System Logs

  • This endpoint does not emit /systemlogs actions.

Database Collections

CollectionUsed forData touched by this endpoint
countly.validation_errors{appId}Unresolved validation sourceReads unresolved validation records (resolved != true) for the target app.