--- title: schedule.openSlots | Doing Work API description: Times the shop marked open for its voice agent to book (upcoming only), and which are booked. Any worker in the shop can read it. url: https://doingwork.work/docs/reference/schedule-openslots/ --- # schedule.openSlots Times the shop marked open for its voice agent to book (upcoming only), and which are booked. Any worker in the shop can read it. | | | |---|---| | Who | Agents can call this | | REST | `GET /v1/schedule/open-slots` | | MCP tool | `schedule_openSlots` | | Writes | no | | Area | [Scheduling and visits](https://doingwork.work/docs/reference/#scheduling-and-visits) | ## When to use it Times the shop marked open for its voice agent to book (upcoming only), and which are booked. Any worker in the shop can read it. ## What to tell the owner Tell them what you found in plain words. Don't read back raw fields. ## Input | Field | Type | Required | |---|---|---| | `shop_id` | string (uuid) | yes | ## Example ```http GET https://doingwork.work/v1/schedule/open-slots?shop_id=00000000-0000-4000-8000-000000000000 ``` ## Output | Field | Type | Always there | |---|---|---| | `data` | array | yes | | `data[].slot_id` | string (uuid) | yes | | `data[].starts_at` | string (date-time) | yes | | `data[].ends_at` | string (date-time) | yes | | `data[].booked` | boolean | yes | | `data[].kind` | string (one of routine, emergency) | yes | | `data[].request_id` | ['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')'] | no | ```json { "data": [ { "slot_id": "00000000-0000-4000-8000-000000000000", "starts_at": "...", "ends_at": "...", "booked": true, "kind": "routine" } ] } ``` ## Errors | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |