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
    • Overview
    • Organizations
    • Landscapes
    • Versions
    • Domains
    • Model Objects
    • Model Connections
    • Diagrams
    • Flows
LogoLogo
Sign upLog in
On this page
  • Creating connections
  • Filtering connections
  • Status lifecycle
  • Related concepts

Model Connections

Was this page helpful?
Previous

Diagrams

Next
Built with

Model connections are the edges of the model objects in your architecture. They represent relationships, dependencies, API calls, data flows, or any meaningful interaction between two model objects.


Creating connections

POST
/v1/landscapes/:landscapeId/versions/:versionId/model/connections
1curl -X POST https://api.icepanel.io/v1/landscapes/landscapeId/versions/versionId/model/connections \
2 -H "X-API-Key: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "direction": "outgoing",
6 "name": "string",
7 "originId": "string",
8 "targetId": "string"
9}'
Try it

Filtering connections

The GET /model/connections endpoint supports filtering:

Query parameterDescription
filter[originId]Connections starting from a specific object
filter[targetId]Connections ending at a specific object
filter[viaId]Connections passing through a specific object
filter[direction]outgoing or bidirectional
filter[status]Status lifecycle value
filter[tagIds][]One or more tag IDs
filter[technologyIds][]One or more technology IDs
filter[labels][key]Label key-value pair
filter[name]Partial name match
filter[linked]true to return only connections with at least one link

Status lifecycle

Connections share the same four-state lifecycle as model objects:

StatusDescription
liveActive dependency or relationship
futurePlanned but not yet implemented
deprecatedIn use but being phased out
removedRetired, kept for historical reference

Related concepts

  • Model Objects