---
title: "List executions across all users (admin only)."
method: GET
path: "/admin/scheduled_tasks/executions"
tags: ["Scheduled Tasks"]
---

# List executions across all users (admin only).

`GET /admin/scheduled_tasks/executions`

## Request

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

## Query parameters

- `task_id` string
- `offset` integer
- `limit` integer

## Response `200`

OK

- ScheduledTaskExecutionList
  - `items` ScheduledTaskExecution[]
    - `id` string, uuid
    - `scheduled_task_id` string, uuid
    - `user_id` string, uuid
    - `status` 'running' | 'completed' | 'failed' | 'cancelled'
    - `trigger_source` 'scheduled' | 'manual', nullable
    - `task_name` string, nullable
    - `username` string, nullable
    - `started_at` string, date-time, nullable
    - `completed_at` string, date-time, nullable
    - `chat_session_id` string, uuid, nullable
    - `result_summary` string, nullable
    - `error_message` string, nullable
    - `created_at` string, date-time
  - `total` integer

## Other responses

- `401`: Unauthorized - Invalid or missing API key
- `403`: Forbidden
- `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)
