Get a public dataset by its id alone
const url = 'https://api.modeldesk.io/public/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';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/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0One publicly visible dataset, found by its id without the organization in the address, under the same rules as the organization’s own read of it: what it says about itself, as it stands now, its latest release, and the organization that owns it, whose address the catalog sends a reader of the dataset’s platform IRI on to. Needs no sign-in.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The dataset. Carries Cache-Control: no-store.
A public dataset as its public page shows it.
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.
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 says about itself for the catalog: the descriptive fields of a model’s metadata, from the same closed lists, without contributors, distributions or a public flag, and with the dataset’s kind of resource. A record that says nothing has every list empty.
object
What the dataset is to the public catalog, a value of datasetKinds from /public/metadata/vocabularies (VALUE_LIST, METADATA_RECORDS). A read names the dataset’s kind as it is stored, VALUE_LIST for a dataset that states none; a kind a later version added is named as stored, while the dataset is shown as a VALUE_LIST. A write naming a listed kind changes it, a write naming none or the kind as stored leaves it as it is, and a write naming any other value is refused with 422 naming resourceKind. Kept as a field of the dataset beside the record, not inside it, and left out of the record a public read serves, which names the kind on its own.
One text per language.
One language-tagged text; lang is null for a text without a language.
object
A language tag such as nl or en.
Free-text tags; a keyword may repeat a language or carry none.
One language-tagged text; lang is null for a text without a language.
object
A language tag such as nl or en.
EU data-theme IRIs from the shipped list.
A licence IRI from the shipped list.
The dataset’s stable external identifier.
The dataset’s stable identity.
object
The stored element’s id on a model’s record; null in a request, minted anew on every save. Always null on a dataset’s record, which keeps an agent by its fields alone.
The agent’s e-mail address. The anonymous public model read serves it on contact points only, and leaves it out for the publisher, maintainers and contributors.
A person or organization the metadata names. Which role it plays is the list it is in; the same agent named as publisher and as maintainer is two entries.
object
The stored element’s id on a model’s record; null in a request, minted anew on every save. Always null on a dataset’s record, which keeps an agent by its fields alone.
The agent’s e-mail address. The anonymous public model read serves it on contact points only, and leaves it out for the publisher, maintainers and contributors.
A person or organization the metadata names. Which role it plays is the list it is in; the same agent named as publisher and as maintainer is two entries.
object
The stored element’s id on a model’s record; null in a request, minted anew on every save. Always null on a dataset’s record, which keeps an agent by its fields alone.
The agent’s e-mail address. The anonymous public model read serves it on contact points only, and leaves it out for the publisher, maintainers and contributors.
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.
The address its entries’ IRIs start with, which a public dataset always has; a backend that does not serve it leaves it out.
Example
{ "metadata": { "status": "UnderDevelopment" }, "kind": "VALUE_LIST"}Headers
Section titled “Headers”The dataset is not publicly visible, for any reason, or does not exist; the answer is the same for both.
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" } ]}