cURL
curl --request PATCH \ --url https://api.example.com/agents/{agent_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "role_description": "<string>", "system_prompt": "<string>", "template_source": "<string>", "is_active": true } '
{ "agent_id": 123, "owner_id": 123, "name": "<string>", "system_prompt": "<string>", "is_active": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "role_description": "<string>", "template_source": "<string>" }
에이전트 수정.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
수정할 내 에이전트 ID (user.ai_agents.agent_id)
x >= 1
Successful Response