Variable collections
Variable collections provide an organizational structure for managing related variables. Collections allow you to group variables logically - for example, you might create separate collections for brand colors, typography, or spacing variables. Collections help maintain a clean and organized variable system, making it easier to manage design tokens at scale across your projects.
Creating a collection
Create a collection using the create variable collection endpoint.
Selecting a collection
Select a collection in multiple ways. Either, get all collections or get a specific collection by name or ID.
Working with variables
Once a collection is selected, you can use the collection methods to create, retrieve, and manage variables.