API 参考AI agents
Create an agent
POST
apiKeyheader
AuthorizationBearer <token>API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.
application/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
trueCreated
response?unknownapplication/jsoncurl -X POST 'https://socmed.growpaces.com/api/v1/agents' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response201
null