---
title: "Changes to Edit Simple Query"
method: PUT
path: "/simple/queries/{query_id}"
---

# Changes to Edit Simple Query

`PUT /simple/queries/{query_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 101 revisions.

- **2026-08-03** `fc532d6dc820`: 12 info
- **2026-05-19** `a7f9a6823230`: 2 warning
- **2026-04-23** `925e8b901a26`: 2 info
- **2026-03-07** `20311f763505`: 6 info
- **2026-02-27** `8fcd55a5a656`: 1 info
- **2025-06-27** `e3e84db47198`: 1 breaking

## Changes

- **2026-08-03** `fc532d6dc820`: 12 info
  - added the new optional request property `query/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #1: SpansNode]/agent_id`
  - added the new optional request property `query/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #1: SpansNode]/session_id`
  - added the new optional request property `query/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #1: SpansNode]/user_id`
  - added the new optional request property `query/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #2]/items/agent_id`
  - added the new optional request property `query/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #2]/items/session_id`
  - added the new optional request property `query/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #2]/items/user_id`
  - added the optional property `query/anyOf[subschema #1: SimpleQuery]/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #1: SpansNode]/agent_id` to the response with the `200` status
  - added the optional property `query/anyOf[subschema #1: SimpleQuery]/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #1: SpansNode]/session_id` to the response with the `200` status
  - added the optional property `query/anyOf[subschema #1: SimpleQuery]/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #1: SpansNode]/user_id` to the response with the `200` status
  - added the optional property `query/anyOf[subschema #1: SimpleQuery]/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #2]/items/agent_id` to the response with the `200` status
  - added the optional property `query/anyOf[subschema #1: SimpleQuery]/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #2]/items/session_id` to the response with the `200` status
  - added the optional property `query/anyOf[subschema #1: SimpleQuery]/data/anyOf[subschema #1: QueryRevisionData]/traces/anyOf[subschema #1]/items/spans/anyOf[subschema #1]/additionalProperties/anyOf[subschema #2]/items/user_id` to the response with the `200` status
- **2026-05-19** `a7f9a6823230`: 2 warning
  - removed the optional property `support_id` from the response with the `200` status
  - removed the optional property `support_ts` from the response with the `200` status
- **2026-04-23** `925e8b901a26`: 2 info
  - added the optional property `support_id` to the response with the `200` status
  - added the optional property `support_ts` to the response with the `200` status
- **2026-03-07** `20311f763505`: 6 info
  - added the new optional request property `query/data/anyOf[subschema #1: QueryRevisionData]/formatting`
  - added the new optional request property `query/data/anyOf[subschema #1: QueryRevisionData]/trace_ids`
  - added the new optional request property `query/data/anyOf[subschema #1: QueryRevisionData]/traces`
  - added the optional property `query/anyOf[subschema #1: SimpleQuery]/data/anyOf[subschema #1: QueryRevisionData]/formatting` to the response with the `200` status
  - added the optional property `query/anyOf[subschema #1: SimpleQuery]/data/anyOf[subschema #1: QueryRevisionData]/trace_ids` to the response with the `200` status
  - added the optional property `query/anyOf[subschema #1: SimpleQuery]/data/anyOf[subschema #1: QueryRevisionData]/traces` to the response with the `200` status
- **2026-02-27** `8fcd55a5a656`: 1 info
  - endpoint added
- **2025-06-27** `e3e84db47198`: 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/agenta-ai/apis/agenta-api/docs/simple/queries/:query_id/put.md) - [API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) - [Page](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/simple/queries/:query_id/put)
