---
title: "List connected scheduled tasks."
method: GET
path: "/ai_assistants/{assistant_id}/schedules"
tags: ["AI Assistants"]
---

# List connected scheduled tasks.

`GET /ai_assistants/{assistant_id}/schedules`

## Request

- Base URL: `https://h2ogpte.genai.h2o.ai/api/v1`
- URL: `https://h2ogpte.genai.h2o.ai/api/v1/ai_assistants/{assistant_id}/schedules`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/h2o/apis/h2ogpte-rest-api/docs/ai_assistants/:assistant_id/schedules/get.ts> (a function with typed inputs; its response is checked against the schema)

Supports optional `offset` and `limit` query parameters for pagination (default 0 and 100).

## Path parameters

- `assistant_id` string, required

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

Successful operation

- AiAssistantScheduleLink[]
  - `junction_id` string, uuid
  - `connected_at` string, date-time
  - `scheduled_task_id` string, uuid
  - `name` string
  - `description` string
  - `schedule_type` string
  - `schedule_expression` string
  - `task_type` string
  - `status` string
  - `last_execution_at` string, date-time
  - `next_execution_at` string, date-time
  - `execution_count` integer

## Other responses

- `401`: Unauthorized - Invalid or missing API key
- `default`: Unexpected error

---

[API](https://skmtc.dev/h2o/apis/h2ogpte-rest-api.md) - [All operations](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/h2o/apis/h2ogpte-rest-api/revisions/a82a117320f4?raw)
