---
title: "Changes to Run Query"
method: POST
path: "/api/connections/{connection_id}/query"
---

# Changes to Run Query

`POST /api/connections/{connection_id}/query`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 51 revisions.

- **2026-10-22** `d80b0fdea14e`: 1 breaking, 7 warning, 1 info
- **2026-10-21** `61c2b96f65ba`: 1 breaking, 6 info
- **2026-09-09** `9d2fc11e53ec`: 1 warning, 5 info

## Changes

- **2026-10-22** `d80b0fdea14e`: 1 breaking, 7 warning, 1 info
  - the `data` response's property type changed from `object` to no type for status `200`
  - removed the optional property `data/count` from the response with the `200` status
  - removed the optional property `data/error` from the response with the `200` status
  - removed the optional property `data/expires` from the response with the `200` status
  - removed the optional property `data/fields` from the response with the `200` status
  - removed the optional property `data/id` from the response with the `200` status
  - removed the optional property `data/results` from the response with the `200` status
  - removed the optional property `data/status` from the response with the `200` status
  - added `#/components/schemas/RunQueryResult` to the `data` response property `allOf` list for the response status `200`
- **2026-10-21** `61c2b96f65ba`: 1 breaking, 6 info
  - the `data/status` response's property type changed from `string` to no type for status `200`
  - added `#/components/schemas/QueryStatus` to the `data/status` response property `allOf` list for the response status `200`
  - removed the `created` enum value from the `data/status` response property for the response status `200`
  - removed the `done` enum value from the `data/status` response property for the response status `200`
  - removed the `failed` enum value from the `data/status` response property for the response status `200`
  - removed the `running` enum value from the `data/status` response property for the response status `200`
  - removed the `unknown` enum value from the `data/status` response property for the response status `200`
- **2026-09-09** `9d2fc11e53ec`: 1 warning, 5 info
  - added the new `unknown` enum value to the `data/status` response property for the response status `200`
  - added the new optional `header` request parameter `X-Polytomic-Activity-Request-ID`
  - added the new optional `header` request parameter `X-Polytomic-Harbor-Session`
  - added the non-success response with the status `403`
  - added the non-success response with the status `409`
  - added the non-success response with the status `503`

---

[Operation](https://skmtc.dev/polytomic/apis/polytomic-api/docs/api/connections/:connection_id/query/post.md) - [API](https://skmtc.dev/polytomic/apis/polytomic-api.md) - [Page](https://skmtc.dev/polytomic/apis/polytomic-api/changes/api/connections/:connection_id/query/post)
