Skip to main content

Recheck metadata lists

Enterprise Only
This API is available exclusively in Countly Enterprise.

Endpoint

/i/drill/recheck_lists

Overview

Starts a Drill metadata list recheck for one app or all apps.

Authentication

Countly API supports three authentication methods:

  1. API key query parameter: api_key=YOUR_API_KEY
  2. Auth token query parameter: auth_token=YOUR_AUTH_TOKEN
  3. Auth token header: countly-token: YOUR_AUTH_TOKEN

Permissions

  • Single-app recheck: requires drill Update permission.
  • All-app recheck: requires global admin.

Request Parameters

ParameterTypeRequiredDescription
app_idStringConditionalTarget app ID for single-app recheck. Required when all_apps is not set.
all_appsBoolean StringNoSet to any truthy value to recheck metadata lists for all apps. Requires global admin permission.
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.

Response

Success Response

{
"result": "List recheck started"
}

Response Fields

FieldTypeDescription
resultStringStart confirmation message.

Error Responses

This endpoint does not define a dedicated structured error payload beyond authentication/authorization errors. Recheck failures are logged and written to system logs.

Behavior/Processing

  • Starts asynchronous metadata list recheck work and returns immediately.
  • In all-app mode, iterates through all apps and rechecks lists for each app.
  • In single-app mode, rechecks lists for the provided app_id.
  • Writes completion/failure status to system logs with action lists_rechecked.

Database Collections

CollectionUsed forData touched by this endpoint
countly.appsApp iteration for all-app modeReads app IDs when all_apps is set.
countly_drill.drill_metaDrill metadata modelRechecks and updates metadata list structures.
countly.systemlogsAudit trailStores lists_rechecked completion status.

Examples

Single app recheck

/i/drill/recheck_lists?
app_id=64f5c0d8f4f7ac0012ab3456

All apps recheck

/i/drill/recheck_lists?
all_apps=true


Last Updated

2026-04-17