Authorization: Bearer ********************{
"name": "财务协作员工",
"externalId": "finance-operator",
"definition": {
"description": "协助处理财务业务",
"instructions": "仅使用已批准的技能和工具",
"modelPolicy": {
"model": "gpt-5",
"effort": "medium"
},
"skillVersionIds": [],
"toolSetVersionIds": [],
"policyVersionIds": []
}
}curl --location '/v1/employees' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "财务协作员工",
"externalId": "finance-operator",
"definition": {
"description": "协助处理财务业务",
"instructions": "仅使用已批准的技能和工具",
"modelPolicy": {
"model": "gpt-5",
"effort": "medium"
},
"skillVersionIds": [],
"toolSetVersionIds": [],
"policyVersionIds": []
}
}'{
"id": "id_example",
"externalId": "external_example",
"name": "示例名称",
"status": "active",
"draft": {
"id": "id_example",
"revision": 1,
"status": "draft",
"definition": {
"description": "示例内容",
"instructions": "示例内容",
"modelPolicy": {
"model": "示例值",
"effort": "low"
},
"skillVersionIds": [
"示例值"
],
"toolSetVersionIds": [
"示例值"
],
"policyVersionIds": [
"示例值"
]
},
"snapshot": {},
"createdAt": "2026-09-27T08:00:00.000Z",
"updatedAt": "2026-09-27T08:00:00.000Z",
"publishedAt": "2026-09-27T08:00:00.000Z"
},
"published": {
"id": "id_example",
"revision": 1,
"status": "draft",
"definition": {
"description": "示例内容",
"instructions": "示例内容",
"modelPolicy": {
"model": "示例值",
"effort": "low"
},
"skillVersionIds": [
"示例值"
],
"toolSetVersionIds": [
"示例值"
],
"policyVersionIds": [
"示例值"
]
},
"snapshot": {},
"createdAt": "2026-09-27T08:00:00.000Z",
"updatedAt": "2026-09-27T08:00:00.000Z",
"publishedAt": "2026-09-27T08:00:00.000Z"
},
"createdAt": "2026-09-27T08:00:00.000Z",
"updatedAt": "2026-09-27T08:00:00.000Z"
}