API ReferenceLLM Providers
List models for provider
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication. Include your API key in the Authorization header as Bearer rf_your_key.
In: header
Path Parameters
provider*string
Provider to list models for (openrouter, anthropic, openai, ollama)
Response Body
application/json
application/problem+json
curl -X GET "http://localhost:8080/api/v1/llm/models/string"{
"models": [
{
"context_size": 0,
"description": "string",
"id": "string",
"is_free": true,
"name": "string"
}
]
}{
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "string",
"message": "string",
"value": null
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example"
}