---
title: "重新向量化"
method: POST
path: "/llm-application/open/document/embedding/{id}"
tags: ["知识库 API"]
---

# 重新向量化

`POST /llm-application/open/document/embedding/{id}`

用于重新向量化文档（重试等操作）。同步返回成功表示调用成功，向量化完成后调用`callback_url`进行通知，也可调用知识详情接口获取结果。多用于`url`知识场景。点击 **Try it** 按钮可快速试用。

## Path parameters

- `id` string, required

## Request body

- ReEmbeddingRequest
  - `callback_url` string — 回调地址
  - `callback_header` object — 回调header k-v

## Response `200`

请求成功

- ReEmbeddingResponse
  - `code` integer — 状态码
  - `message` string — 返回信息
  - `timestamp` integer — 时间戳

## Other responses

- `default` — 请求失败

---

[API](https://skmtc.net/bigmodel/apis/zhipu-ai-api.md) · [All operations](https://skmtc.net/bigmodel/apis/zhipu-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bigmodel/zhipu-ai-api/revisions/37de2d7b73de/schema)
