---
title: "Post Compare Snowflake Job Runs"
method: POST
path: "/query/v2/snowflake_jobs/compare"
tags: ["QUERIES_V2"]
---

# Post Compare Snowflake Job Runs

`POST /query/v2/snowflake_jobs/compare`

## Query parameters

- `start_date` string, date-time
- `end_date` string, date-time

## Headers

- `x-tenant` string, required

## Request body

- SnowflakeJobRunCompareRequest
  - `workflow_id` string, required
  - `run1_id` string, required
  - `run2_id` string, required

## Response `200`

Successful Response

- RunDiff[]
  - `type` string, required
  - `task_id` string, required
  - `run1` TaskInfo, required
    - `execution_time` number, nullable
    - `query_cost` number, nullable
    - `execution_status` string, nullable
    - `error_message` string, nullable
    - `warehouse_name` string, nullable
    - `warehouse_size` string, nullable
    - `query_hash` string, nullable
  - `run2` TaskInfo, required
    - `execution_time` number, nullable
    - `query_cost` number, nullable
    - `execution_status` string, nullable
    - `error_message` string, nullable
    - `warehouse_name` string, nullable
    - `warehouse_size` string, nullable
    - `query_hash` string, nullable

## Other responses

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

## Changes

- **2026-09-02** `fcb62c79da95` — 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-08-27T15:28:29.550208` to `2026-09-01T16:56:41.618163`
  - for the `query` request parameter `start_date`, default value was changed from `2026-07-28T15:28:29.550160` to `2026-08-02T16:56:41.618085`
- **2026-08-30** `82206441f16e` — 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-08-27T15:28:29.523195` to `2026-08-27T15:28:29.550208`
  - for the `query` request parameter `start_date`, default value was changed from `2026-07-28T15:28:29.523147` to `2026-07-28T15:28:29.550160`
- **2026-08-29** `4e16bed5b3b0` — 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-08-27T15:28:49.853532` to `2026-08-27T15:28:29.523195`
  - for the `query` request parameter `start_date`, default value was changed from `2026-07-28T15:28:49.853438` to `2026-07-28T15:28:29.523147`
- **2026-08-28** `1c5434b4b4fd` — 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-08-27T15:28:47.253293` to `2026-08-27T15:28:49.853532`
  - for the `query` request parameter `start_date`, default value was changed from `2026-07-28T15:28:47.253194` to `2026-07-28T15:28:49.853438`
- …earlier changes not shown

[Full history](https://skmtc.dev/myaltimate/apis/fastapi/changes/query/v2/snowflake_jobs/compare/post.md)

---

[API](https://skmtc.dev/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.dev/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myaltimate/fastapi/revisions/fcb62c79da95/schema)
