Dataset
When I Work shift schedule datasets for AI training
A When I Work dataset is an export of a business's When I Work account: shifts by schedule, position and job site, OpenShifts and who took them, swap and drop requests with coworker responses and manager approvals, availability preferences, time off requests and the time entries clocked against shifts. SourceX sources it to a buyer's spec from established businesses with hourly staff that run When I Work. Each dataset is de-identified, with employee identifiers pseudonymized and wage rates handled as agreed, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Shifts, OpenShifts, swap and drop requests, availability, time off requests and clocked time entries from a business's When I Work account
- Typical systems
- When I Work Scheduling with the Time Clock and Attendance feature, the mobile app and the time clock terminal
- Typical history
- Varies by account; specify a date range and ask whether time entries exist for all of it
- Modality
- Structured shift, request and time entry records with free-text shift notes and request messages
- Delivery formats
- JSONL or Parquet per object from the API, or spreadsheet exports, with a schedule, position and job site key table
- Preparation
- Names and contacts removed, user IDs pseudonymized; hourly rates dropped or banded as agreed; punch coordinates, IP addresses and any photos excluded; notes screened
- Licensing
- Scoped per account and schedule; permitted use agreed per license; vendor terms checked by owner and buyer
- Availability
- Sourced to your spec; swap, OpenShift and time clock use depend on the account, and supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| schedule_ref | string | Pseudonymous key for the Location record, which the app calls a schedule, with its address and coordinates removed. |
| position_ref | object | The Position the Shift was created for, with its name. |
| site_ref | string | The Site, a job site inside a schedule, attached to the Shift, with its address and coordinates removed. |
| user_ref | string | Pseudonymous key for the User record, stable across shifts, requests, availability and time entries. |
| shift | object | One Shift record: start and end time, unpaid break time, notes, the published flag and publish date, and the acknowledged flag where shift confirmation is on. |
| open_shift | object | For an OpenShift, a Shift with no user: the open flag, the instances count and, where approval applied, the Users who asked for it. |
| series_key | string | The Shift's shiftchain key, shared by Shifts created in one repeating pattern. |
| swap_requests | array | Swap records for the Shift: swap or drop, each offered coworker's acceptance status, who accepted, and the request's status with times. |
| time_off_requests | array | Request records near the Shift: the time off type, start, end, hours, paid flag and status. |
| availability | array | Availability event records for the User: unavailable or preferred, all day or a time range, the recurrence rule and its end date. |
| time_entry | object | The time entry (the API's Time record) clocked against the Shift: start, end, length in hours, approval flag, notes and the shift ID it carries. |
| entry_origin | object | From the Time record and its punches: the creator, the last modifier and the punch method, such as mobile or terminal. |
| user_limits | object | From the User record: role, Positions held, the hourly or salaried type and the maximum hours setting, with the hourly rate removed. |
Field names from the table above; values are masked placeholders.
Example record
{
"schedule_ref": "sch_3fa1",
"position_ref": {
"id": "pos_12",
"name": "Barista"
},
"site_ref": "site_04",
"user_ref": "usr_c27e",
"shift": {
"shift_id": "shf_8841207",
"start_time": "2025-03-08T06:00:00-06:00",
"end_time": "2025-03-08T12:30:00-06:00",
"break_time_hours": 0.5,
"published": true,
"published_date": "2025-02-27T15:12:00-06:00",
"acknowledged": true,
"notes": "Open with [NAME]. Pastry delivery at 6:15."
},
"open_shift": {
"is_open": false
},
"series_key": "chain_77b2",
"swap_requests": [
{
"type": "drop",
"started_by": "usr_9d40",
"created_at": "2025-03-05T19:44:00-06:00",
"statuses": [
{
"user_ref": "usr_1b93",
"user_status": "declined"
},
{
"user_ref": "usr_c27e",
"user_status": "accepted"
}
],
"accepted_by": "usr_c27e",
"status": "completed",
"completed_at": "2025-03-06T08:15:00-06:00"
}
],
"time_off_requests": [],
"availability": [
{
"type": "unavailable",
"all_day": true,
"recurrence": "FREQ=WEEKLY;BYDAY=TU"
}
],
"time_entry": {
"time_id": "tim_660918",
"shift_id": "shf_8841207",
"start_time": "2025-03-08T06:09:00-06:00",
"end_time": "2025-03-08T12:41:00-06:00",
"length_hours": 6.53,
"is_approved": true,
"notes": "Late, lot was not plowed"
},
"entry_origin": {
"creator": "usr_c27e",
"modified_by": null,
"punch_method": "Mobile"
},
"user_limits": {
"role": "Employee",
"type": "hourly",
"positions": [
"pos_12",
"pos_15"
],
"hours_max": 32
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train agents to fill a dropped shift
Drop requests with each coworker's response and the manager's decision show how a gap was closed.
Learn swap approval decisions
Swap requests joined to positions, hours and availability are labeled cases of trades approved or declined.
Predict lateness and no-shows
Shifts joined to time entries by shift ID show which scheduled hours were worked late, short or not at all.
Draft schedules within stated preferences
Published shifts beside availability, time off and maximum hours show how managers scheduled around what staff asked for.
Build evaluation sets for scheduling agents
Held-out weeks with availability, time off and OpenShifts on file let a lab score a generated schedule against the one published.
Use-case guides: Enterprise and computer-use agents, Private evaluation sets, Finance and accounting agents
What makes this data valuable
Shifts and time entries both present
Time entries carry a shift ID across the whole date range, so plan against actual is a join.
Swap responses kept per coworker
Each swap or drop lists who was offered the shift and each acceptance status, not only the final holder.
OpenShift takers identified
Each OpenShift shows who took it and, where approval applied, who else asked for it.
Publish times on shifts
A publish date on each shift separates edits made before staff saw the schedule from changes after.
Clocked entries told from keyed ones
Each time entry keeps its creator, last modifier and punch method.
Deleted schedules and sites still resolve
The key table includes schedules and job sites flagged deleted, so old shifts still resolve.
Process
When I Work dataset
Swaps, drops and OpenShifts show how a schedule was renegotiated
When I Work's API names differ from its screens. The Location record is what the app calls a schedule, a Site is a job site inside one, and a Position is a role. A Shift is one row for one user, with times, unpaid break time, notes and a published flag. Staff see shifts only after a publish, so the publish date marks the moment a plan became a commitment. An OpenShift is a Shift whose user ID is zero, with an instances count, so one row can stand for several openings of a slot.
The distinctive records come after the publish, because When I Work lets employees trade work among themselves. The API calls the record a Swap. A swap offers a shift in exchange for a coworker's shift, and a drop releases it for a coworker to pick up. The record names the shift, who started the request, an acceptance status for each coworker it reached, and an overall status of pending, approved, declined, completed, canceled or expired. Where an OpenShift requires approval, an approval request lists every user who asked for it. A delivery can therefore hold the offers that were declined and the trades a manager refused, beside the table of who finally worked.
A Shift row is its current state, so once a drop completes, only the Swap says who held the shift first. A manager who reassigns a shift directly leaves no Swap. That change shows only in the shift's history, which the API serves one shift at a time as events such as created, published, reassigned, taken and time changed. Whether a trade needs a manager's approval is an account setting, so an approved swap is a judgment only where approval was required.
Shifts and time entries are separate records
Scheduling and attendance are separate parts of When I Work, and an account can run the first without the second. Where the time clock is in use, each clock-in creates a time entry, which the API calls a Time, with its own start, end, length, notes and approval flag and the ID of the Shift it was clocked against, or zero when there was none. A shift with no entry is how a no-show appears, but it is also how a salaried manager, or a period before the time clock was adopted, appears. The User record marks hourly and salaried staff, and a Shift can carry a flag saying a manager approved it without a time entry.
The API returns each object from its own endpoint, so an extract of Shifts alone holds no attendance, and a payroll timesheet spreadsheet may not keep the shift ID. A Time holds its current values, and its creator and last modifier fields tell a clocked entry from one a manager keyed or changed. Where rounding is switched on, the entry carries rounded start and end times beside the clocked ones. Ask whether breaks were punched or applied from a set length, and whether an entry's length counts unpaid breaks.
Test a sample on one schedule and two pay periods. Join time entries to shifts on the shift ID and count the unmatched rows on each side. Plot clock-in minus shift start: a spike at exactly zero suggests keyed entries, or rounded times delivered in place of clocked ones. For shifts that changed hands through a swap, check that the time entry belongs to the final holder.
What to check before licensing
- Have the data owner and your counsel read When I Work's terms on exported data and API use before agreeing a permitted use.
- Confirm the extract includes Time Entries with their Shift IDs as well as Shifts, and ask from what date the account used the time clock.
- Ask for Swap records with every coworker's acceptance status and the final status, and for OpenShift approval requests, not only shifts as finally assigned.
- Ask which account settings applied to swaps, drops and OpenShift pickups, including whether manager approval was required, and when they changed.
- Verify that employee names, emails, phone numbers, employee codes and hourly rates are removed from User, Shift and Time records, and that user keys stay stable across objects.
- Ask how punch coordinates, IP addresses, any terminal photos and any biometric clock-in data were excluded, and search the sample for coordinates and file references.
- Read shift notes and the messages on swap and time off requests in the sample for names and health details, and ask whether team chat was excluded.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
What does a When I Work dataset show that a published schedule does not?
It shows how the schedule changed after staff saw it. Beside each shift, When I Work holds swap and drop requests with the coworkers who were offered the shift and how each answered, OpenShifts with who took them, and the manager's approval where the account required one. A published schedule is the plan, and these records are the trades that changed it.
Can scheduled hours be compared with worked hours?
Yes, where the account used the time clock. A time entry is a separate record that carries the ID of the shift it was clocked against, so lateness, early finishes and overruns come from a join. Ask for both objects over the same dates, and ask how the supplier reads a shift with no entry, which can be a no-show or a day nobody clocked.
Does When I Work keep earlier versions of a shift?
Not in the shift record itself. A Shift row holds its current times, user and published flag. The history is kept apart: the API serves it one shift at a time, as events such as created, published, reassigned, taken and time changed, and swaps and drops leave their own records. Ask whether the supplier pulled the per-shift history.
Are availability preferences rules the schedule obeyed?
No, they are preferences. Employees mark times as preferred or unavailable, and the record does not say whether the schedule honored them, so count the shifts in the sample that sit inside an unavailable time. Availability arrives as events with a start, a recurrence rule and an optional end date. Ask whether patterns that ended or were deleted are still in the extract.
Are wage rates, location points or clock-in photos included?
They should not be, and you should check. User and Time records carry an hourly rate, and a punch can carry latitude, longitude, an IP address and the method used. Ask whether the terminal captured photos or the account used any biometric clock-in. Search the sample for leftover coordinates and rate fields, since no de-identification method is perfect.
Is SourceX affiliated with When I Work?
When I Work is named to identify the system the records come from. That does not imply a partnership with or endorsement by When I Work. The records belong to the business that runs When I Work, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Timesheets and shift scheduling records
Published rosters, the changes made to them, clock events, timesheet edits and approvals, with rule sets
- Deputy roster and timesheet records
Rosters, timesheets, costed pay-rule lines, leave, availability, swaps and sales data from a business's Deputy account
- Homebase schedules and timecards
Shifts, time cards with breaks and tips, availability, time off, shift trades and synced sales totals from a business's Homebase account
- 7shifts restaurant scheduling and labor records
Shifts, time punches, availability, shift pool activity, log book posts and daily sales and labor from a restaurant's 7shifts account
- QuickBooks Time timesheet records
Timesheets, the jobcode tree, custom fields, schedule events and time-off requests from one business's QuickBooks Time account
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.