---
title: "Changes to Update an agent"
method: PATCH
path: "/v1/workspaces/{workspaceId}/agents/{id}"
---

# Changes to Update an agent

`PATCH /v1/workspaces/{workspaceId}/agents/{id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 57 revisions.

- **2026-07-04** `09ccecfe3ece`: 2 warning, 2 info
- **2026-07-02** `06e0e37c1499`: 2 warning, 1 info
- **2026-06-11** `08fde3ae3e37`: 4 info
- **2026-06-09** `13d98d37dd96`: 1 breaking, 1 warning, 2 info
- **2026-06-05** `0702cb021b66`: 1 warning

## Changes

- **2026-07-04** `09ccecfe3ece`: 2 warning, 2 info
  - removed the request property `spec/inputDataSchema`
  - removed the optional property `spec/allOf[#/components/schemas/AgentSpec]/inputDataSchema` from the response with the `200` status
  - added the new optional request property `spec/systemPromptDataSchema`
  - added the optional property `spec/allOf[#/components/schemas/AgentSpec]/systemPromptDataSchema` to the response with the `200` status
- **2026-07-02** `06e0e37c1499`: 2 warning, 1 info
  - removed the request property `metadata/bundleKey`
  - removed the optional property `metadata/allOf[#/components/schemas/ResourceMetadata]/bundleKey` from the response with the `200` status
  - added the optional property `info/allOf[#/components/schemas/AgentInfo]/createdBy/metadata/createdAt` to the response with the `200` status
- **2026-06-11** `08fde3ae3e37`: 4 info
  - added the new optional request property `spec/enableEpisodicMemory`
  - added the new optional request property `spec/episodicMemoryTtl`
  - added the optional property `spec/allOf[#/components/schemas/AgentSpec]/enableEpisodicMemory` to the response with the `200` status
  - added the optional property `spec/allOf[#/components/schemas/AgentSpec]/episodicMemoryTtl` to the response with the `200` status
- **2026-06-09** `13d98d37dd96`: 1 breaking, 1 warning, 2 info
  - removed the required property `spec/allOf[#/components/schemas/AgentSpec]/status` from the response with the `200` status
  - removed the request property `spec/status`
  - added the optional property `metadata/allOf[#/components/schemas/ResourceMetadata]/updatedAt` to the response with the `200` status
  - added the required property `state` to the response with the `200` status
- **2026-06-05** `0702cb021b66`: 1 warning
  - added the new `PROFILE_TYPE_UNSPECIFIED` enum value to the `info/allOf[#/components/schemas/AgentInfo]/createdBy/spec/type` response property for the response status `200`

---

[Operation](https://skmtc.dev/cadenya/apis/cadenya-api/docs/v1/workspaces/:workspaceId/agents/:id/patch.md) - [API](https://skmtc.dev/cadenya/apis/cadenya-api.md) - [Page](https://skmtc.dev/cadenya/apis/cadenya-api/changes/v1/workspaces/:workspaceId/agents/:id/patch)
