Create Version

Create a new version.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Creates a new version of an agent with a name, an optional description, the agent configuration, and optional guardrails. In SUPERWISE, publishing an agent creates a new version, and versions are immutable.

When to use it

Use it to publish a new configuration for an agent. To restore an earlier configuration, read it with Get an agent version and send it again as a new version.

Required parameters

  • agent_id (path): the ID of the agent.
  • name (body): the name of the version.
  • agent_config (body): the agent configuration, one of a ReAct agent, a context chain, a basic LLM, or a Flowise configuration.

Optional body fields: description, guardrails.

Response

A successful call returns 201 Created with the new Version object, including its id, agent_id, agent_config, and guardrails.

Related: List an agent's versions, Get an agent version, Update an agent version, Create an agent

Path Params
string
required
Body Params
string
required
length between 1 and 95
length ≤ 100
agent_config
required
guardrails
array of objects
Guardrails
Responses

401

Unauthorized

404

Not Found

422

Unprocessable Entity

500

Internal Server Error

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json