API 参考AI agents
Update an agent
Change an agent
PATCH
Change an agent
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
id*stringFormat
uuidapplication/json- body
name?stringLength
1 <= length <= 60instructions?stringLength
length <= 8000Default
""model?|Length
length <= 120knowledge_ids?array<>Items
items <= 100Default
[]handoff?Default
{ "keywords": [], "upset": true, "unknown": true}disclosure?booleanDefault
trueOK
response?unknownapplication/jsoncurl -X PATCH 'https://socmed.growpaces.com/api/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
null