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

for space in client.data_modeling.spaces:
    space # do something with the space

for space_list in client.data_modeling.spaces(chunk_size=2500):
    space_list # do something with the spaces
{
  "items": [
    {
      "space": "<string>",
      "createdTime": 1730204346000,
      "lastUpdatedTime": 1730204346000,
      "isGlobal": true,
      "description": "<string>",
      "name": "<string>"
    }
  ],
  "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"

includeGlobal
boolean
default:false

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

Response

List of spaces

items
object[]
required

List of spaces

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