List metamodels
const url = 'https://api.modeldesk.io/metamodels';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.modeldesk.io/metamodels \ --header 'Authorization: Bearer <token>'List metamodels
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
object
One catalog entry: the metamodel’s list-view fields, plus what the catalog computes about it for the create and import dialogs and the metamodel pickers.
object
True when a model can be created on the metamodel only together with an extension that concretizes it.
Absent on an ordinary information metamodel. DATA_SCHEMA marks one whose models the platform derives for datasets: it is never offered where models are created, imported or picked.
The display name of the tower this metamodel is the root of. Authored on the root only. Presentation data: it changes no resolution, validation or dependency behavior.
One line describing the tower, authored on its root beside towerName.
The metamodel’s task line, what a user makes with a model of it.
True when the metamodel exists only for other metamodels to build on, so no one creates or imports a model on it directly. Absent means false.
The language tag of the language the metamodel’s standard is written in, in lower case. Authored on a base metamodel only; omitted when the standard declares none.
The version of the standard the metamodel implements. A release is named after it, or 1.0.0 when the metamodel declares none.
The declared base metamodel that application profiles of this metamodel are built to profile, propagated from a family extension’s binding. Absent on a base metamodel and on any metamodel carrying no family binding.
True when the metamodel is an add-on: a model adds its profiles on top of its own metamodel, so no one creates or imports a model on it directly. Absent means false.
The tower a metamodel belongs to: the metamodels that build on one root metamodel through imports and profiles. Absent when the metamodel belongs to no tower, or when it builds on more than one root.
object
The id of the tower’s root metamodel.
The tower’s display name, authored on its root as towerName.
One line describing the tower, authored on its root as towerDescription.
The metamodels this one imports directly, by id, in declaration order. Profiled metamodels are not included. Absent when the metamodel imports nothing.
The canonical level every model of this metamodel has. Absent unless the metamodel fixes its level; a level read from a model property is not a metamodel’s level.
Example
{ "items": [ { "kind": "DATA_SCHEMA", "abstractionLevel": "CONCEPTUAL" } ]}default
Section titled “default”Error
An RFC 9457 problem document, always sent as application/problem+json.
object
Present only on a typed refusal, whose own schema requires it and fixes its value. An untyped problem omits it, which RFC 9457 defines as about:blank: the status and title are all there is to branch on.
The path of the request that was refused. Absent when the request was refused before it reached the application’s handlers: a 401 for a missing or unusable access token, and a 403 for a service account whose scopes do not reach the route.
Present on a 400 raised by request-body validation, and on a 422 that refuses named fields (a malformed slug or namespace prefix). Each entry names the rejected property, so a client can attach the message to the field that caused it rather than showing one error for the whole form.
object
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "instance": "example", "violations": [ { "property": "example", "message": "example" } ]}