Skip to main content
GET
/
v1
/
misc
/
llm_providers
/
{provider_identifier}
/
models
List Llm Models
curl --request GET \
  --url https://api.example.com/v1/misc/llm_providers/{provider_identifier}/models \
  --header 'x-api-key: <api-key>'
[
  {
    "model_id": "<string>",
    "display_name": "<string>",
    "tier": 1,
    "description": "<string>"
  }
]
List available models for a specific LLM provider. Use the model_id value as the agent’s model_name field when creating or updating an agent.

Path Parameters

provider_identifier
string
required
The provider’s internal_identifier from List LLM Providers (e.g., openai, anthropic)

Response

Returns an array of LLMModelItem objects.
model_id
string
Model identifier — use this as the model_name field when creating/updating agents
display_name
string
Human-friendly model name
tier
integer
Model tier level (1 = standard, higher = premium)
description
string
Brief description of the model’s capabilities

Example Request

curl -X GET -H "x-api-key: <your-api-key>" \
  "https://api.xpander.ai/v1/misc/llm_providers/openai/models"

Notes

  • Returns 404 if the provider identifier is not found
  • Use the model_id value as the agent’s model_name field
  • Models are organized by tier — higher tiers indicate more capable (and more expensive) models

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

provider_identifier
string
required

Response

Successful Response

model_id
string
required

The model identifier to use in agent configuration. Set this as the agent's model_name field (e.g., 'claude-sonnet-4-6', 'gpt-4o').

display_name
string | null

Human-readable name of the model for display purposes.

tier
integer | null
default:1

Model capability tier. Higher tiers indicate more capable (and typically more expensive) models. Tier 1 is standard, higher tiers are premium.

description
string | null

Brief description of the model's capabilities and recommended use cases.