getAIProvider
GET
/api/v1/ai/provider
const url = 'https://example.com/api/v1/ai/provider';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/ai/providerResponses
Section titled “ Responses ”OK
Media typeapplication/json
object
api_key_secret_key
Global secret key that holds the API key.
string
auto_triage
required
boolean
base_url
Empty uses the default URL of the type.
string
configured
required
boolean
model
string
type
string
key
additional properties
any
Example
{ "type": "anthropic"}default
Section titled “default”Error
Media typeapplication/json
object
error
required
object
code
required
string
details
message
required
string
key
additional properties
any
key
additional properties
any
Examplegenerated
{ "error": { "code": "example", "details": "example", "message": "example" }}