---
title: "Changes to POST /api/agent/v2/construct-query"
method: POST
path: "/api/agent/v2/construct-query"
---

# Changes to POST /api/agent/v2/construct-query

`POST /api/agent/v2/construct-query`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 19 revisions.

- **2026-11-04** `2e178f5a7934`: 1 breaking, 2 info
- **2026-05-22** `b1dc4ea67567`: 1 info

## Changes

- **2026-11-04** `2e178f5a7934`: 1 breaking, 2 info
  - the `query` request property type changed from no type to `object`
  - added the new optional request property `prompt`
  - added the optional property `prompt` to the response with the `2XX` status
- **2026-05-22** `b1dc4ea67567`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/metabase/apis/metabase-api/docs/api/agent/v2/construct-query/post.md) - [API](https://skmtc.dev/metabase/apis/metabase-api.md) - [Page](https://skmtc.dev/metabase/apis/metabase-api/changes/api/agent/v2/construct-query/post)
