Skip to main content
POST
/
api
/
v1
/
ai
/
providers
/
{id}
/
validate
Validate AI provider
curl --request POST \
  --url https://api.dualship.run/api/v1/ai/providers/{id}/validate \
  --header 'Authorization: Bearer <token>'
{
  "error": "",
  "valid": true
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Path Parameters

id
string
required

Provider ID

Response

Validation result

Validation result response

error
string
Example:

""

valid
boolean
Example:

true