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

# Changes to Create a new agent

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

> Every recorded change to this operation, newest first.

## Timeline

Changed in 10 of 57 revisions.

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

## Changes

- **2026-07-08** `7a9fa80ead32`: 1 warning
  - removed the request property `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/progressiveDiscovery/allOf[#/components/schemas/AgentVariationSpec_ProgressiveDiscovery]/rerankThreshold`
- **2026-07-08** `631a0b9462a9`: 1 warning
  - removed the request property `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/weight`
- **2026-07-08** `1b547d16bc3f`: 1 breaking
  - the `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/constraints/allOf[#/components/schemas/AgentVariationSpec_Constraints]/inactivityTimeout` request property type changed from `integer` to `string`
- **2026-07-07** `63210c2f71dc`: 1 info
  - added the new optional request property `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/constraints/allOf[#/components/schemas/AgentVariationSpec_Constraints]/inactivityTimeout`
- **2026-07-04** `09ccecfe3ece`: 3 warning, 3 info
  - removed the request property `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/userMessageTemplate`
  - 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 `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/firstUserMessageTemplate`
  - 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`: 3 warning, 1 info
  - removed the request property `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/metadata/bundleKey`
  - 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`: 2 warning, 4 info
  - removed the request property `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/enableEpisodicMemory`
  - removed the request property `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/episodicMemoryTtl`
  - 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-10** `d2d65c2665bd`: 1 warning, 2 info
  - removed the request property `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/prompt`
  - added the new optional request property `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/systemPromptTemplate`
  - added the new optional request property `defaultVariation/allOf[#/components/schemas/CreateAgentVariationRequest]/spec/userMessageTemplate`
- **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/post.md) - [API](https://skmtc.dev/cadenya/apis/cadenya-api.md) - [Page](https://skmtc.dev/cadenya/apis/cadenya-api/changes/v1/workspaces/:workspaceId/agents/post)
