Agent
Update Agent
PATCH
/
api
/
v1
/
agents
/
:agent_id
This endpoint updates specific details of an existing agent.
HTTP Request
PATCH https://api.gptlab.cloud/api/v1/agents/:agent_id
Path Parameters
agent_id
: The ID of the agent to be updated.
Request Body
The request body should contain an object with fields that you want to update. Fields are:
isActive
: Optional booleanname
: String (required)initialMessage
: Optional stringprompt
: Optional stringllmModel
: String (required)description
: String (required)avatar
: Optional string