Validate all provider configurations for an organization to check if they can be used.
GEThttps://api.aitronos.com/v1/organizations/{organization_id}/providers/validate
organization_id string required
Organization ID (org_ prefixed string).
Object mapping provider names to validation results.
Bash
- Bash
- Python
- JavaScript
curl "https://api.aitronos.com/v1/organizations/org_abc123/providers/validate" \
-H "X-API-Key: $FREDDY_API_KEY"Response:
{
"openai": {
"provider_name": "openai",
"exists": true,
"is_active": true,
"has_credentials": true,
"can_be_used": true
},
"anthropic": {
"provider_name": "anthropic",
"exists": true,
"is_active": true,
"has_credentials": false,
"can_be_used": true
},
"google": {
"provider_name": "google",
"exists": true,
"is_active": false,
"has_credentials": false,
"can_be_used": false
}
}