Get the schema of resource type

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
path Parameters
project
required
string

The project name.

schemaType
required
string

Name of the target schema type, please provide one of the following: assets, timeseries, asset_hierarchy, events, datapoints string_datapoints, sequences, files, labels, relationships, raw, data_sets

query Parameters
conflictMode
string

One of the following conflictMode types can be provided: abort, upsert, update, delete

Responses
200

Response with the schema columns of the target schema type

400

The response for a failed request.

403

The response for a forbidden request.

get/transformations/schema/{schemaType}
Request samples
from cognite.client.data_classes import TransformationDestination
columns = client.transformations.schema.retrieve(destination = TransformationDestination.assets())
Response samples
application/json
{
  • "items": [
    • {
      }
    ]
}