Skip to main content
GET
/
provider
Get Providers
curl --request GET \
  --url https://api.trugen.ai/v1/provider \
  --header 'x-api-key: <api-key>'
[
  {
    "display_name": "GPT OSS 120B",
    "provider": "groq or openai",
    "provider_name": "Groq or OpenAI",
    "provider_type": "stt, llm or tts",
    "model": "gpt-4.1-mini",
    "additional_fields": [
      {
        "name": "voice_id",
        "type": "ENUM",
        "items": [
          {
            "label": "Chole",
            "value": "21m00Tcm4TlvDq8ikWAM"
          },
          {
            "label": "Lisa",
            "value": "ZUrEGyu8GFMwnHbvLhv2"
          },
          {
            "label": "Aman",
            "value": "rFzjTA9NFWPsUdx39OwG"
          }
        ],
        "label": "Voice",
        "default_value": "ZUrEGyu8GFMwnHbvLhv2"
      }
    ]
  }
]

Authorizations

x-api-key
string
header
required

Response

A list of providers and their details.

display_name
string

A user friendly name of the model or entity.

Example:

"GPT OSS 120B"

provider
string

Name of the provider to be used while creating an agent.

Example:

"groq or openai"

provider_name
string

A user friendly name of the provider company..

Example:

"Groq or OpenAI"

provider_type
string

Type of the provider indicating if this entry is an STT, LLM or TTS.

Example:

"stt, llm or tts"

model
string

Name of the model to be used while creating an agent.

Example:

"gpt-4.1-mini"

additional_fields
object

This field represents any additional fields or configuration required for the model. For example this could be audio synthesis settings for your TTS model.

Example:
[
{
"name": "voice_id",
"type": "ENUM",
"items": [
{
"label": "Chole",
"value": "21m00Tcm4TlvDq8ikWAM"
},
{
"label": "Lisa",
"value": "ZUrEGyu8GFMwnHbvLhv2"
},
{
"label": "Aman",
"value": "rFzjTA9NFWPsUdx39OwG"
}
],
"label": "Voice",
"default_value": "ZUrEGyu8GFMwnHbvLhv2"
}
]