Skip to main content

Dashboards - Read All

Endpoint

/o/dashboards/all

Overview

Returns dashboards available to the current user. For full mode, each dashboard is enriched with widget metadata, app summaries, owner info, and editability flags.

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

No separate feature permission flag is checked. Access is derived from dashboard ownership/share rules and user role.

Request Parameters

ParameterTypeRequiredDescription
just_schemaBoolean StringNoTruthy value enables schema-only mode (returns minimal dashboard fields).
api_keyStringConditionalRequired if auth_token is not provided.
auth_tokenStringConditionalRequired if api_key is not provided.

Configuration Impact

SettingDefaultAffectsUser-visible impact
dashboards.sharing_statustrueSharing availabilityControls whether broad sharing options are available. This directly affects which dashboards can be visible to non-owners in list results.

Response

Success Response

Full mode:

[
{
"_id": "65e1f3d2a4f41a5f6f6d7701",
"name": "Executive Overview",
"owner_id": "65dc6a52a2f7156eb2576f10",
"owner": {
"_id": "65dc6a52a2f7156eb2576f10",
"full_name": "Product Lead",
"email": "lead@company.com"
},
"share_with": "selected-users",
"is_owner": true,
"is_editable": true,
"widgets": [
{
"_id": "65e1f5f8a4f41a5f6f6d7703",
"widget_type": "analytics"
}
],
"apps": [
{
"_id": "6991c75b024cb89cdc04efd2",
"name": "Production App"
}
]
}
]

Schema-only mode:

[
{
"_id": "65e1f3d2a4f41a5f6f6d7701",
"name": "Executive Overview",
"owner_id": "65dc6a52a2f7156eb2576f10",
"created_at": 1739971200000,
"is_owner": true
}
]

Response Fields

FieldTypeDescription
[]._idStringDashboard ID.
[].nameStringDashboard name.
[].owner_idStringOwner member ID.
[].ownerObjectOwner profile details (full mode).
[].is_ownerBooleanWhether current user owns this dashboard (or is global admin).
[].is_editableBooleanWhether current user can edit this dashboard (full mode).
[].widgetsArrayWidget metadata array (full mode).
[].appsArrayApp summary array derived from widget app references (full mode).

Error Responses

This handler returns [] for many internal error branches instead of explicit error payloads.

Behavior/Processing

Behavior Modes

ModeTriggerProcessing PathResponse Shape
Full modejust_schema not provided or falsyApplies access filter, enriches each dashboard with widget/app/owner/editability data.Raw array of enriched dashboard objects
Schema-only modejust_schema truthyApplies access filter and returns minimal dashboard fields.Raw array of minimal dashboard objects

Impact on Other Data

  • Read-only endpoint; no data writes.

Database Collections

CollectionUsed forData touched by this endpoint
countly.dashboardsDashboard listing and access filteringReads dashboard documents with ownership/sharing filters.
countly.widgetsWidget metadata enrichmentReads widgets referenced by each dashboard.
countly.appsApp summary enrichmentReads app documents referenced by widget app IDs.
countly.membersAuthentication and owner info enrichmentReads current member context for access filtering and owner profile fields for enrichment.

Examples

Read all accessible dashboards (full mode)

/o/dashboards/all

Read schema only

/o/dashboards/all?
just_schema=true

Limitations

  • just_schema is evaluated by truthiness; values like 1 also activate schema-only mode.
  • On many internal errors, handler returns an empty array instead of structured error details.

Last Updated

2026-02-17