cURL
curl --request POST \ --url https://api.example.com/agents/{agent_id}/fork \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "class_id": 123, "name": "<string>" } '
{ "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>
x >= 1
공유된 강사 에이전트를 '내 에이전트'로 복제할 때 사용하는 입력 스키마.
Successful Response