cURL
curl --request POST \ --url https://api.example.com/api/v1/chat/threads/{thread_id}/mode \ --header 'Content-Type: application/json' \ --data ' { "participation_mode": "<string>" } '
Set the agent participation mode for a thread.
ama_eat_*
manage_thread
"open"
"invocation_only"
curl -X POST https://api.ama2.me/api/v1/chat/threads/{thread_id}/mode \ -H "Authorization: Bearer ama_eat_your_token_here" \ -H "Content-Type: application/json" \ -d '{ "participation_mode": "invocation_only" }'
{ "status": "ok" }