---
title: "Get All Jobs"
method: GET
path: "/query/jobs"
tags: ["QUERIES"]
---

# Get All Jobs

`GET /query/jobs`

## Query parameters

- `limit` integer, nullable
- `sort_key` string, nullable
- `sort_order` string, nullable
- `annualized_cost` number, nullable
- `warehouses` string[], nullable
- `job_id` string, nullable
- `auto_tune` boolean, nullable
- `environments` string[], nullable
- `page` integer — Page number
- `size` integer — Page size

## Headers

- `x-tenant` string, required

## Response `200`

Successful Response

- PageQueryJobProcessedResponse
  - `items` QueryJobProcessedResponse[], required
    - `job_id` string, required
    - `job_name` string, nullable
    - `number_of_runs` integer, nullable
    - `annualized_cost` string, nullable
    - `number_of_steps` integer, nullable
    - `warehouses` string[], nullable
    - `insights` string[], nullable
    - `avg_total_execution_time` string, nullable
    - `median_total_execution_time` string, nullable
    - `max_total_execution_time` string, nullable
    - `p90_total_execution_time` string, nullable
    - `job_frequency` string, nullable
    - `environment` string, nullable
    - `avg_local_spill` string, nullable
    - `avg_remote_spill` string, nullable
  - `total` integer, nullable, required
  - `page` integer, nullable, required
  - `size` integer, nullable, required
  - `pages` integer, nullable

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/103580dad816/schema)
