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

火山方舟

复制全文
下载 pdf
批量(Job) API
更新批量推理任务
复制全文
下载 pdf
更新批量推理任务
POST https://ark.cn-beijing.volcengineapi.com/?Action=UpdateBatchInferenceJob&Version=2024-01-01​
更新批量推理任务的名称或描述信息。​
说明​
更新接口仅支持修改 Name 与 Description。任务的模型引用、输入输出位置、最大等待时间等关键参数在创建后不可变更。​
鉴权​
本接口支持鉴权方式如下,详情请参见 Base URL 及鉴权。​
  • Access Key 鉴权,请在 Access Key 管理 页面,获取 Access Key。本接口仅支持 Access Key 鉴权。​
​​
请求参数​
Body 参数​
Id string 必选 | 任务 ID​
​
Description string | 任务描述​
​
DryRun boolean 默认值 false | 预检请求​
​
Name string | 任务名称​
​
​
响应参数​
本接口无特有的返回参数,成功时 HTTP 状态码为 200,返回结构中 Result 为空对象 {}。​
​

Request

curl 'https://ark.cn-beijing.volcengineapi.com/?Action=UpdateBatchInferenceJob&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": "bi-20240918194641-r2nwq",
    "Name": "批量推理任务(重命名)",
    "Description": "更新后的描述",
    "DryRun": true
}
'

Response

{
  "ResponseMetadata": {
    "RequestId": "20241101204820216194191074D4638D",
    "Action": "UpdateBatchInferenceJob",
    "Version": "2024-01-01",
    "Service": "ark",
    "Region": "cn-beijing"
  },
  "Result": {}
}
最近更新时间:2026.09.04 20:19:14
这个页面对您有帮助吗?
有用
有用
无用
无用