---
title: "Changes to Create a new variation"
method: POST
path: "/v1/workspaces/{workspaceId}/agents/{agentId}/variations"
---

# Changes to Create a new variation

`POST /v1/workspaces/{workspaceId}/agents/{agentId}/variations`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 11 of 57 revisions.

- **2026-07-19** `3ecc1debabfa` — 2 breaking, 4 warning, 1 info
- **2026-07-08** `7a9fa80ead32` — 2 warning
- **2026-07-08** `631a0b9462a9` — 2 warning
- **2026-07-08** `1b547d16bc3f` — 2 breaking
- **2026-07-07** `63210c2f71dc` — 2 info
- **2026-07-04** `09ccecfe3ece` — 2 warning, 2 info
- **2026-07-02** `06e0e37c1499` — 3 warning, 1 info
- **2026-06-11** `08fde3ae3e37` — 4 warning
- **2026-06-10** `d2d65c2665bd` — 2 warning, 4 info
- **2026-06-09** `13d98d37dd96` — 2 info
- **2026-06-05** `0702cb021b66` — 1 warning

## Changes

- **2026-07-19** `3ecc1debabfa` — 2 breaking, 4 warning, 1 info
  - added `#/components/schemas/VariationAssignment_Tool, #/components/schemas/VariationAssignment_ToolSet, #/components/schemas/VariationAssignment_Agent` to the `info/allOf[#/components/schemas/AgentVariationInfo]/assignments/items/` response property `oneOf` list for the response status `200`
  - the `info/allOf[#/components/schemas/AgentVariationInfo]/assignments/items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `info/allOf[#/components/schemas/AgentVariationInfo]/assignments/items/agent` from the response with the `200` status
  - removed the optional property `info/allOf[#/components/schemas/AgentVariationInfo]/assignments/items/id` from the response with the `200` status
  - removed the optional property `info/allOf[#/components/schemas/AgentVariationInfo]/assignments/items/tool` from the response with the `200` status
  - removed the optional property `info/allOf[#/components/schemas/AgentVariationInfo]/assignments/items/toolSet` from the response with the `200` status
  - added discriminator to `info/allOf[#/components/schemas/AgentVariationInfo]/assignments/items/` response property for the response status `200`
- **2026-07-08** `7a9fa80ead32` — 2 warning
  - removed the request property `spec/progressiveDiscovery/allOf[#/components/schemas/AgentVariationSpec_ProgressiveDiscovery]/rerankThreshold`
  - removed the optional property `spec/allOf[#/components/schemas/AgentVariationSpec]/progressiveDiscovery/allOf[#/components/schemas/AgentVariationSpec_ProgressiveDiscovery]/rerankThreshold` from the response with the `200` status
- **2026-07-08** `631a0b9462a9` — 2 warning
  - removed the request property `spec/weight`
  - removed the optional property `spec/allOf[#/components/schemas/AgentVariationSpec]/weight` from the response with the `200` status
- **2026-07-08** `1b547d16bc3f` — 2 breaking
  - the `spec/constraints/allOf[#/components/schemas/AgentVariationSpec_Constraints]/inactivityTimeout` request property type/format changed from `integer`/`` to `string`/``
  - the `spec/allOf[#/components/schemas/AgentVariationSpec]/constraints/allOf[#/components/schemas/AgentVariationSpec_Constraints]/inactivityTimeout` response's property type/format changed from `integer`/`` to `string`/`` for status `200`
- **2026-07-07** `63210c2f71dc` — 2 info
  - added the new optional request property `spec/constraints/allOf[#/components/schemas/AgentVariationSpec_Constraints]/inactivityTimeout`
  - added the optional property `spec/allOf[#/components/schemas/AgentVariationSpec]/constraints/allOf[#/components/schemas/AgentVariationSpec_Constraints]/inactivityTimeout` to the response with the `200` status
- **2026-07-04** `09ccecfe3ece` — 2 warning, 2 info
  - removed the request property `spec/userMessageTemplate`
  - removed the optional property `spec/allOf[#/components/schemas/AgentVariationSpec]/userMessageTemplate` from the response with the `200` status
  - added the new optional request property `spec/firstUserMessageTemplate`
  - added the optional property `spec/allOf[#/components/schemas/AgentVariationSpec]/firstUserMessageTemplate` to the response with the `200` status
- **2026-07-02** `06e0e37c1499` — 3 warning, 1 info
  - removed the request property `metadata/bundleKey`
  - removed the optional property `info/allOf[#/components/schemas/AgentVariationInfo]/model/allOf[#/components/schemas/ResourceMetadata]/bundleKey` from the response with the `200` status
  - 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/AgentVariationInfo]/createdBy/metadata/createdAt` to the response with the `200` status
- **2026-06-11** `08fde3ae3e37` — 4 warning
  - removed the request property `spec/enableEpisodicMemory`
  - removed the request property `spec/episodicMemoryTtl`
  - removed the optional property `spec/allOf[#/components/schemas/AgentVariationSpec]/enableEpisodicMemory` from the response with the `200` status
  - removed the optional property `spec/allOf[#/components/schemas/AgentVariationSpec]/episodicMemoryTtl` from the response with the `200` status
- **2026-06-10** `d2d65c2665bd` — 2 warning, 4 info
  - removed the request property `spec/prompt`
  - removed the optional property `spec/allOf[#/components/schemas/AgentVariationSpec]/prompt` from the response with the `200` status
  - added the new optional request property `spec/systemPromptTemplate`
  - added the new optional request property `spec/userMessageTemplate`
  - added the optional property `spec/allOf[#/components/schemas/AgentVariationSpec]/systemPromptTemplate` to the response with the `200` status
  - added the optional property `spec/allOf[#/components/schemas/AgentVariationSpec]/userMessageTemplate` to the response with the `200` status
- **2026-06-09** `13d98d37dd96` — 2 info
  - added the optional property `info/allOf[#/components/schemas/AgentVariationInfo]/model/allOf[#/components/schemas/ResourceMetadata]/updatedAt` to the response with the `200` status
  - added the optional property `metadata/allOf[#/components/schemas/ResourceMetadata]/updatedAt` 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/AgentVariationInfo]/createdBy/spec/type` response property for the response status `200`

---

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