Skip to main content

/o/plugins-check

Endpoint

/o/plugins-check

Overview

Returns the current global feature-operation status marker derived from the plugins collection.

Authentication

Countly API supports three authentication methods:

  1. API Key (parameter): api_key=YOUR_API_KEY
  2. Auth Token (parameter): auth_token=YOUR_AUTH_TOKEN
  3. Auth Token (header): countly-token: YOUR_AUTH_TOKEN

Permissions

  • Required permission: Global Admin.

Request Parameters

ParameterTypeRequiredDescription
api_keyStringYes (or use auth_token)API key for authentication.
auth_tokenStringNoAuth token as query parameter or countly-token header.

Response

Success Response

{
"result": "completed"
}

Alternative successful status responses:

{
"result": "busy"
}
{
"result": "failed"
}

Response Fields

FieldTypeDescription
resultStringGlobal status marker: completed, busy, or failed.

Error Responses

400 Bad Request

{
"result": "Missing parameter \"api_key\" or \"auth_token\""
}

400 Bad Request

{
"result": "Token not valid"
}

401 Unauthorized

{
"result": "User does not exist"
}

401 Unauthorized

{
"result": "User does not have right"
}

401 Unauthorized

{
"result": "User is locked"
}

401 Unauthorized

{
"result": "Token is invalid"
}

Behavior/Processing

Behavior Modes

ModeTriggerProcessing PathResponse Shape
Failed_id: "failed" marker exists, or marker-query errorReturns failed marker result.Wrapped object: { "result": "failed" }
BusyNo failed marker and _id: "busy" existsReturns busy marker result.Wrapped object: { "result": "busy" }
CompletedNo failed marker and no busy markerReturns completed marker result.Wrapped object: { "result": "completed" }

Database Collections

CollectionUsed forData touched by this endpoint
countly.membersGlobal-admin validationReads authenticated user and global-admin status.
countly.pluginsStores global operation marker documentsReads marker documents with _id values failed and busy.

Examples

Check current feature-operation status

/o/plugins-check?api_key=YOUR_API_KEY

Limitations

  • Status is global and not per-feature.
  • Endpoint always reports marker state only; it does not include progress details.

Last Updated

2026-02-17