Skip to content

Get a model's overview

GET
/models/{modelId}/overview
curl --request GET \
--url https://api.modeldesk.io/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/overview \
--header 'Authorization: Bearer <token>'

Everything the model overview page asks the platform that it cannot answer from the model itself: the four directions of the model’s ecosystem (what it depends on, what depends on it, what it is based on, what was derived from it), the change signals worth noticing, and where the model stands against its own releases. Read-only, always at the model’s head, and authorized exactly like reading the model. Every neighbour is filtered by what the caller may read: a model they cannot open is dropped from its group’s items and counted in that group’s hiddenCount, and its name is never sent. A model that is gone and one the caller may not read answer the same 404.

modelId
required
string format: uuid

OK

Media typeapplication/json

The one aggregate read behind the model overview page. Carries what is cross-model or visibility-filtered, and the metamodel with its pin so a client can name both without a full model read; the model’s own name and elements come from the model read.

object
release
required

Where the model stands against its own releases.

object
latest

A release of a model. Every version is a release, so the latest version is the latest release; recency is createdAt, never the name.

object
versionId
required
string format: uuid
name
required
string
createdAt
required
string format: date-time
commitId
required
string format: uuid
changesSinceRelease
required

Non-system commits on the main branch since latest — since the model was created when there is none. Capped at 1000.

integer
changesCapped
required

When true the count is a floor, and reads as “1000+”.

boolean
dependsOn
required

One of the four directions of the ecosystem map.

object
items
required

The models the caller may open. An empty array is the “none” answer.

Array<object>

One model on the ecosystem map.

object
modelId

Absent for an EXTERNAL node, which stands for a document outside the platform rather than a model in it.

string format: uuid
name
required
string
kind
required

What the edge to a node is. INTERNAL and EXTERNAL are dependency edges; GENERATED and LINKED are derivation edges.

string
Allowed values: INTERNAL EXTERNAL GENERATED LINKED
pin

What a dependency node pins its provider at.

object
versionRef

The pin as authored: @HEAD, a version name, or absent on legacy edges, which track the head.

string
commitId
string format: uuid
versionName

The release the pinned commit is, when it is one.

string
nature

Nature of a derivation (based-on) edge. VERTICAL = crosses abstraction levels (semantic lineage); HORIZONTAL = same level, different representation; UNKNOWN = could not be inferred. Only VERTICAL/HORIZONTAL are persisted on an origin; UNKNOWN is an inference result, never stored.

string
Allowed values: VERTICAL HORIZONTAL UNKNOWN
via
required

Names of the transitive dependencies this direct one brings in. Drawn as “+N via” rather than as separate nodes; a transitive edge is never a node of its own.

Array<string>
signals
required

The codes of the signals naming this node, so the map can mark it.

Array<string>
Allowed values: DEPENDENCY_MOVED_ON SOURCE_MOVED UNRESOLVED_REFERENCES DEPENDENT_BEHIND
hiddenCount
required

How many more models are in this direction that the caller may not read. Their names are never sent; the group’s label counts them so the picture is not quietly smaller than reality.

integer
dependedOnBy
required

One of the four directions of the ecosystem map.

object
items
required

The models the caller may open. An empty array is the “none” answer.

Array<object>

One model on the ecosystem map.

object
modelId

Absent for an EXTERNAL node, which stands for a document outside the platform rather than a model in it.

string format: uuid
name
required
string
kind
required

What the edge to a node is. INTERNAL and EXTERNAL are dependency edges; GENERATED and LINKED are derivation edges.

string
Allowed values: INTERNAL EXTERNAL GENERATED LINKED
pin

What a dependency node pins its provider at.

object
versionRef

The pin as authored: @HEAD, a version name, or absent on legacy edges, which track the head.

string
commitId
string format: uuid
versionName

The release the pinned commit is, when it is one.

string
nature

Nature of a derivation (based-on) edge. VERTICAL = crosses abstraction levels (semantic lineage); HORIZONTAL = same level, different representation; UNKNOWN = could not be inferred. Only VERTICAL/HORIZONTAL are persisted on an origin; UNKNOWN is an inference result, never stored.

string
Allowed values: VERTICAL HORIZONTAL UNKNOWN
via
required

Names of the transitive dependencies this direct one brings in. Drawn as “+N via” rather than as separate nodes; a transitive edge is never a node of its own.

Array<string>
signals
required

The codes of the signals naming this node, so the map can mark it.

Array<string>
Allowed values: DEPENDENCY_MOVED_ON SOURCE_MOVED UNRESOLVED_REFERENCES DEPENDENT_BEHIND
hiddenCount
required

How many more models are in this direction that the caller may not read. Their names are never sent; the group’s label counts them so the picture is not quietly smaller than reality.

integer
basedOn
required

One of the four directions of the ecosystem map.

object
items
required

The models the caller may open. An empty array is the “none” answer.

Array<object>

One model on the ecosystem map.

object
modelId

Absent for an EXTERNAL node, which stands for a document outside the platform rather than a model in it.

string format: uuid
name
required
string
kind
required

What the edge to a node is. INTERNAL and EXTERNAL are dependency edges; GENERATED and LINKED are derivation edges.

string
Allowed values: INTERNAL EXTERNAL GENERATED LINKED
pin

What a dependency node pins its provider at.

object
versionRef

The pin as authored: @HEAD, a version name, or absent on legacy edges, which track the head.

string
commitId
string format: uuid
versionName

The release the pinned commit is, when it is one.

string
nature

Nature of a derivation (based-on) edge. VERTICAL = crosses abstraction levels (semantic lineage); HORIZONTAL = same level, different representation; UNKNOWN = could not be inferred. Only VERTICAL/HORIZONTAL are persisted on an origin; UNKNOWN is an inference result, never stored.

string
Allowed values: VERTICAL HORIZONTAL UNKNOWN
via
required

Names of the transitive dependencies this direct one brings in. Drawn as “+N via” rather than as separate nodes; a transitive edge is never a node of its own.

Array<string>
signals
required

The codes of the signals naming this node, so the map can mark it.

Array<string>
Allowed values: DEPENDENCY_MOVED_ON SOURCE_MOVED UNRESOLVED_REFERENCES DEPENDENT_BEHIND
hiddenCount
required

How many more models are in this direction that the caller may not read. Their names are never sent; the group’s label counts them so the picture is not quietly smaller than reality.

integer
derivedFromIt
required

One of the four directions of the ecosystem map.

object
items
required

The models the caller may open. An empty array is the “none” answer.

Array<object>

One model on the ecosystem map.

object
modelId

Absent for an EXTERNAL node, which stands for a document outside the platform rather than a model in it.

string format: uuid
name
required
string
kind
required

What the edge to a node is. INTERNAL and EXTERNAL are dependency edges; GENERATED and LINKED are derivation edges.

string
Allowed values: INTERNAL EXTERNAL GENERATED LINKED
pin

What a dependency node pins its provider at.

object
versionRef

The pin as authored: @HEAD, a version name, or absent on legacy edges, which track the head.

string
commitId
string format: uuid
versionName

The release the pinned commit is, when it is one.

string
nature

Nature of a derivation (based-on) edge. VERTICAL = crosses abstraction levels (semantic lineage); HORIZONTAL = same level, different representation; UNKNOWN = could not be inferred. Only VERTICAL/HORIZONTAL are persisted on an origin; UNKNOWN is an inference result, never stored.

string
Allowed values: VERTICAL HORIZONTAL UNKNOWN
via
required

Names of the transitive dependencies this direct one brings in. Drawn as “+N via” rather than as separate nodes; a transitive edge is never a node of its own.

Array<string>
signals
required

The codes of the signals naming this node, so the map can mark it.

Array<string>
Allowed values: DEPENDENCY_MOVED_ON SOURCE_MOVED UNRESOLVED_REFERENCES DEPENDENT_BEHIND
hiddenCount
required

How many more models are in this direction that the caller may not read. Their names are never sent; the group’s label counts them so the picture is not quietly smaller than reality.

integer
signals
required

Ordered attention, error, information, then by subject name. An empty array is the “nothing needs attention” answer and is always sent.

Array<object>

One change worth noticing.

object
code
required
string
Allowed values: DEPENDENCY_MOVED_ON SOURCE_MOVED UNRESOLVED_REFERENCES DEPENDENT_BEHIND
tone
required

How loudly a signal reads. ATTENTION means the maintainer of this model can act; INFORMATION is awareness only; ERROR is reserved for what is broken.

string
Allowed values: ATTENTION INFORMATION ERROR
subject

The model a signal is about. Absent from the signal when that model is one the caller may not read.

object
modelId
required
string format: uuid
name
required
string
detail
required

The keys the signal’s code fixes. DEPENDENCY_MOVED_ON and DEPENDENT_BEHIND carry pinnedVersion and latestVersion; UNRESOLVED_REFERENCES carries groupCount and referenceCount; SOURCE_MOVED carries none.

object
key
additional properties
any
features
required

The optional capabilities of the owning organization, for the sections that would otherwise describe a concept the caller’s organization does not have.

object
lineage
required

False when the organization has neither semantic-lineage nor origin-mapping. The derivation groups are then empty and the source-moved signal cannot arise.

boolean
instanceModelCount

How many models are written in this model, as their metamodel or an extension of it. Absent for a model that no model can be written in.

integer format: int64
metamodel

The metamodel the model is written in, and what the model pins it at. Not a node of the dependency map: the metamodel is the model’s language rather than one of its neighbours, so dependsOn leaves it out and this names it on its own.

object
modelId
required

The metamodel’s model id.

string format: uuid
name
required
string
pin

The release the model pins its metamodel at, in the shape the map’s pins take: versionRef is the version the pin names, commitId the commit it resolves to, and versionName the release, when that release still exists. Absent on a metamodel model, whose meta-metamodel is built in and has no releases to pin.

object
versionRef

The pin as authored: @HEAD, a version name, or absent on legacy edges, which track the head.

string
commitId
string format: uuid
versionName

The release the pinned commit is, when it is one.

string

Example

{
"dependsOn": {
"items": [
{
"kind": "INTERNAL",
"nature": "VERTICAL",
"signals": [
"DEPENDENCY_MOVED_ON"
]
}
]
},
"dependedOnBy": {
"items": [
{
"kind": "INTERNAL",
"nature": "VERTICAL",
"signals": [
"DEPENDENCY_MOVED_ON"
]
}
]
},
"basedOn": {
"items": [
{
"kind": "INTERNAL",
"nature": "VERTICAL",
"signals": [
"DEPENDENCY_MOVED_ON"
]
}
]
},
"derivedFromIt": {
"items": [
{
"kind": "INTERNAL",
"nature": "VERTICAL",
"signals": [
"DEPENDENCY_MOVED_ON"
]
}
]
},
"signals": [
{
"code": "DEPENDENCY_MOVED_ON",
"tone": "ATTENTION"
}
]
}

The caller is an agent acting for a person, and the organization that owns the model has not enabled the agent’s AI platform, answered as AgentPlatformNotEnabledProblem. Any other refusal is answered with the plain problem.

Media typeapplication/problem+json
Any of:

A Problem answered when an agent acting for a person reached a model whose owning organization has not enabled the AI platform the agent runs on, which its token names. Model content reaches the platform an agent runs on, so the organization decides: until an organization admin turns the platform on in the organization’s AI agent platforms setting, every route on the model refuses the agent, conditional reads and the events stream included, and the model list and every page that names other models leave the organization’s models out. A change of the setting applies to new requests within a minute; an events stream that is already open ends at its token’s expiry, at most ten minutes later.

object
type
required

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

Stable constant a client branches on, which is what tells this 403 from the plain one the same routes answer for a model the caller may not read.

string format: uri
Allowed values: https://modeldesk.io/problems/agent-platform-not-enabled

Example

{
"type": "https://modeldesk.io/problems/agent-platform-not-enabled"
}

Not found

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"
}
]
}

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"
}
]
}