---
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`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/query/v2/snowflake_jobs/compare`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## 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-10-31** `727657ce54e9`: 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-10-30T17:31:07.447088` to `2026-10-30T17:33:38.956052`
  - for the `query` request parameter `start_date`, default value was changed from `2026-09-30T17:31:07.447022` to `2026-09-30T17:33:38.955994`
- **2026-10-31** `6f0cdcf50d27`: 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-10-30T17:31:07.615235` to `2026-10-30T17:31:07.447088`
  - for the `query` request parameter `start_date`, default value was changed from `2026-09-30T17:31:07.615151` to `2026-09-30T17:31:07.447022`
- **2026-10-31** `53882d07cc69`: 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-10-30T17:31:07.697295` to `2026-10-30T17:31:07.615235`
  - for the `query` request parameter `start_date`, default value was changed from `2026-09-30T17:31:07.697106` to `2026-09-30T17:31:07.615151`
- **2026-10-31** `5f7fb68ade7a`: 2 breaking
  - for the `query` request parameter `end_date`, default value was changed from `2026-10-30T17:31:07.553505` to `2026-10-30T17:31:07.697295`
  - for the `query` request parameter `start_date`, default value was changed from `2026-09-30T17:31:07.553448` to `2026-09-30T17:31:07.697106`
- …earlier changes not shown

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

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
