Request
curl -sS --fail-with-body \
"https://ark.cn-beijing.volces.com/api/v3/environments/<ENVIRONMENT_ID>/work/<WORK_ID>/stop" \
-H "Authorization: Bearer $ARK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"force": false}'Response
{
"id": "<WORK_ID>",
"environment_id": "<ENVIRONMENT_ID>",
"state": "stopping",
"type": "work",
"data": {
"id": "<SESSION_ID>",
"type": "session"
},
"created_at": "2026-10-19T08:30:00Z",
"updated_at": "2026-10-19T08:31:00Z",
"acknowledged_at": "2026-10-19T08:30:02Z",
"started_at": "2026-10-19T08:30:05Z",
"latest_heartbeat_at": "2026-10-19T08:30:35Z",
"stop_requested_at": "2026-10-19T08:31:00Z"
}