# 开启推理接入点

> 全部文档的索引见 [llms.txt](https://ark.volcengine.com/llms.txt)；在任一文档页面地址后追加 `.md` 可获取该页的 Markdown 版本。

`POST https://ark.cn-beijing.volcengineapi.com/?Action=StartEndpoint&Version=2024-01-01`

启动指定的推理接入点，使其从已停止状态恢复为可用状态。

> **说明：注意**
>
> 仅处于关闭状态（`Stopped`）的接入点支持开启操作；已处于运行状态（`Running`）的接入点重复开启会返回错误。开启操作为异步执行，调用成功后接入点将进入启动中（`Starting`）状态，并在就绪后转为运行中（`Running`）状态。后付费模式下，接入点进入 `Running` 状态后开始计费。

## 鉴权

本接口支持鉴权方式如下，详情请参见 [Base URL 及鉴权](/docs/base-url-and-authentication)。

* Access Key 鉴权，请在 [Access Key 管理](https://console.volcengine.com/iam/keymanage) 页面，获取 Access Key。本接口仅支持 Access Key 鉴权。

---

<span id="request-parameters"></span>
## 请求参数

### Body 参数

**Id** `string` `必选` | 推理接入点 ID

待开启的推理接入点（Endpoint）ID，以 `ep-` 开头。可在火山方舟控制台的「推理接入点」页面查看，或通过 *ListEndpoints* 接口获取。

## 响应参数

本接口无特有的返回参数，成功时 HTTP 状态码为 `200`，返回结构中 `Result` 为空对象 `{}`。


## 代码示例

## 默认

### cURL

#### Request

```bash
curl 'https://ark.cn-beijing.volcengineapi.com/?Action=StartEndpoint&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": "test-ep-id"
}
'
```

#### Response

```
{
  "ResponseMetadata": {
    "RequestId": "202405142133340440650771964D358D",
    "Action": "StartEndpoint",
    "Version": "2024-01-01",
    "Service": "ark",
    "Region": "cn-beijing"
  },
  "Result": {}
}
```
