Skip to main content
Version: v3

Update Agent Metadata

PATCH 

/agent-studio/agent/:agentId

Updates agent metadata such as name, description, and status.

Request​

Version stringrequired

API Version

Available optionsv3
agentId stringrequired

Agent ID whose metadata is being updated

source string

Origin channel attributed to this write for auditing (e.g. public_api, internal)

application/json

Bodyrequired

    locationIdstringrequired

    Location ID for authorization (cannot be updated)

    namestring

    Name of the agent

    descriptionstring

    Description of the agent

    statusstring

    Status of the agent

    Available optionsactiveinactivearchived
application/json

Agent metadata updated successfully

Schema
    successbooleanrequired

    Success status

    messagestringrequired

    Response message

    dataobjectrequired

    Updated agent or version data