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

client = SuperU("YOUR_SUPERU_API_KEY")

payload = {
    "agent_id": "ag_01HXR8FM5QYCVXAK4TYFJ4AEP0",
    "version_id": "ver_01HXR8Q2S3E4YQH0RQ5K2V7A8D"
}

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

Authorizations

superU-Api-Key
string
header
required

Your SuperU API key.

Body

application/json

Request body for Deploy agent version.

Agent Version Deploy Request schema.

agent_id
string
required

Agent ID

Example:

"ag_01HXR8FM5QYCVXAK4TYFJ4AEP0"

version_id
string
required

Version ID

Example:

"ver_01HXR8Q2S3E4YQH0RQ5K2V7A8D"

Response

Version deployed

Generic Response schema.

status
string

Status value.

Example:

"success"

message
string

Message value.

Example:

"Request completed successfully"

data
object

Data value.