---
title: "Changes to Archive the session — irreversible; blocks new events, history stays readable [write]"
method: POST
path: "/sessions/{id}/archive"
---

# Changes to Archive the session — irreversible; blocks new events, history stays readable [write]

`POST /sessions/{id}/archive`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 4 revisions.

- **2026-11-02** `e5e8f0229a99`: 23 info

## Changes

- **2026-11-02** `e5e8f0229a99`: 23 info
  - added the optional property `error/request_id` to the response with the `default` status
  - added the optional property `session/attachments` to the response with the `200` status
  - added the optional property `session/browserLoginsSavedAt` to the response with the `200` status
  - added the optional property `session/browserProfile` to the response with the `200` status
  - added the optional property `session/budget/consumed_cost/amount_usd` to the response with the `200` status
  - added the optional property `session/budget/consumed_cost/unit` to the response with the `200` status
  - added the optional property `session/budget/max_list_cost/amount_usd` to the response with the `200` status
  - added the optional property `session/budget/max_list_cost/unit` to the response with the `200` status
  - added the optional property `session/contextFiles` to the response with the `200` status
  - added the optional property `session/harnessVersion` to the response with the `200` status
  - added the optional property `session/hostedBySeller` to the response with the `200` status
  - added the optional property `session/parentRelation` to the response with the `200` status
  - added the optional property `session/parentSessionId` to the response with the `200` status
  - added the optional property `session/payer` to the response with the `200` status
  - added the optional property `session/provisioningStage` to the response with the `200` status
  - added the optional property `session/subscriptionApiFallback` to the response with the `200` status
  - the response property `error` became required for the status `default`
  - the response property `error/code` became required for the status `default`
  - the response property `error/message` became required for the status `default`
  - the response property `session/budget/consumed_cost/amount` became required for the status `200`
  - the response property `session/budget/consumed_cost/currency` became required for the status `200`
  - the response property `session/budget/max_list_cost/amount` became required for the status `200`
  - the response property `session/budget/max_list_cost/currency` became required for the status `200`

---

[Operation](https://skmtc.dev/agentsky/apis/agentsky-developer-api/docs/sessions/:id/archive/post.md) - [API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [Page](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/sessions/:id/archive/post)
