All resources in Voyant use TypeIDs - prefixed identifiers that indicate the entity type:
The prefix tells you what kind of resource the ID refers to, making debugging and logging much easier.
Common prefixes
Validation
The API validates that IDs have the correct prefix for each field:
Using an ID with the wrong prefix returns a 400 Bad Request error.
Properties
- Globally unique: IDs never collide across workspaces or entity types
- Time-sortable: IDs created later sort after earlier ones
- Lowercase: Always use lowercase when storing or comparing IDs
Working with IDs
Store and transmit IDs as strings:
Use the created_at field from API responses if you need creation timestamps - don’t try to extract them from the ID.