/applications/export - Export applications to CSV or PDF

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api.my.nethesis.it/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "my.nethesis.it MCP server": {
    "url": "https://api.my.nethesis.it/mcp"
  }
}

Close
GET /applications/export

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

  • format string Required

    Export format (csv or pdf)

    Values are csv or pdf.

  • sort_by string

    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, or certification_level.

  • sort_direction string

    Sort direction

    Values are asc or desc. Default value is asc.

  • type array[string]

    Filter applications by type (instance_of). Supports multiple values.

  • version array[string]

    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.

  • system_id array[string]

    Filter applications by system ID. Supports multiple values.

  • organization_id array[string]

    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.

  • include_hierarchy boolean

    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.

  • status array[string]

    Filter applications by assignment status. Supports multiple values.

    Values are unassigned or assigned.

Responses

  • Export file generated successfully

    Hide headers attributes Show headers attributes
    • Content-Disposition string

      Attachment filename

    • Content-Length integer

      File size in bytes

    CSV file with applications data

    PDF report with applications data

  • 400 application/json

    Bad request (invalid format or too many applications)

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object
      Hide data attributes Show data attributes object
      • total_count integer
      • max_limit integer
  • 401 application/json

    Unauthorized - invalid or missing token

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object | null
  • 403 application/json

    Forbidden - insufficient permissions

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object | null
  • 429 application/json

    Another export is already running on this instance; retry after the number of seconds in Retry-After

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object
      Hide data attribute Show data attribute object
      • retry_after_seconds string
GET /applications/export
curl \
 --request GET 'https://my.nethesis.it/backend/api/applications/export?format=csv' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (400)
{
  "code": 400,
  "message": "too many applications to export (15000). maximum allowed: 10000. please apply more filters",
  "data": {
    "total_count": 15000,
    "max_limit": 10000
  }
}
Response examples (401)
{
  "code": 401,
  "message": "invalid token",
  "data": {}
}
Response examples (403)
{
  "code": 403,
  "message": "insufficient permissions",
  "data": {}
}
Response examples (429)
{
  "code": 429,
  "message": "too many concurrent export requests, retry shortly",
  "data": {
    "retry_after_seconds": "5"
  }
}