get
https://api.sigmacomputing.com/v2/dataModels//elements
This endpoint retrieves details of all elements in a data model, which helps you understand and interact with the individual components that make up the data model, such as tables or controls.
Usage notes
- Retrieve the dataModelId by calling the /v2/dataModels endpoint.
- To retrieve elements from version-tagged data models, pass the
tagNamein the query parameters with the tag name. Retrieve the tag name by calling the /v2/dataModels/{dataModelId}/tags endpoint and using thetags.nameincluded in the response for a given data model.
Usage scenarios
- Detailed analysis: Developers and users can retrieve specific elements for detailed data analysis or further manipulation.
- Interface customization: Allows for dynamic interface construction where users can choose which elements to display or interact with.
Best practices
- Use pagination to handle large numbers of elements efficiently, reducing load times and improving user experience.
