New: build custom CDF applications with Cognite Flows. Documentation · What's new.
res = client.data_modeling.containers.retrieve(('mySpace', 'myContainer'))
from cognite.client.data_classes.data_modeling import ContainerId
res = client.data_modeling.containers.retrieve(ContainerId(space='mySpace', external_id='myContainer')){
"items": [
{
"space": "<string>",
"externalId": "<string>",
"usedFor": "node",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"isGlobal": true,
"properties": {},
"name": "<string>",
"description": "<string>",
"constraints": {},
"indexes": {}
}
]
}Required capabilities:
DataModelsAcl:READ
Retrieve up to 100 containers by their specified external ids.
res = client.data_modeling.containers.retrieve(('mySpace', 'myContainer'))
from cognite.client.data_classes.data_modeling import ContainerId
res = client.data_modeling.containers.retrieve(ContainerId(space='mySpace', external_id='myContainer')){
"items": [
{
"space": "<string>",
"externalId": "<string>",
"usedFor": "node",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000,
"isGlobal": true,
"properties": {},
"name": "<string>",
"description": "<string>",
"constraints": {},
"indexes": {}
}
]
}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 external-ids of containers to retrieve.
1 - 100 elementsShow child attributes
List of containers
List of containers
Show child attributes
Was this page helpful?