List an organization's public datasets
const url = 'https://api.modeldesk.io/public/catalog/example/datasets?offset=0&limit=50&kind=VALUE_LIST';const options = {method: 'GET'};
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/public/catalog/example/datasets?offset=0&limit=50&kind=VALUE_LIST'A page of the organization’s publicly visible datasets, sorted by name without regard to case. A dataset is publicly visible when it has a release, it is switched on for the catalog (publicRecords), it is shared, and its organization has a slug, an active subscription and the catalog feature. Each card carries what the dataset says about itself as it stands now, its kind of resource, its latest release, and how many entries that release froze conforming, the entries a reader without a session is shown; the page says how many of all the organization’s public datasets are of each kind. Needs no sign-in, and a token does not widen the answer. Counting reads the releases’ entries, so a page runs under the cap on concurrent public reads.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”How many datasets to pass over; a negative one reads as none.
How many datasets at most, held to 100; one below 1 reads as the default.
What a dataset is to the public catalog, which picks its public pages: a value list is one table with a page per value; metadata records are descriptions. Absent, or a value a client does not know, reads as VALUE_LIST.
Narrows the page, and its total, to the public datasets of one kind of resource; a dataset that states no kind, or one this backend does not know, is a VALUE_LIST, as kindCounts counts it. kindCounts still counts every public dataset of the organization. Absent for every kind; any other value answers 400.
Responses
Section titled “Responses”The organization and a page of its public datasets. Carries Cache-Control: no-store: a dataset taken out of the catalog is gone from the next answer, with no copy left to serve. A kind the organization has no public dataset of is an empty page, while it has public datasets of another kind.
One page of an organization’s public datasets, sorted by name.
object
An organization as the public catalog names it. The slug is its address on the shared catalog host; the hosting and namespaces are the inputs of its address map, from which a page turns an element’s IRI into the address the organization serves it at.
object
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
The active domain that carries the organization page; absent when shared.
Every active domain, the primary among them; absent when shared.
The namespaces the organization publishes under, oldest first; empty when it registered none.
A namespace an organization publishes under.
object
An absolute http(s) IRI prefix ending in /, as the administrator registered it.
Whether this namespace’s candidate wins a cross-namespace ambiguity at resolve time.
One public dataset on its organization’s public page: what it says about itself as it stands now, and its latest release.
object
One description per authored language; the reader picks.
One language-tagged text; lang is null for a text without a language.
object
A language tag such as nl or en.
One language-tagged text; lang is null for a text without a language.
object
A language tag such as nl or en.
The publisher’s name; omitted when none is stated.
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
What a dataset is to the public catalog, which picks its public pages: a value list is one table with a page per value; metadata records are descriptions. Absent, or a value a client does not know, reads as VALUE_LIST.
How many entries the latest release froze conforming: the entries a reader without a session is shown. A backend that does not count them leaves it out.
How many public datasets the organization has, across every page; of the kind asked for, where a kind narrows the page.
Where this page starts among them.
The most one page holds, after the maximum of 100 is applied.
How many of the organization’s public datasets, across every page, are of each kind of resource, keyed by the kind (VALUE_LIST, METADATA_RECORDS), every kind this backend knows named, with zero for none; every public dataset of the organization is counted, whatever kind narrows the page, so without one the counts add up to total. A dataset that states no kind, or one this backend does not know, counts as a VALUE_LIST. A backend that does not count them leaves it out.
object
Example
{ "items": [ { "kind": "VALUE_LIST" } ]}Headers
Section titled “Headers”The kind is not one of the kinds of dataset.
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" } ]}No organization carries the slug, the one that does publishes nothing, or it has no public dataset of any kind; the three are indistinguishable.
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" } ]}As many public reads run as the platform runs at once; try again in a moment.
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" } ]}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" } ]}