For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign upLog in
Developer GuideCore ConceptsAPI Reference
  • Getting Started
    • Introduction
    • Quickstart
    • Rate limits
  • How-to Guides
    • Import landscapes
    • Create model objects
    • Export objects and relationships
    • Update model descriptions
    • Create landscape versions
    • Invite users
LogoLogo
Sign upLog in
On this page
  • Prerequisites
  • Export as CSV
  • Export as JSON
How-to Guides

Export objects and relationships

Was this page helpful?
Previous

Update model descriptions

Next
Built with

This guide shows how to export IcePanel model objects and relationships. Useful for scenarios like identifying a service’s dependencies and ownership during incident response.

IcePanel supports two formats:

  1. CSV for importing spreadsheets (does not support Flows).
  2. JSON for build pipelines, scripts, and automation (supports Flows).

Prerequisites

  • IcePanel account
  • API key
$export ICEPANEL_API_KEY='your-api-key'
$export ICEPANEL_ORGANIZATION_ID='your-organization-id'

Export as CSV

1

Get your landscape

Get all landscapes in your organization and select a landscape ID:

GET
/v1/organizations/:organizationId/landscapes
1curl https://api.icepanel.io/v1/organizations/organizationId/landscapes \
2 -H "X-API-Key: <apiKey>"
Try it

Note the id of the landscape:

$export ICEPANEL_LANDSCAPE_ID='your-landscape-id'
2

Export model objects

GET
/v1/landscapes/:landscapeId/versions/:versionId/model/objects/export/csv
1curl https://api.icepanel.io/v1/landscapes/landscapeId/versions/versionId/model/objects/export/csv \
2 -H "X-API-Key: <apiKey>"
Try it
3

Export model connections

GET
/v1/landscapes/:landscapeId/versions/:versionId/model/connections/export/csv
1curl https://api.icepanel.io/v1/landscapes/landscapeId/versions/versionId/model/connections/export/csv \
2 -H "X-API-Key: <apiKey>"
Try it

Export as JSON

Export the whole model as JSON which can be easily used as part of a build pipeline, script or automation. This also includes flows which the CSV export does not.

GET
/v1/landscapes/:landscapeId/versions/:versionId/model/objects/:modelObjectId/dependencies/export/json
1curl https://api.icepanel.io/v1/landscapes/landscapeId/versions/versionId/model/objects/modelObjectId/dependencies/export/json \
2 -H "X-API-Key: <apiKey>"
Try it