> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# List available time slots

> Lists bookable times for a TidyCal booking type.

`tidyCal.listAvailableTimeslots` lists availability for one booking type.

```ts automations/list-tidycal-timeslots.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { tidyCal } from "automate.ax/tidycal"

export default automation("List TidyCal availability", () => {
  onDashboardRun({ title: "List TidyCal availability" })
  tidyCal.listAvailableTimeslots({
    bookingTypeId: 123,
    startsAt: "2026-08-28T00:00:00Z",
    endsAt: "2026-08-29T00:00:00Z",
  })
})
```

Both bounds are required ISO date-times; TidyCal expects UTC. The result contains `items` with `startsAt`, `endsAt`, and `availableBookings`. Capacity matters for group booking types.
