Skip to content

List metamodels

GET
/metamodels
curl --request GET \
--url https://api.modeldesk.io/metamodels \
--header 'Authorization: Bearer <token>'

List metamodels

OK

Media typeapplication/json
object
items
required
Array

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
id
required
string format: uuid
name
required
string
fullName
string
description
string
abstract

True when a model can be created on the metamodel only together with an extension that concretizes it.

boolean
kind

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.

string
Allowed values: DATA_SCHEMA
completionLabel
string
towerName

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.

string
towerDescription

One line describing the tower, authored on its root beside towerName.

string
purpose

The metamodel’s task line, what a user makes with a model of it.

string
layerOnly

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.

boolean
contentLanguage

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.

string
standardVersion

The version of the standard the metamodel implements. A release is named after it, or 1.0.0 when the metamodel declares none.

string
profilesMetamodel

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.

string format: uuid
builtInElementModelIds
Array<string>
addOn

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.

boolean
tower

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
id
required

The id of the tower’s root metamodel.

string format: uuid
name
required

The tower’s display name, authored on its root as towerName.

string
description

One line describing the tower, authored on its root as towerDescription.

string
importedMetamodelIds

The metamodels this one imports directly, by id, in declaration order. Profiled metamodels are not included. Absent when the metamodel imports nothing.

Array<string>
abstractionLevel

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.

string
Allowed values: CONCEPTUAL LOGICAL PHYSICAL

Example

{
"items": [
{
"kind": "DATA_SCHEMA",
"abstractionLevel": "CONCEPTUAL"
}
]
}

Error

Media typeapplication/problem+json

An RFC 9457 problem document, always sent as application/problem+json.

object
type

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.

string format: uri
title
required
string
status
required
integer
detail
required
string
instance

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.

string
violations

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.

Array<object>
object
property
required
string
message
required
string

Example generated

{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"violations": [
{
"property": "example",
"message": "example"
}
]
}