Returns the current AI_PLATFORM_* environment variable values with the API key masked (e.g. 'sk-...xxxx').…
bearerAuth In: header
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/admin/ai-providers/env-preview"{
"hasEnvConfig": true,
"provider": "openai",
"baseUrl": "https://api.example.com/v1",
"model": "example-model",
"openAiEndpointMode": "chat_completions",
"maxOutputTokensField": "max_tokens",
"supportsThinkingMode": false,
"thinkingMode": "provider_default",
"minimumThinkingTokens": null,
"omitSamplingWhenThinking": false,
"apiKeyMasked": "pro...abcd"
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}Try it
Your API key is sent directly to the Convor API from your browser and is never stored on this site.
Was this page helpful?
Test a platform-wide AI provider connection
Sends a short probe message to the provider using its stored API key and returns a truncated model reply.…
Import a platform AI provider from AI_PLATFORM_* env
Creates a new instance-wide AI provider from the current AI_PLATFORM_* environment variables. The API key is encrypted at rest; the response never includes it.…