New: build custom CDF applications with Cognite Flows. Documentation · What's new.
const dataSets = await client.datasets.retrieve([{id: 123}, {externalId: 'abc'}]);{
"items": [
{
"writeProtected": false,
"id": 4503599627370496,
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"externalId": "my.known.id",
"name": "<string>",
"description": "<string>",
"metadata": {}
}
]
}Required capabilities:
datasetsAcl:READ
Retrieve data sets by IDs or external IDs.
const dataSets = await client.datasets.retrieve([{id: 123}, {externalId: 'abc'}]);{
"items": [
{
"writeProtected": false,
"id": 4503599627370496,
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"externalId": "my.known.id",
"name": "<string>",
"description": "<string>",
"metadata": {}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
List of the IDs of the data sets to retrieve. You can retrieve a maximum of 1000 data sets per request. All IDs must be unique.
A list of data sets.
Show child attributes
Was this page helpful?