Skip to Content
GrowSocmedDocsSocial media command center

Update an agent

Change an agent

PATCH
/agents/{id}

Change an agent

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
name?string
Length1 <= length <= 60
instructions?string
Lengthlength <= 8000
Default""
model?|
Lengthlength <= 120
knowledge_ids?array<>
Itemsitems <= 100
Default[]
handoff?
Default
{  "keywords": [],  "upset": true,  "unknown": true}
disclosure?boolean
Defaulttrue

Response Body

OK

response?unknownapplication/json
Example Request
curl -X PATCH 'https://socmed.growpaces.com/api/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
null