---
title: "Changes to Archive Query Revision"
method: POST
path: "/queries/revisions/{query_revision_id}/archive"
---

# Changes to Archive Query Revision

`POST /queries/revisions/{query_revision_id}/archive`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 12 of 360 revisions.

- **2026-08-03** `fc532d6dc820` — 6 info
- **2026-06-01** `b2f21936417e` — 1 info
- **2026-05-31** `c26abd89e092` — 1 warning
- **2026-05-31** `06e03dbce2be` — 1 info
- **2026-05-23** `2040366204e5` — 4 info
- **2026-05-22** `67e2a3c6952d` — 4 warning
- **2026-05-22** `ca3686e05842` — 4 info
- **2026-05-19** `a7f9a6823230` — 2 warning
- **2026-04-23** `925e8b901a26` — 2 info
- **2026-03-07** `20311f763505` — 3 info
- **2026-02-27** `8fcd55a5a656` — 1 info
- **2025-06-27** `e3e84db47198` — 1 breaking

## Changes

- **2026-08-03** `fc532d6dc820` — 6 info
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/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_revision/anyOf[subschema #1: QueryRevision]/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_revision/anyOf[subschema #1: QueryRevision]/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_revision/anyOf[subschema #1: QueryRevision]/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_revision/anyOf[subschema #1: QueryRevision]/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_revision/anyOf[subschema #1: QueryRevision]/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-06-01** `b2f21936417e` — 1 info
  - added the optional property `retrieval_info` to the response with the `200` status
- **2026-05-31** `c26abd89e092` — 1 warning
  - removed the optional property `retrieval_info` from the response with the `200` status
- **2026-05-31** `06e03dbce2be` — 1 info
  - added the optional property `retrieval_info` to the response with the `200` status
- **2026-05-23** `2040366204e5` — 4 info
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/artifact_slug` to the response with the `200` status
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/query_slug` to the response with the `200` status
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/query_variant_slug` to the response with the `200` status
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/variant_slug` to the response with the `200` status
- **2026-05-22** `67e2a3c6952d` — 4 warning
  - removed the optional property `query_revision/anyOf[subschema #1: QueryRevision]/artifact_slug` from the response with the `200` status
  - removed the optional property `query_revision/anyOf[subschema #1: QueryRevision]/query_slug` from the response with the `200` status
  - removed the optional property `query_revision/anyOf[subschema #1: QueryRevision]/query_variant_slug` from the response with the `200` status
  - removed the optional property `query_revision/anyOf[subschema #1: QueryRevision]/variant_slug` from the response with the `200` status
- **2026-05-22** `ca3686e05842` — 4 info
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/artifact_slug` to the response with the `200` status
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/query_slug` to the response with the `200` status
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/query_variant_slug` to the response with the `200` status
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/variant_slug` 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` — 3 info
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/data/anyOf[subschema #1: QueryRevisionData]/formatting` to the response with the `200` status
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/data/anyOf[subschema #1: QueryRevisionData]/trace_ids` to the response with the `200` status
  - added the optional property `query_revision/anyOf[subschema #1: QueryRevision]/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/queries/revisions/:query_revision_id/archive/post.md) · [API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [Page](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/queries/revisions/:query_revision_id/archive/post)
