Skip to main content

/o/apps/details

Endpoint

/o/apps/details

Overview

Return app detail block, resolved owner display name, and member lists for global admins, app admins, and app users.

Authentication

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

Permissions

  • App admin (or global admin) access to the target app is required.

Request Parameters

ParameterTypeRequiredDescription
api_keyStringYes (or use auth_token)Dashboard API authentication key.
auth_tokenStringYes (or use api_key)Dashboard auth token.
app_idStringYesTarget app ID.

Examples

Example 1: Read app details

/o/apps/details?api_key=YOUR_API_KEY&app_id=64b0ac10c2c3ce0012dd1001

Response

Success Response

{
"app": {
"owner": "Global Admin",
"owner_id": "64afcc1a4f5f0f0012a11101",
"created_at": 1717600000,
"edited_at": 1717600100,
"plugins": {},
"last_data": 1717600200,
"last_data_users": 1717600300
},
"global_admin": [
{
"full_name": "Global Admin",
"username": "admin"
}
],
"admin": [],
"user": []
}

Response Fields

FieldTypeDescription
appObjectCore app metadata block.
app.ownerStringOwner display name derived from member document or empty string.
app.owner_idStringOwner member ID.
app.created_atNumberApp creation timestamp (seconds).
app.edited_atNumberLast app edit timestamp (seconds).
app.pluginsObjectApp-level plugin configuration object.
app.last_dataNumberLast app data timestamp stored on app record.
app.last_data_usersNumberMost recent app-user activity timestamp (lac) from app-user collection.
global_adminArray of ObjectsList of global admin members.
adminArray of ObjectsList of app admins for this app.
userArray of ObjectsList of app users for this app.

Error Responses

Status Code: 401 Unauthorized

{
"result": "No app_id provided"
}

Status Code: 401 Unauthorized

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

Behavior

Behavior Modes

ModeTriggerProcessing PathResponse Shape
Details readValid app and permissionsLoads app, resolves owner display, loads member role lists, loads latest app-user activity.Raw object { app, global_admin, admin, user }

Limitations

  • Owner is returned as display text, not full owner profile object.
Implementation details

Database Collections

CollectionUsed forData touched by this endpoint
countly.appsApp metadata sourceReads target app document and plugin configuration.
countly.app_users{appId}Activity recency lookupReads highest lac value to populate last_data_users.
countly.membersOwner and role list enrichmentReads owner, global admin, app admin, and app user member records.