---
title: "Changes to Atualizar contexto do agente"
method: PUT
path: "/api/management/ai/agents/{agentId}/contexts/{contextId}"
---

# Changes to Atualizar contexto do agente

`PUT /api/management/ai/agents/{agentId}/contexts/{contextId}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 98 revisions.

- **2026-09-22** `d71b18b1685d` — 1 breaking, 3 warning, 4 info
- **2026-09-22** `b43a04f35145` — 2 warning
- **2026-09-18** `468063611950` — 4 info

## Changes

- **2026-09-22** `d71b18b1685d` — 1 breaking, 3 warning, 4 info
  - the response property `content` became nullable for the status `200`
  - removed the optional property `validation/content` from the response with the `422` status
  - added the new `file` enum value to the `type` response property for the response status `200`
  - added the new `text` enum value to the `type` response property for the response status `200`
  - added the new optional request property `file`
  - added the new optional request property `order`
  - added the optional property `deleted_at` to the response with the `200` status
  - added the optional property `mime_type` to the response with the `200` status
- **2026-09-22** `b43a04f35145` — 2 warning
  - removed the optional property `deleted_at` from the response with the `200` status
  - removed the optional property `mime_type` from the response with the `200` status
- **2026-09-18** `468063611950` — 4 info
  - added optional request body
  - added the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `404`
  - added the non-success response with the status `422`

---

[Operation](https://skmtc.dev/olie-ai/apis/olie-api/docs/api/management/ai/agents/:agentId/contexts/:contextId/put.md) · [API](https://skmtc.dev/olie-ai/apis/olie-api.md) · [Page](https://skmtc.dev/olie-ai/apis/olie-api/changes/api/management/ai/agents/:agentId/contexts/:contextId/put)
