Skip to main content
POST
/
models
/
datamodels
/
byids
Python SDK
res = client.data_modeling.data_models.retrieve(("mySpace", "myDataModel", "v1"))
{
  "items": [
    {
      "space": "<string>",
      "externalId": "<string>",
      "version": "<string>",
      "createdTime": 1730204346000,
      "lastUpdatedTime": 1730204346000,
      "isGlobal": true,
      "name": "<string>",
      "description": "<string>",
      "views": [
        {
          "type": "view",
          "space": "<string>",
          "externalId": "<string>",
          "version": "<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

inlineViews
boolean
default:false

Should we expand the referenced views inline in the returned result.

Body

application/json

List of external-ids of data models to retrieve.

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

Response

List of data models

items
object[]
required

List of data models

Last modified on April 23, 2026