Skip to content

List the organizations that publish models or datasets

GET
/public/catalog
curl --request GET \
--url https://api.modeldesk.io/public/catalog

Every organization with at least one publicly visible model or dataset, with how many it has of each, sorted by name. A model is publicly visible when it has a released version, its metadata marks it public, it is shared with its organization, and the organization’s subscription is active and it has the catalog feature; a dataset when it has a release, is switched on for the catalog, is shared, and its organization meets the same conditions. Needs no sign-in, and a token does not widen the answer.

The organizations. Carries Cache-Control: public, max-age=300 and no entity tag: the list changes whenever any of its models is released or unpublished.

Media typeapplication/json
Array<object>

An organization with at least one publicly visible model or dataset.

object
id
required
string format: uuid
slug
required
string
name
required
string
publicModelCount
required

How many of its models are publicly visible right now.

integer
hosting
required

Where an organization’s catalog is served: {"shared": true} on the shared catalog host, or {"shared": false, "primaryDomain": ..., "domains": [...]} on the organization’s own domains.

object
shared
required
boolean
primaryDomain

The active domain that carries the organization page; absent when shared.

string
domains

Every active domain, the primary among them; absent when shared.

Array<string>
namespaces
required

The namespaces the organization publishes under, oldest first; empty when it registered none.

Array<object>

A namespace an organization publishes under.

object
iriPrefix
required

An absolute http(s) IRI prefix ending in /, as the administrator registered it.

string
isDefault
required

Whether this namespace’s candidate wins a cross-namespace ambiguity at resolve time.

boolean
publicDatasetCount
required

How many of its datasets are publicly visible right now.

integer

Example generated

[
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"slug": "example",
"name": "example",
"publicModelCount": 1,
"hosting": {
"shared": true,
"primaryDomain": "example",
"domains": [
"example"
]
},
"namespaces": [
{
"iriPrefix": "example",
"isDefault": true
}
],
"publicDatasetCount": 1
}
]
Cache-Control
string

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