Skip to main content
GET
/
models
/
containers
Python SDK
container_list = client.data_modeling.containers.list(limit=5)

for container in client.data_modeling.containers:
    container # do something with the container

for container_list in client.data_modeling.containers(chunk_size=10):
    container_list # do something with the containers
{
  "items": [
    {
      "space": "<string>",
      "externalId": "<string>",
      "usedFor": "node",
      "createdTime": 1730204346000,
      "lastUpdatedTime": 1730204346000,
      "isGlobal": true,
      "properties": {},
      "name": "<string>",
      "description": "<string>",
      "constraints": {},
      "indexes": {}
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

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.

Query Parameters

limit
integer
default:10

Limit the number of results returned. The largest result-set returned by the server will be 1000 items, even if you specify a higher limit.

Required range: 1 <= x <= 1000
cursor
string

Cursor for paging through results. In general, if a response contains a nextCursor property, it means that there may be more results, and you should pass that value as the cursor parameter in the next request.

Note that the cursor may or may not be encrypted, but either way, it is not intended to be decoded. Its internal structure is not a part of the public API, and may change without notice. You should treat it as an opaque string and not attempt to craft your own cursors.

Example:

"4zj0Vy2fo0NtNMb229mI9r1V3YG5NBL752kQz1cKtwo"

space
string

The space to query.

Required string length: 1 - 43
Pattern: (?!^(space|cdf|dms|pg3|shared|system|node|edge)$)(^[a-zA-Z][a-zA-Z0-9_-]{0,41}[a-zA-Z0-9]?$)
Example:

"timeseries"

includeGlobal
boolean
default:false

If the global items of the entity should be returned. Defaults to false which excludes global items.

usedFor
enum<string>[]

Only include containers that have been marked as used for the specified purposes. Defaults to [node, edge, all]

Should this operation apply to nodes, edges, records, or both nodes and edges. NB! Currently all applies to nodes and edges, but not records.

Available options:
node,
edge,
record,
all
Example:
["node", "edge", "all", "record"]

Response

List of containers

items
object[]
required

List of containers

nextCursor
string

The cursor value used to return (paginate to) the next page of results, when more data is available.

Last modified on April 23, 2026