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 boolean
  • name: String (required)
  • initialMessage: Optional string
  • prompt: Optional string
  • llmModel: String (required)
  • description: String (required)
  • avatar: Optional string