---
title: "List a schedule's availability rows"
description: "Returns the schedule with all availability rows (weekly rules and date overrides) embedded — the same shape as getSchedule."
api_method: GET
api_path: "/v1/schedules/{scheduleId}/availability"
canonical_url: https://wiblo.app/docs/developers/api/schedules/get-schedule-availability
last_updated: 2026-07-28T18:08:25+02:00
md_url: https://wiblo.app/docs/developers/api/schedules/get-schedule-availability.md
---

# List a schedule's availability rows

`GET /v1/schedules/{scheduleId}/availability`

Returns the schedule with all availability rows (weekly rules and date overrides) embedded — the same shape as `getSchedule`. Per-user rate-limited at 60/60s.

## Path parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `scheduleId` | `string` | Yes |  |

## Headers

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `X-Wiblo-Workspace` | `string` | Yes | Workspace id the call is scoped to. The actor must hold an active membership in it; a foreign or unknown id collapses onto 404 WORKSPACE_NOT_FOUND. |

## Request

**curl**

```bash
curl https://api.wiblo.app/v1/schedules/e6a91c4d-2b7f-4a3e-8d5c-1f9b3e7a5c2d/availability \
  -H "Authorization: Bearer $WIBLO_TOKEN" \
  -H "X-Wiblo-Workspace: $WIBLO_WORKSPACE_ID"
```

**TypeScript**

```ts
import { createSdk, getScheduleAvailability } from "@workspace/sdk"

const sdk = createSdk({ baseUrl: "https://api.wiblo.app" })

const { data, error } = await getScheduleAvailability({
  client: sdk,
  path: { scheduleId: "e6a91c4d-2b7f-4a3e-8d5c-1f9b3e7a5c2d" },
  headers: { "X-Wiblo-Workspace": "..." },
})
```

## Example response

```json
{
  "id": "e6a91c4d-2b7f-4a3e-8d5c-1f9b3e7a5c2d",
  "workspace_id": "9c1b7e24-6a3f-4d58-b2e9-0f4a8c6d1e37",
  "member_id": "5f2d8c1b-7e4a-4b9d-a6c3-1d8e5f2a7b4c",
  "service_id": null,
  "resource_id": null,
  "name": "Weekday hours",
  "timezone": "Europe/London",
  "is_default": true,
  "availability": [
    {
      "id": "b2d74f8e-1c5a-4d9b-a3e7-6c8f2b4d9e1a",
      "workspace_id": "9c1b7e24-6a3f-4d58-b2e9-0f4a8c6d1e37",
      "schedule_id": "e6a91c4d-2b7f-4a3e-8d5c-1f9b3e7a5c2d",
      "days": [
        1,
        2,
        3,
        4,
        5
      ],
      "start_time": "09:00:00",
      "end_time": "17:00:00",
      "date": null,
      "created_at": "2026-08-03T09:15:00.000Z",
      "updated_at": "2026-08-03T09:15:00.000Z"
    },
    {
      "id": "a9e35d7c-4f2b-4e8a-9c6d-5b1e8a3f7d2c",
      "workspace_id": "9c1b7e24-6a3f-4d58-b2e9-0f4a8c6d1e37",
      "schedule_id": "e6a91c4d-2b7f-4a3e-8d5c-1f9b3e7a5c2d",
      "days": [],
      "start_time": "10:00:00",
      "end_time": "13:00:00",
      "date": "2026-09-04",
      "created_at": "2026-08-17T14:30:00.000Z",
      "updated_at": "2026-08-17T14:30:00.000Z"
    },
    {
      "id": "f4c82e6b-9d1a-4c5e-b7a3-2e6d8f4a1c9b",
      "workspace_id": "9c1b7e24-6a3f-4d58-b2e9-0f4a8c6d1e37",
      "schedule_id": "e6a91c4d-2b7f-4a3e-8d5c-1f9b3e7a5c2d",
      "days": [],
      "start_time": "00:00:00",
      "end_time": "00:00:00",
      "date": "2026-08-31",
      "created_at": "2026-08-17T14:35:00.000Z",
      "updated_at": "2026-08-17T14:35:00.000Z"
    }
  ],
  "created_at": "2026-08-03T09:15:00.000Z",
  "updated_at": "2026-08-03T09:15:00.000Z"
}
```

## Responses

**`200`** — The schedule with availability rows. Returns `ScheduleResponse`.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | Unique id of the schedule. |
| `workspace_id` | `string` | Yes | Workspace the schedule belongs to. |
| `member_id` | `string \| null` | Yes | Owning workspace member; `null` unless member-owned. Exactly one of the three owner ids is non-null. |
| `service_id` | `string \| null` | Yes | Owning service; `null` unless service-owned. |
| `resource_id` | `string \| null` | Yes | Owning resource; `null` unless resource-owned. |
| `name` | `string` | Yes | Display name of the schedule. |
| `timezone` | `string` | Yes | IANA time zone the schedule's times are interpreted in. |
| `is_default` | `boolean` | Yes | Whether this is the owning member's default schedule; always `false` on service/resource schedules. |
| `availability` | `array<AvailabilityRowResponse>` | Yes | All availability rows — weekly rules and date overrides. |
| `created_at` | `string` | Yes | Creation timestamp (RFC 3339). |
| `updated_at` | `string` | Yes | Last-update timestamp (RFC 3339). |

**`401`** — No valid session cookie or `wbl_*` bearer was present. Returns `ApiErrorEnvelope`.

**`404`** — No schedule visible with this id (`SCHEDULE_NOT_FOUND`). Returns `ApiErrorEnvelope`.

**`422`** — Path param failed UUID validation (`INVALID_PARAMS`). Returns `ApiErrorEnvelope`.

**`429`** — Rate limit exceeded. The body's `error.code` is `RATE_LIMITED` and `error.details.retry_after` is the same number of seconds as the `Retry-After` header. Returns `ApiErrorEnvelope`.

### The AvailabilityRowResponse object

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | Unique id of the availability row. |
| `workspace_id` | `string` | Yes | Workspace the row belongs to. |
| `schedule_id` | `string` | Yes | Schedule the row belongs to. |
| `days` | `array<integer>` | Yes | Days of week (`0`–`6`, `0` = Sunday) for weekly rules; `[]` on date-override rows. |
| `start_time` | `string` | Yes | Window start as `HH:mm:ss` (responses carry seconds; requests send `HH:mm`). |
| `end_time` | `string` | Yes | Window end as `HH:mm:ss`; a `00:00:00`/`00:00:00` pair is the day-off sentinel. |
| `date` | `string \| null` | Yes | Date the override row pins (`YYYY-MM-DD`); `null` on weekly rules. |
| `created_at` | `string` | Yes | Creation timestamp (RFC 3339). |
| `updated_at` | `string` | Yes | Last-update timestamp (RFC 3339). |
