When I Work · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for When I Work API Documentation Times API

6 actions 6 updates phrasing extends openapi/when-i-work-times-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 6

$.info
$.paths['/2/times'].get
$.paths['/2/times'].post
$.paths['/2/times/{id}'].get
$.paths['/2/times/{id}'].put
$.paths['/2/times/{id}'].delete

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 Times API
  version: 1.0.0
extends: openapi/when-i-work-times-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: 5
- target: $.paths['/2/times'].get
  update:
    x-apievangelist-phrasing:
      intent: List timesheets
      effect: read
      questions:
      - How do I list all shifts for a given date range?
      - Can I list only open timesheets that have no end time yet?
      - Which timesheets were updated after a certain timestamp?
      instructions:
      - text: List timesheets between {start} and {end}.
        slots:
          start: query.start
          end: query.end
      - text: Show only open timesheets for user {user_id}.
        slots:
          user_id: query.user_id
      - text: List timesheets updated since {updated_at}.
        slots:
          updated_at: query.updated_at
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/times'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a timesheet entry
      effect: write
      questions:
      - How do I record a shift for an employee?
      - Can I record cash tips on a timesheet entry?
      instructions:
      - text: Create a timesheet for user {user_id} starting at {start_time}.
        slots:
          user_id: requestBody.user_id
          start_time: requestBody.start_time
      - text: Record {cash_tips} in cash tips on a timesheet for {user_id}.
        slots:
          cash_tips: requestBody.cash_tips
          user_id: requestBody.user_id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/times/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a timesheet entry
      effect: read
      questions:
      - How do I look up one timesheet entry by ID?
      - What start and end times does a specific timesheet have?
      instructions:
      - text: Get timesheet {id}.
        slots:
          id: path.id
      - text: Show the start and end times of timesheet {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/times/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a timesheet entry
      effect: write
      questions:
      - How do I correct the end time on a timesheet?
      - Can I approve a timesheet entry after it's recorded?
      instructions:
      - text: Set the end time of timesheet {id} to {end_time}.
        slots:
          id: path.id
          end_time: requestBody.end_time
      - text: Approve timesheet {id} by setting is_approved to {is_approved}.
        slots:
          id: path.id
          is_approved: requestBody.is_approved
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/times/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a timesheet entry
      effect: destructive
      questions:
      - How do I remove a timesheet entry I no longer need?
      - Is deleting a timesheet entry permanent?
      instructions:
      - text: Delete timesheet {id}.
        slots:
          id: path.id
      - text: Remove the timesheet entry {id} from payroll.
        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-times-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.