Toast · Capability

Toast Labor API — Time entries

Toast Labor API — Time entries. 2 operations. Lead operation: Toast Get Time Entries. Self-contained Naftiko capability covering one Toast business surface.

Run with Naftiko ToastTime entries

What You Can Do

GET
Timeentriesget — Toast Get Time Entries
/v1/timeentries
GET
Timeentriestimeentryidget — Toast Get One Time Entry
/v1/timeentries/{timeentryid}

MCP Tools

toast-get-time-entries

Toast Get Time Entries

read-only idempotent
toast-get-one-time-entry

Toast Get One Time Entry

read-only idempotent

Capability Spec

labor-time-entries.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Toast Labor API — Time entries
  description: 'Toast Labor API — Time entries. 2 operations. Lead operation: Toast Get Time Entries. Self-contained Naftiko
    capability covering one Toast business surface.'
  tags:
  - Toast
  - Time entries
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TOAST_API_KEY: TOAST_API_KEY
capability:
  consumes:
  - type: http
    namespace: labor-time-entries
    baseUri: https://toast-api-server/labor/v1
    description: Toast Labor API — Time entries business capability. Self-contained, no shared references.
    resources:
    - name: timeEntries
      path: /timeEntries
      operations:
      - name: timeentriesget
        method: GET
        description: Toast Get Time Entries
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Toast-Restaurant-External-ID
          in: header
          type: string
          description: 'The Toast platform GUID of the restaurant that is the '
          required: true
        - name: timeEntryIds
          in: query
          type: array
          description: 'Optional array of one or more time entry identifiers, '
        - name: startDate
          in: query
          type: string
          description: 'Optional start date and time of time period to match time '
        - name: endDate
          in: query
          type: string
          description: 'Optional end date and time of time period to match time '
        - name: modifiedStartDate
          in: query
          type: string
          description: 'Start date and time of the time period to match modified '
        - name: modifiedEndDate
          in: query
          type: string
          description: 'End date and time of the time period to match modified time '
        - name: businessDate
          in: query
          type: string
          description: 'Optional date to match time entries. A time entry matches '
        - name: includeMissedBreaks
          in: query
          type: boolean
          description: 'Optional flag to indicate whether missed breaks should be '
        - name: includeArchived
          in: query
          type: boolean
          description: Controls whether the response includes archived time entries, when
    - name: timeEntries-timeEntryId
      path: /timeEntries/{timeEntryId}
      operations:
      - name: timeentriestimeentryidget
        method: GET
        description: Toast Get One Time Entry
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Toast-Restaurant-External-ID
          in: header
          type: string
          description: 'The Toast platform GUID of the restaurant that is the '
          required: true
        - name: timeEntryId
          in: path
          type: string
          description: 'The Toast platform GUID or an external identifier for the '
          required: true
        - name: includeMissedBreaks
          in: query
          type: boolean
          description: 'Optional flag to indicate whether missed breaks should be '
        - name: includeArchived
          in: query
          type: boolean
          description: Controls whether the response includes an archived time entry.
  exposes:
  - type: rest
    namespace: labor-time-entries-rest
    port: 8080
    description: REST adapter for Toast Labor API — Time entries. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/timeentries
      name: timeentries
      description: REST surface for timeEntries.
      operations:
      - method: GET
        name: timeentriesget
        description: Toast Get Time Entries
        call: labor-time-entries.timeentriesget
        with:
          Toast-Restaurant-External-ID: rest.Toast-Restaurant-External-ID
          timeEntryIds: rest.timeEntryIds
          startDate: rest.startDate
          endDate: rest.endDate
          modifiedStartDate: rest.modifiedStartDate
          modifiedEndDate: rest.modifiedEndDate
          businessDate: rest.businessDate
          includeMissedBreaks: rest.includeMissedBreaks
          includeArchived: rest.includeArchived
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/timeentries/{timeentryid}
      name: timeentries-timeentryid
      description: REST surface for timeEntries-timeEntryId.
      operations:
      - method: GET
        name: timeentriestimeentryidget
        description: Toast Get One Time Entry
        call: labor-time-entries.timeentriestimeentryidget
        with:
          Toast-Restaurant-External-ID: rest.Toast-Restaurant-External-ID
          timeEntryId: rest.timeEntryId
          includeMissedBreaks: rest.includeMissedBreaks
          includeArchived: rest.includeArchived
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: labor-time-entries-mcp
    port: 9090
    transport: http
    description: MCP adapter for Toast Labor API — Time entries. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: toast-get-time-entries
      description: Toast Get Time Entries
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: labor-time-entries.timeentriesget
      with:
        Toast-Restaurant-External-ID: tools.Toast-Restaurant-External-ID
        timeEntryIds: tools.timeEntryIds
        startDate: tools.startDate
        endDate: tools.endDate
        modifiedStartDate: tools.modifiedStartDate
        modifiedEndDate: tools.modifiedEndDate
        businessDate: tools.businessDate
        includeMissedBreaks: tools.includeMissedBreaks
        includeArchived: tools.includeArchived
      outputParameters:
      - type: object
        mapping: $.
    - name: toast-get-one-time-entry
      description: Toast Get One Time Entry
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: labor-time-entries.timeentriestimeentryidget
      with:
        Toast-Restaurant-External-ID: tools.Toast-Restaurant-External-ID
        timeEntryId: tools.timeEntryId
        includeMissedBreaks: tools.includeMissedBreaks
        includeArchived: tools.includeArchived
      outputParameters:
      - type: object
        mapping: $.