Returns applications grouped by instance_of (type) with a counter. Hierarchically authorized: the caller only sees applications on systems within their organization tree. Optionally filterable by organization_id to restrict to a specific organization. When include_hierarchy is true, also includes applications from all child organizations.
Query parameters
-
Logto ID of a specific organization to filter by. Must be within the caller's hierarchy.
-
When true (and organization_id is provided), includes applications from all child organizations in the hierarchy
Default value is
false. -
Page number for paginating the by_type array (1-based). If omitted, all types are returned.
Minimum value is
1. -
Number of application types per page (max 100). If omitted, all types are returned.
Minimum value is
1, maximum value is100. -
Field to sort by_type results by
Values are
count,created_at, orinstance_of. Default value iscount. -
Sort direction
Values are
ascordesc. Default value isdesc.
curl \
--request GET 'https://api.your-domain.com/api/applications/summary' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"code": 200,
"message": "application type summary retrieved successfully",
"data": {
"total": 130,
"by_type": [
{
"instance_of": "nethvoice",
"name": "NethVoice",
"count": 30
}
],
"pagination": {
"page": 1,
"page_size": 20,
"total_count": 156,
"total_pages": 8,
"has_next": true,
"has_prev": false,
"next_page": 2,
"prev_page": 42,
"sort_by": "name",
"sort_direction": "asc"
}
}
}
{
"code": 401,
"message": "invalid token",
"data": {}
}
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}