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

# Changes to Criar contexto do agente

`POST /api/management/ai/agents/{agentId}/contexts`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 98 revisions.

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

## Changes

- **2026-09-22** `d71b18b1685d` — 3 breaking, 4 warning, 6 info
  - request property `type` was restricted to a list of enum values
  - the request property `type` became required
  - the response property `content` became nullable for the status `201`
  - removed the optional property `validation/content` from the response with the `422` status
  - removed the optional property `validation/type` from the response with the `422` status
  - added the new `file` enum value to the `type` response property for the response status `201`
  - added the new `text` enum value to the `type` response property for the response status `201`
  - added the new optional request property `file`
  - added the new optional request property `order`
  - the request property `content` became nullable
  - added the new `file` enum value to the request property `type`
  - added the new `text` enum value to the request property `type`
  - added the optional property `mime_type` to the response with the `201` status
- **2026-09-18** `468063611950` — 1 breaking, 4 info
  - removed the success response with the status `200`
  - added optional request body
  - added the non-success response with the status `404`
  - added the non-success response with the status `422`
  - added the success response with the status `201`

---

[Operation](https://skmtc.dev/olie-ai/apis/olie-api/docs/api/management/ai/agents/:agentId/contexts/post.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/post)
