CSV file with applications data
Export applications with applied filters to CSV or PDF format.
Features:
- Supports all filter parameters from GET /applications, including
include_hierarchy - Maximum 10,000 applications per export (DoS protection)
- CSV format: Simple spreadsheet with all fields
- PDF format: Formatted report with metadata and filters applied
- File naming:
applications_export_YYYY-MM-DD_HHmmss.[csv|pdf]
Permissions: Requires read:applications permission and respects RBAC hierarchy.
The export carries exactly the rows the list returns: user-facing applications on
systems the caller can see.
Export Fields:
- Name, Module ID, Type, Type ID, Version, Status
- Node, URL, Notes, Has Errors
- System
- Organization, Organization Type
- First Seen At, Last Inventory At, Created At
Query parameters
-
Export format (csv or pdf)
Values are
csvorpdf. -
Search term. For organizations (distributors, resellers, customers), searches across name, description, and all custom_data fields (vat, address, city, contact, email, phone, language, notes, etc.). For systems, also searches across ipv4_address and ipv6_address.
Minimum length is
1. -
Field to sort applications by
Values are
display_name,module_id,instance_of,version,status,created_at,updated_at,last_inventory_at,system_name,organization_name, orcertification_level. -
Sort direction
Values are
ascordesc. Default value isasc. -
Filter applications by type (instance_of). Supports multiple values.
-
Filter applications by version. Supports multiple values. Uses prefixed format "application:version" (e.g., "nethvoice:1.5.3") to avoid ambiguity when the same version exists for multiple application types.
-
Filter applications by system ID. Supports multiple values.
-
Filter applications by organization ID, matching the assigned organization or, for unassigned applications, the organization of the hosting system. Supports multiple values; combine with include_hierarchy to cover a whole subtree.
-
When true (and organization_id is provided), each organization_id is expanded to the organization plus all its descendants (a distributor's resellers and their customers, a reseller's customers) before filtering
Default value is
false. -
Filter applications by assignment status. Supports multiple values.
Values are
unassignedorassigned.
Responses
-
Export file generated successfully
PDF report with applications data
-
Bad request (invalid format or too many applications)
-
Unauthorized - invalid or missing token
-
Forbidden - insufficient permissions
-
Another export is already running on this instance; retry after the number of seconds in Retry-After
curl \
--request GET 'https://my.nethesis.it/backend/api/applications/export?format=csv' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"code": 400,
"message": "too many applications to export (15000). maximum allowed: 10000. please apply more filters",
"data": {
"total_count": 15000,
"max_limit": 10000
}
}
{
"code": 401,
"message": "invalid token",
"data": {}
}
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}
{
"code": 429,
"message": "too many concurrent export requests, retry shortly",
"data": {
"retry_after_seconds": "5"
}
}