v12

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-011528661.3 MB
Landscape

Export

Create a background job that exports a landscape in the specified format.

post/landscapes/{landscapeId}/versions/{versionId}/export

Path parameters

landscapeIdstring required
versionIdstring required

Query parameters

type'pdf' | 'markdown' | 'html' | 'llms' | 'json' | 'object-csv' | 'connection-csv' required
diagramIdstring
flowIdstring
includeDiagramsboolean

Whether or not to include diagrams in PDF exports, defaults to true

includeFlowsboolean

Whether or not to include flows in PDF exports, defaults to true

modelObjectIdstring

Request body

draftIdstring

Fetch and apply draft tasks before producing the export

orientation'portrait' | 'landscape'
schema'v1' | 'v2'

Schema version to use for JSON exports.

v1 (default) produces the legacy format where entities are keyed objects.

v2 produces the same structure as the LandscapeImportData used by the import endpoint, so an export can be imported directly.

Response

OK