You need to enable JavaScript to run this app.
AI 数据湖服务

AI 数据湖服务

复制全文
API 参考:数据面
调用方式
复制全文
调用方式

Base URL

地域

region id

Base URL

华北 2 (北京)

cn-beijing

https://operator.las.cn-beijing.volces.com/api/v1

华东 2 (上海)

cn-shanghai

https://operator.las.cn-shanghai.volces.com/api/v1

数据面 API 鉴权

支持API Key 鉴权方式。

API Key 签名鉴权

前提条件

已创建 API Key,详情请参见API Key 管理

签名构造

API Key 签名鉴权方式要求在 HTTP 请求 header 中按如下方式添加 Authorization header:

Authorization: Bearer <ARK_API_KEY>

API 调用示例

curl https://operator.las.cn-beijing.volces.com/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $ARK_API_KEY" \
  -d $'{
    "messages": [
        {
            "content": "You are a helpful assistant.",
            "role": "system"
        },
        {
            "content": "hello",
            "role": "user"
        }
    ],
    "model": "doubao-1-5-pro-32k-250115",
    "stream": true
}'
最近更新时间:2026.01.29 23:00:04
这个页面对您有帮助吗?
有用
有用
无用
无用