---
title: "创建供应商"
method: POST
path: "/api/v1/provider/providers"
tags: ["Model Providers"]
---

# 创建供应商

`POST /api/v1/provider/providers`

创建一个新的模型供应商。

## Request body

- ModelProviderCreate
  - `name` string, required
  - `requester` string, required — 请求器类型。可通过 GET /api/v1/provider/requesters 获取可用列表。
  - `base_url` string, required
  - `api_keys` string[]

## Response `200`

创建成功

- object
  - `code` integer
  - `data` object
    - `uuid` string, uuid

---

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