---
title: "Changes to Execute SQL query"
method: POST
path: "/sql"
---

# Changes to Execute SQL query

`POST /sql`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 27 revisions.

- **2026-10-20** `87ffe8f17fb9`: 1 info
- **2026-09-28** `54fcfc3aeb01`: 4 breaking
- **2026-09-01** `a59e9a153333`: 1 info
- **2026-08-10** `7fd383f5918c`: 4 info
- **2026-07-13** `ba27c6038636`: 1 info

## Changes

- **2026-10-20** `87ffe8f17fb9`: 1 info
  - added the non-success response with the status `503`
- **2026-09-28** `54fcfc3aeb01`: 4 breaking
  - the `oneOf[#/components/schemas/BatchResponse]/results/items/fields/items/dataTypeID` response's property format changed from `int32` to `int64` for status `200`
  - the `oneOf[#/components/schemas/BatchResponse]/results/items/fields/items/tableID` response's property format changed from `int32` to `int64` for status `200`
  - the `oneOf[#/components/schemas/QueryResult]/fields/items/dataTypeID` response's property format changed from `int32` to `int64` for status `200`
  - the `oneOf[#/components/schemas/QueryResult]/fields/items/tableID` response's property format changed from `int32` to `int64` for status `200`
- **2026-09-01** `a59e9a153333`: 1 info
  - removed the non-success response with the status `507`
- **2026-08-10** `7fd383f5918c`: 4 info
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `409`
  - added the non-success response with the status `413`
- **2026-07-13** `ba27c6038636`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/xata/apis/xata-api/docs/sql/post.md) - [API](https://skmtc.dev/xata/apis/xata-api.md) - [Page](https://skmtc.dev/xata/apis/xata-api/changes/sql/post)
