---
title: "知识库切片引用位置信息"
method: POST
path: "/llm-application/open/v2/application/slice_info"
tags: ["智能体 API（旧）"]
deprecated: true
---

# 知识库切片引用位置信息

`POST /llm-application/open/v2/application/slice_info`

## Request

- Base URL: `https://open.bigmodel.cn/api`
- URL: `https://open.bigmodel.cn/api/llm-application/open/v2/application/slice_info`
- Auth: HTTP bearer

> **Deprecated.**

获取知识库切片引用的位置信息。点击 **Try it** 按钮可快速试用。

## Request body

- ApplicationSliceInfoRequest
  - `request_id` string, required: 创建对话或文本请求接口返回的id
  - `node_id` string, required: 节点id

## Response `200`

请求成功

- ApplicationSliceInfoResponse
  - `data` object, required
    - `document_slices` DocumentSlices[], required: 文档切片信息
      - `document` DocumentInfo, required
        - `id` string, required: 文档ID
        - `name` string, required: 文档名称
        - `url` string, required: 文档URL
        - `dtype` integer, required: 文档类型
      - `slice_info` SliceInfo[], required: 切片信息
        - `document_id` string, required: 文档ID
        - `position` SlicePosition
          - `x0` number, float, required: 左侧到行左侧的距离
          - `x1` number, float, required: 字符顶部到顶部距离
          - `top` number, float, required: 字符顶部到顶部距离
          - `bottom` number, float, required: 字符底部到顶部距离
          - `page` integer, required: 所在页
          - `height` number, float, required: 所在页高
          - `width` number, float, required: 所在页宽度
        - `line` integer: sheet行号
        - `sheet_name` string: sheet名称
        - `text` string, required: 切片内容
      - `hide_positions` boolean, required: 是否存在历史文档切片没有位置信息
      - `images` SliceImage[]: 图片列表
        - `text` string, required: 图片名称
        - `cos_url` string, required: 图片地址
    - `has_old_document` boolean, required: 是否存在没有切片位置的历史文档
  - `code` integer, required: 响应码，200为成功
  - `message` string, required: 响应信息
  - `timestamp` integer, required: 响应时间戳

## Other responses

- `default`: 请求失败

## Changes

- **2026-11-03** `7fd61aa7f811`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bigmodel/apis/zhipu-ai-api/changes/llm-application/open/v2/application/slice_info/post.md)

---

[API](https://skmtc.dev/bigmodel/apis/zhipu-ai-api.md) - [All operations](https://skmtc.dev/bigmodel/apis/zhipu-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bigmodel/apis/zhipu-ai-api/revisions/f2be7c0fcbb9?raw)
