Resolido Docs
Ai agents

Update AI agent

PATCH
/agents/{agentId}

Update an AI agent's name, instructions, model, domains, signature and behaviour. Only sent fields change. Owner/admin.

Authorization

bearer agents:write
headerAuthorizationBearer <token>

API key (rsl_live_…) from Settings → Developers.

Scope: agents:write

Path Parameters

agentId*string

AI agent id. Never invent ids – list resources first.

Length1 <= length <= 64

Request Body

application/json
  1. body
name?string
Length2 <= length <= 100
description?string
Lengthlength <= 500
instructions?string

Full system prompt (replaces the current one). Read agents_get first.

Lengthlength <= 500000
model?|

Model id from models_list, or default.

activeDomains?array<>

Websites where this agent answers the chat widget.

Itemsitems <= 50
emailSignature?string

HTML email signature.

Lengthlength <= 20000
settings?
sidebar?

Response Body

Success

application/json
  1. response
id*string
name*string
isActive*boolean
dashboardUrl*string
changed*array<string>
curl -X PATCH "https://example.com/agents/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "name": "string",  "isActive": true,  "dashboardUrl": "string",  "changed": [    "string"  ]}