You need to enable JavaScript to run this app.
文档中心
火山方舟

火山方舟

复制全文
下载 pdf
管理模型精调
停止模型调优任务
复制全文
下载 pdf
停止模型调优任务
POST https://ark.cn-beijing.volcengineapi.com/?Action=TerminateModelCustomizationJob&Version=2024-01-01​
调用本接口停止正在执行的模型调优任务(精调任务)。仅支持停止处于运行中或排队中的任务;任务停止后将进入已取消状态,已产生的训练资源费用不退还。如需删除已终止的任务记录,可继续调用 删除模型调优任务。​
鉴权​
本接口支持鉴权方式如下,详情请参见 Base URL 及鉴权。​
  • Access Key 鉴权,请在 Access Key 管理 页面,获取 Access Key。本接口仅支持 Access Key 鉴权。​
​​
请求参数​
Body 参数​
Id string 必选 | 模型调优任务 ID​
​
​
响应参数​
本接口无特有的返回参数,成功时 HTTP 状态码为 200,返回结构中 Result 为空对象 {}。​
​

Request

curl 'https://ark.cn-beijing.volcengineapi.com/?Action=TerminateModelCustomizationJob&Version=2024-01-01' \
  -H 'Content-Type: application/json' \
  -H 'X-Date: <X-Date>' \
  -H 'X-Content-Sha256: <X-Content-Sha256>' \
  -H 'Authorization: HMAC-SHA256 Credential=<AK>/<X-Date>/cn-beijing/ark/request, SignedHeaders=content-type;host;x-content-sha256;x-date, Signature=<Signature>' \
  -d '{
  "Id": "mcj-20240710130531-57fch"
}
'

Response

{
  "ResponseMetadata": {
    "RequestId": "202501151637080932522361157D1536",
    "Action": "TerminateModelCustomizationJob",
    "Version": "2024-01-01",
    "Service": "ark",
    "Region": "cn-beijing"
  },
  "Result": {}
}
最近更新时间:2026.09.04 20:17:04
这个页面对您有帮助吗?
有用
有用
无用
无用