Providers

Create a provider under a provider source

Changed on

Required scope: provider

post/api/v1/provider-sources/{source_id}/providers

Request

  • Base URL
    http://localhost:6185
  • URL
    http://localhost:6185/api/v1/provider-sources/{source_id}/providers
  • Auth
    API key in header X-API-Key

Path parameters

source_idstring required

Request body

idstring
provider_source_idstring
capability'chat' | 'agent' | 'stt' | 'tts' | 'embedding' | 'rerank' | 'decision'
enabledboolean
configDynamicConfig required

Response

Standard AstrBot success response

status'ok' required
messagestring
dataunknown required

Changes