Work shifts

A company work schedule made of planned intervals for each weekday.

Fields

The API name is what the API, MCP and the CLI use.

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
NamelabelText I18n
CodecodeTextYes
WorkdayworkdayKindConstantYes
Overtime tolerance (minutes)overtimeToleranceMinutesWhole NumberYes
Default scheduleisDefaultBooleanYesWhen enabled, this row is the default choice among peers.
TagstagIdsTags
Created bycreatedByUser
Created atcreatedAtDate and TimeYes
Updated byupdatedByUser
Updated atupdatedAtDate and TimeYes
Published bypublishedByUser
Published atpublishedAtDate and Time
Disabled bydisabledByUser
Disabled atdisabledAtDate and Time
Blocked byblockedByUser
Blocked atblockedAtDate and Time
Archived byarchivedByUser
Archived atarchivedAtDate and Time

Relations

Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.

FieldPoints toKind
Tags tagIdsTagsreference

Actions

What you can do with a record. Every action also sends the webhook event employeeshifts.<action>. Reads (find, get, count) work on every table.

NameAPI nameDescriptionWhere
CreatecreateAdd a new shift.App · WebMCP · API · MCP · CLI
EditupdateSave changes to this shift.App · WebMCP · API · MCP · CLI
DisabledisableTurn this shift off for new use. Existing references stay. Enable it again to use it.App · WebMCP · API · MCP · CLI
EnableundisableTurn this shift back on for new use.App · WebMCP · API · MCP · CLI
PublishpublishMake this shift available for use.App · WebMCP · API · MCP · CLI
ArchivearchiveRetire this shift from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it.App · WebMCP · API · MCP · CLI
RestoreunarchiveReturn this shift to active lists and actions.App · WebMCP · API · MCP · CLI
DeletedeleteDelete this shift and the data that belongs with it. This cannot be undone.App · WebMCP · API · MCP · CLI

States

How a record moves from state to state. Archive and block can happen in any state.

PublishCreatedPublished