API 参考AI agents
Try an agent
Try the agent: it answers the last customer message, nothing is sent
POST
Try the agent: it answers the last customer message, nothing is sent
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
turns*array<>Items
1 <= items <= 30channel?stringDefault
"dm"Value in
"dm""comment"OK
response?unknownapplication/jsoncurl -X POST 'https://socmed.growpaces.com/api/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/test' \ -H 'Content-Type: application/json' \ -d '{ "turns": [ { "from": "customer", "text": "string" } ]}'Example Response200
null