---
title: "Create a standalone provider"
method: POST
path: "/api/v1/providers"
tags: ["Providers"]
---

# Create a standalone provider

`POST /api/v1/providers`

**Required scope:** `provider`

## Request body

- ProviderConfigRequest
  - `id` string
  - `provider_source_id` string
  - `capability` 'chat' | 'agent' | 'stt' | 'tts' | 'embedding' | 'rerank'
  - `enabled` boolean
  - `config` DynamicConfig, required

## Response `200`

Standard AstrBot success response

- SuccessEnvelope
  - `status` 'ok', required
  - `message` string
  - `data` unknown, required

---

[API](https://skmtc.net/astrbotdevs/apis/astrbot-openapi-v1.md) · [All operations](https://skmtc.net/astrbotdevs/apis/astrbot-openapi-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astrbotdevs/astrbot-openapi-v1/revisions/4463c5ffdb9c/schema)
