Skip to main content
POST
/
models
/
spaces
/
byids
Python SDK
res = client.data_modeling.spaces.retrieve(spaces='mySpace')

res = client.data_modeling.spaces.retrieve(spaces=["MySpace", "MyAwesomeSpace", "MyOtherSpace"])
{
  "items": [
    {
      "space": "<string>",
      "createdTime": 1730204346000,
      "lastUpdatedTime": 1730204346000,
      "isGlobal": true,
      "description": "<string>",
      "name": "<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.

Body

application/json

List of space-ids for the spaces to return.

items
object[]
required
Required array length: 1 - 100 elements

Response

List of spaces

items
object[]
required

List of spaces

Last modified on April 23, 2026