New: build custom CDF applications with Cognite Flows. Documentation · What's new.
res = client.data_modeling.data_models.retrieve(("mySpace", "myDataModel", "v1")){
"items": [
{
"space": "<string>",
"externalId": "<string>",
"version": "<string>",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"isGlobal": true,
"name": "<string>",
"description": "<string>",
"views": [
{
"type": "view",
"space": "<string>",
"externalId": "<string>",
"version": "<string>"
}
]
}
]
}Required capabilities:
DataModelsAcl:READ
Retrieve up to 100 data models by their external ids. Views can be auto-expanded when the InlineViews query parameter is set.
res = client.data_modeling.data_models.retrieve(("mySpace", "myDataModel", "v1")){
"items": [
{
"space": "<string>",
"externalId": "<string>",
"version": "<string>",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"isGlobal": true,
"name": "<string>",
"description": "<string>",
"views": [
{
"type": "view",
"space": "<string>",
"externalId": "<string>",
"version": "<string>"
}
]
}
]
}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.
Should we expand the referenced views inline in the returned result.
List of external-ids of data models to retrieve.
1 - 100 elementsShow child attributes
List of data models
List of data models
Show child attributes
Was this page helpful?