Deputy Shifts API

The Shifts API from Deputy — 34 operation(s) for shifts.

GitHub OpenAPI
Business capability
Human Capital Management BC-300

Operations 37

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /management/v2/shifts List shifts for an employee · Retrieve list of shifts #
Ask an LLM
“How do I see all shifts assigned to one employee?”
“Can I list shifts for a date range?”
Tell an agent
List shifts for employee {employee}.
Show shifts for {employee} between {start} and {end}.
POST /management/v2/shifts Create a shift · Create a new shift #
Ask an LLM
“How do I add a new shift for an employee?”
“What fields are required to create a shift?”
Tell an agent
Create a shift {shift}.
Add a new shift with override settings {override}.
POST /management/v2/shifts/bids:status Decline a shift bid · decline a shift #
Ask an LLM
“How do I decline a shift I was invited to?”
“Can I decline several shift bids at once?”
Tell an agent
Decline shift bids {shifts} for employee {employee} with status {status}.
Decline my shift bid {shifts} as {status}.
GET /management/v2/shifts/copy/job/{jobId} Check a shift copy job · Get copy status #
Ask an LLM
“Has my batch of copied shifts finished?”
“How many shifts failed to copy in a copy job?”
Tell an agent
Get the status of copy job {jobId}.
Check how many shifts copied in job {jobId}.
POST /management/v2/shifts/open/pending-approvals List open shifts pending approval · Get pending approval open shifts #
Ask an LLM
“Which open shifts are waiting for my approval?”
“Can I filter pending approval open shifts by location?”
Tell an agent
List open shifts pending approval.
Show pending approval open shifts at locations {locationIds} between {start} and {end}.
GET /management/v2/shifts/{id} Get a shift · Retrieve shift data by given Id #
Ask an LLM
“What are the start and end times of a shift?”
“Can I see one shift's details?”
Tell an agent
Get shift {id}.
Show shift {id} with metadata expanded.
DELETE /management/v2/shifts/{id} Delete a shift · Delete an existing shift #
Ask an LLM
“How do I remove a shift from the schedule?”
“Can I delete a shift by its ID?”
Tell an agent destructive · confirm first
Delete shift {id}.
Remove shift {id} from the schedule.
PUT /management/v2/shifts/{id} Update a shift · Update an existing shift #
Ask an LLM
“How do I change the start time of an existing shift?”
“Can I edit a shift with an override?”
Tell an agent
Update shift {id} with {shift}.
Edit shift {id} using override {override}.
GET /management/v2/shifts/{id}/bids:statusCounts Count bids on a shift · get the bid count for each status #
Ask an LLM
“How many employees have bid on a shift?”
“What does the bid status breakdown look like for a shift?”
Tell an agent
Get bid status counts for shift {id}.
Show how many bids each status has on shift {id}.
GET /management/v2/shifts/{id}/history Get a shift's change history · Get shift history #
Ask an LLM
“Who changed a shift and when?”
“Can I see the edit history of a shift?”
Tell an agent
Get the history of shift {id}.
Show who edited shift {id} and when.
GET /management/v2/shifts/{id}/log Get a shift's log · Get shift log new #
Ask an LLM
“What actions have been logged against a shift?”
“Can I read the shift log?”
Tell an agent
Get the log for shift {id}.
Show the action log on shift {id}.
POST /management/v2/shifts/{id}/open:deleteInvitations Withdraw open shift invitations · delete open shift invitations #
Ask an LLM
“How do I withdraw invitations sent to specific employees on an open shift?”
“Can I revoke open shift invites for certain staff?”
Tell an agent destructive · confirm first
Delete open shift invitations on shift {id} for employees {employees}.
Withdraw open shift invites on {id} for {employees}.
GET /management/v2/shifts/{id}/open:invitations List open shift invitations · get open shift invitation list #
Ask an LLM
“Which employees have been invited to an open shift?”
“Can I see the open shift invitation list?”
Tell an agent
Get the open shift invitation list for shift {id}.
Show who was invited to open shift {id}.
POST /management/v2/shifts/{id}/open:status Accept or decline an open shift · Accept/decline an open shift #
Ask an LLM
“How do I accept an open shift I was invited to?”
“Can I decline an open shift bid?”
Tell an agent
Set the status of open shift {id} to {status}.
Accept open shift {id} with status {status}.
GET /management/v2/shifts/{id}/open:statusCounts Count open statuses on a shift · get count for each status in find replacement, open shift #
Ask an LLM
“How many open status requests are waiting for a substitute shift?”
“Can I see the status counts for an open shift?”
Tell an agent
Get the open status counts for shift {id}.
Count find-replacement requests on open shift {id}.
GET /management/v2/shifts/{id}/permissions Get shift permissions · Get shift permissions #
Ask an LLM
“What can I offer, swap or cancel on a shift?”
“Can I check the permissions for a shift?”
Tell an agent
Get the permissions for shift {id}.
Show who is allowed to offer, swap or cancel shift {id}.
POST /management/v2/shifts/{id}/suggestions Get suggestions for a shift · Get suggestions for a shift #
Ask an LLM
“Can I get suggestions for a shift?”
“What does the shift suggestion endpoint return?”
Tell an agent
Get suggestions for shift {id}.
Suggest staff for shift {id}.
POST /management/v2/shifts/{id}:calculateCost Calculate a shift's cost · Get potential costs for a shift given a list of employee ids #
Ask an LLM
“How much would a shift cost with a given list of staff?”
“Can I estimate a shift's potential cost?”
Tell an agent
Calculate the potential cost of shift {id} for these staff.
Estimate the cost of shift {id} for a list of employee IDs.
GET /management/v2/shifts:aggregated List shifts aggregated by date · Retrieve an aggregated list of shifts #
Ask an LLM
“Can I get shifts grouped by day or week?”
“How do I list shifts for an employee across a date range?”
Tell an agent
List shifts for employee {employee} aggregated by {frequency}.
Show shifts for {employee} from {start} to {end}.
POST /management/v2/shifts:autobuild Auto-build shifts from history · Auto-build shifts (Asynchronous) #
Ask an LLM
“How do I generate shifts automatically from past patterns?”
“Can I auto-build shifts for a date range and areas?”
Tell an agent
Auto-build shifts for areas {areaIds} from {startDate} to {endDate}.
Generate shift templates for {weeksOfHistory} weeks of history.
POST /management/v2/shifts:autofill Auto-fill open shifts with staff · Auto-fill shifts (Asynchronous) #
Ask an LLM
“Can Deputy automatically staff open shifts using a genetic algorithm?”
“What does autofill optimize for, like cost and workload equality?”
Tell an agent
Auto-fill open shifts {shiftIds}.
Optimize staff assignment for shifts {shiftIds} across employees {employeeIds}.
POST /management/v2/shifts:bulk Create or update many shifts at once · Bulk create or update shifts (asynchronous) #
Ask an LLM
“How do I create or update a batch of shifts in one call?”
“Will shifts without an ID be created and ones with an ID updated?”
Tell an agent
Bulk upsert shifts {items}.
Upsert shifts {items} and skip counting child shifts: {skipCountChildren}.
POST /management/v2/shifts:bulkDefaults Get default shift skeletons for dates and areas · Get default shifts for many dates and areas #
Ask an LLM
“What default shift skeleton would be created for each date and area?”
“Can I get default shifts for a list of dates and areas?”
Tell an agent
Get default shift skeletons for dates {dates} and areas {areas}.
Build default shift templates for {dates} in areas {areas}.
POST /management/v2/shifts:bulkDelete Delete many shifts at once · Bulk delete shifts (asynchronous) #
Ask an LLM
“How do I delete a batch of shifts in the background?”
“Can I bypass validation when bulk deleting shifts?”
Tell an agent destructive · confirm first
Bulk delete these shifts.
Delete the selected shifts in one background job.
POST /management/v2/shifts:bulkPatch Partially update many shifts · Bulk patch shifts (asynchronous) #
Ask an LLM
“Can I change just the employee on a batch of shifts?”
“Which fields can I update on several shifts in one call?”
Tell an agent
Patch shifts {data} with fields {patchMask}.
Partially update shifts {data} using patch mask {patchMask}.
POST /management/v2/shifts:bulkUpdate Update many shifts with field masks · Bulk update shifts (asynchronous) #
Ask an LLM
“Can I update only certain fields on a batch of shifts?”
“Which field masks are supported when bulk updating shifts?”
Tell an agent
Bulk update shifts {shifts} with field masks {fieldMasks}.
Apply field masks {fieldMasks} to shifts {shifts}.
POST /management/v2/shifts:copy Copy shifts to new dates · Copy shifts (asynchronous) #
Ask an LLM
“Can I copy shifts to a range of target dates?”
“Can I copy specific shift IDs to other dates?”
Tell an agent
Copy shifts {shiftIds} to target dates {targetDates}.
Copy shifts {shiftIds} offset by {dayOffsets} days.
POST /management/v2/shifts:defaults Get a default shift skeleton for a date · Get default shifts #
Ask an LLM
“What does a default shift look like for a date, start and end time in an area?”
“Can I get a skeleton shift with breaks filled in for one area?”
Tell an agent
Get the default shift skeleton for {date} from {start} to {end} in area {area}.
Build a default shift for {date} in area {area} starting {start}, ending {end}.
POST /management/v2/shifts:delete Delete a shift with compliance override options · Delete shift #
Ask an LLM
“How do I delete a shift while passing compliance override settings?”
“Can I skip compliance validation when deleting a single shift?”
Tell an agent destructive · confirm first
Delete shift {id} using the delete-with-parameters action.
Delete shift {id} and apply compliance override settings {override}.
POST /management/v2/shifts:getRosters Get published shift rosters for a period · manager to get rosters; replacement of v1 getRosters #
Ask an LLM
“Can I get published rosters for a date range?”
“Can I include employee photos and metadata when fetching rosters?”
Tell an agent
Get rosters from {start} to {end}.
Get rosters for locations {locationIds} from {start} to {end}.
POST /management/v2/shifts:open List open shifts · Get open shifts #
Ask an LLM
“Which shifts are still open for staff to take?”
“Can I list open shifts for one employee?”
Tell an agent
List open shifts.
List open shifts for employee {employee} from {start} to {end}.
POST /management/v2/shifts:publish Publish shifts to staff · Publish shifts (asynchronous) #
Ask an LLM
“How do I publish shifts so staff can see them?”
“Can I choose whether to notify staff when shifts are published?”
Tell an agent
Publish shifts {shiftIds}.
Publish shifts {shiftIds} with notification mode {notificationMode}.
POST /management/v2/shifts:resave Resave shifts · Resave shifts (Asynchronous) #
Ask an LLM
“Can I resave shifts so they are reprocessed?”
“Does resaving return the shifts that were resaved?”
Tell an agent
Resave shifts {shifts}.
Reprocess the shifts {shifts} in the background.
POST /management/v2/shifts:split Split a shift into several · Split #
Ask an LLM
“Can I split one shift into multiple shifts?”
“What does a split shift need, like new shift times?”
Tell an agent
Split shift {sourceShiftId} into {newShifts}.
Split shift {sourceShiftId} with override {override}.
POST /management/v2/shifts:validate Validate external shifts · Validate external shifts #
Ask an LLM
“Can I check external shifts before importing them?”
“What does validating external shifts return?”
Tell an agent
Validate external shifts {shifts}.
Check these imported shifts {shifts} for validity.
POST /schedule/v2/me/shifts:search Get my own schedule · My schedule #
Ask an LLM
“What shifts are in my schedule?”
“Can I see my schedule for a date range?”
Tell an agent
Show my schedule from {start} to {end}.
Show my schedule for locations {locationIds}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/deputy:deputy-shifts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

deputy-shifts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Deputy V2 Shifts API
  version: '1.0'
  description: Filtered to publicly-authenticated routes only (APIAuthenticator). Scoped-OAuth routes and internal JWT routes are excluded — see the separate "Deputy V2 Scoped API" spec for scoped endpoints.
servers:
- url: https://{subdomain}.{region}.deputy.com/api
  description: Deputy tenant
  variables:
    subdomain:
      default: your-subdomain
      description: Your Deputy tenant subdomain
    region:
      default: deputy
      enum:
      - au
      - eu
      - na
      - deputy
      description: 'Deputy region: au, eu, na, or deputy (AU default)'
security:
- ApiToken: []
tags:


# --- truncated at 32 KB (147 KB total) ---
# Full source: https://artifacts.apis.io/deputy/openapi/deputy-shifts-api-openapi.yml