Import model
POST/api/v1/lhc/models/import
Imports a custom model from an .lhc.json export file produced by the
export endpoint. Creates a new model including descriptions,
hierarchies, and datasources. Credentials are not included in the
export — enter them manually after import.
Request
Responses
- 201
- 400
- 409
- 422
- 500
Model imported successfully
Invalid import data
A model with this name/ID already exists
Invalid JSON file or unsupported export schema version
An unexpected error occurred