Skip to main content
POST
/
agent
/
version
/
update
Python
from superu import SuperU

client = SuperU("YOUR_SUPERU_API_KEY")

payload = {
    "agent_id": "ag_01HXR8FM5QYCVXAK4TYFJ4AEP0",
    "version_id": "ver_01HXR8Q2S3E4YQH0RQ5K2V7A8D",
    "version": "v2.1",
    "assistant_data": {
        "key": "value"
    },
    "composio-app": {
        "key": "value"
    }
}

response = client.agents.update_version(**payload)
print(response)
{
  "status": "success",
  "version_id": "ver_01HXR8Q2S3E4YQH0RQ5K2V7A8D",
  "message": "Version updated"
}

Authorizations

superU-Api-Key
string
header
required

Your SuperU API key.

Body

application/json

Request body for Update agent version.

Agent Version Update Request schema.

agent_id
string
required

Agent ID

Example:

"ag_01HXR8FM5QYCVXAK4TYFJ4AEP0"

version_id
string
required

Version ID

Example:

"ver_01HXR8Q2S3E4YQH0RQ5K2V7A8D"

version
string
required

New version label

Example:

"v2.1"

assistant_data
object

Assistant data value.

Example:
{ "key": "value" }
composio-app
object

Composio app value.

Example:
{ "key": "value" }

Response

Version updated

Generic Response schema.

status
string

Status value.

Example:

"success"

message
string

Message value.

Example:

"Request completed successfully"

data
object

Data value.