---
title: "测试向量模型"
method: POST
path: "/api/v1/provider/models/embedding/{model_uuid}/test"
tags: ["Embedding Models"]
---

# 测试向量模型

`POST /api/v1/provider/models/embedding/{model_uuid}/test`

向指定的向量模型发送测试请求，验证模型是否可用。

## Path parameters

- `model_uuid` string, uuid, required

## Request body

- object
  - `text` string — 测试用的文本

## Response `200`

操作成功

- object
  - `code` integer

---

[API](https://skmtc.dev/langbot/apis/langbot-service-api.md) · [All operations](https://skmtc.dev/langbot/apis/langbot-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/langbot/langbot-service-api/revisions/2384dee8c36a/schema)
