Sequences
Models
Sequence Model
A sequence is a general-purpose sequential identifier generator, used to auto-generate serial numbers for resources such as assets.
object "sequence"
The enum value identifying this as a sequence model.
id string
Unique identifier for the sequence, prefixed with seq_.
organization_id string
The ID of the organization that owns this sequence.
prefix string
The prefix prepended to each generated identifier. For example, PX-AST-.
sequence string
The sequential portion of the identifier pattern. Defines the format and starting point of the numeric or alphanumeric counter. For example, 001. A prefix can have multiple sequences, and the same sequence value can belong to multiple prefixes — however, the combination of prefix and sequence must be unique per resource.
resource string
The resource type for which this sequence is used. Currently only asset is supported.
created_at integer
Time in epoch seconds when this sequence was created.
updated_at integer
Time in epoch seconds when this sequence was last updated.
created_by string
The ID of the user or API key that created this sequence.
updated_by string
The ID of the user or API key that last updated this sequence.
checksum string
A hash value computed from the current sequence configuration. This value gets updated whenever the sequence changes.