New: build custom CDF applications with Cognite Flows. Documentation · What's new.
res = client.data_modeling.views.retrieve(('mySpace', 'myView', 'v1')){
"items": [
{
"externalId": "<string>",
"space": "<string>",
"version": "<string>",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"writable": true,
"queryable": true,
"usedFor": "node",
"isGlobal": true,
"properties": {},
"mappedContainers": [
{
"type": "container",
"space": "<string>",
"externalId": "<string>"
}
],
"name": "<string>",
"description": "<string>",
"filter": {
"and": [
{
"in": {
"property": [
"tag"
],
"values": [
10011,
10011
]
}
},
{
"range": {
"property": [
"weight"
],
"gte": 0
}
}
]
},
"implements": [
{
"type": "view",
"space": "<string>",
"externalId": "<string>",
"version": "<string>"
}
]
}
]
}Required capabilities:
DataModelsAcl:READ
Retrieve up to 100 views by their external ids.
res = client.data_modeling.views.retrieve(('mySpace', 'myView', 'v1')){
"items": [
{
"externalId": "<string>",
"space": "<string>",
"version": "<string>",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"writable": true,
"queryable": true,
"usedFor": "node",
"isGlobal": true,
"properties": {},
"mappedContainers": [
{
"type": "container",
"space": "<string>",
"externalId": "<string>"
}
],
"name": "<string>",
"description": "<string>",
"filter": {
"and": [
{
"in": {
"property": [
"tag"
],
"values": [
10011,
10011
]
}
},
{
"range": {
"property": [
"weight"
],
"gte": 0
}
}
]
},
"implements": [
{
"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.
Include properties inherited from views this view implements.
List of external-ids of views to retrieve.
1 - 100 elementsShow child attributes
List of views
List of views
Show child attributes
Was this page helpful?