When I Work · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for When I Work API Documentation Shift Breaks API

7 actions 7 updates phrasing extends openapi/when-i-work-shift-breaks-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for When I Work's API. It is a proposal applied on top of the contract, not a document When I Work publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/v3/scheduled-breaks'].get
$.paths['/v3/shift-breaks'].get
$.paths['/v3/shift-breaks'].post
$.paths['/v3/shift-breaks/{id}'].get
$.paths['/v3/shift-breaks/{id}'].delete
$.paths['/v3/shift-breaks/{id}'].patch

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for When I Work API Documentation Shift Breaks API
  version: 1.0.0
extends: openapi/when-i-work-shift-breaks-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/v3/scheduled-breaks'].get
  update:
    x-apievangelist-phrasing:
      intent: List scheduled shift breaks
      effect: read
      questions:
      - Which breaks are scheduled for a shift?
      - Can I list only the scheduled breaks for one employee?
      instructions:
      - text: List scheduled breaks for shift {shiftId}.
        slots:
          shiftId: query.shiftId
      - text: Show scheduled breaks for user {userId}.
        slots:
          userId: query.userId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v3/shift-breaks'].get
  update:
    x-apievangelist-phrasing:
      intent: List actual shift breaks
      effect: read
      questions:
      - What breaks did an employee actually clock in for?
      - Can I see only the breaks that have ended?
      instructions:
      - text: List actual breaks for shift {shiftId}.
        slots:
          shiftId: query.shiftId
      - text: Show breaks for user {userId} that ended {ended}.
        slots:
          userId: query.userId
          ended: query.ended
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v3/shift-breaks'].post
  update:
    x-apievangelist-phrasing:
      intent: Record an actual shift break
      effect: write
      questions:
      - How do I record that an employee actually took a break?
      - Can I record a paid or unpaid break?
      instructions:
      - text: Record break {timeId} starting at {start} for {length} minutes.
        slots:
          timeId: requestBody.timeId
          start: requestBody.start
          length: requestBody.length
      - text: Log a {type} break {timeId}.
        slots:
          type: requestBody.type
          timeId: requestBody.timeId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v3/shift-breaks/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one actual shift break
      effect: read
      questions:
      - What are the start, end and length of a specific break?
      - Can I look up one break by its ID?
      instructions:
      - text: Get shift break {id}.
        slots:
          id: path.id
      - text: Show the details of break {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v3/shift-breaks/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an actual shift break
      effect: destructive
      questions:
      - How do I remove a break an employee clocked in for by mistake?
      - Can I delete a single break record?
      instructions:
      - text: Delete shift break {id}.
        slots:
          id: path.id
      - text: Remove the break record {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/v3/shift-breaks/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an actual shift break
      effect: write
      questions:
      - Can I edit a break that was already recorded?
      - How do I correct the length of a break?
      instructions:
      - text: Update shift break {id}.
        slots:
          id: path.id
      - text: Correct the break record {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/when-i-work-shift-breaks-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.