Skip to main content
POST
/
admin
/
providers
/
test-connection
Test Provider Connection
curl --request POST \
  --url https://api.example.com/admin/providers/test-connection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "url": "<string>",
  "api_key": "<string>",
  "enabled": true,
  "priority": 1,
  "timeout_seconds": 30,
  "metadata": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Provider configuration model.

name
string
required
Required string length: 1 - 255
service_type
enum<string>
required

Service type enumeration.

Available options:
asr,
tts,
mt,
llm
url
string
required
Required string length: 1 - 500
api_key
string
required
Minimum string length: 1
enabled
boolean
default:true
priority
integer
default:1
Required range: 1 <= x <= 10
timeout_seconds
integer
default:30
Required range: 5 <= x <= 120
metadata
Metadata · object

Response

Successful Response