The schema API exposes the structure of CDF resource types that transformations can write to. You can retrieve the schema for instances, sequence rows, or any other supported resource type. This helps you build valid SQL queries that match the expected destination structure.Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
What the schema API does
The schema API returns the column names, data types, and constraints for each CDF resource type that transformations support. Use this information to construct SQL statements that align with the destination schema and avoid runtime errors from mismatched columns or types.When to use it
- Building transformations: Reference the schema when writing SELECT statements that target a specific resource type.
- Validation: Ensure your query output columns match the destination schema before running transformations.
- Documentation: Inspect available fields and types for instances, sequence rows, or other resources.
Schema structure may vary by resource type. Always retrieve the schema for your target resource before defining transformation output.