llm_analytics
List available models, for one provider or for every supported provider.
get/api/projects/{project_id}/llm_analytics/models/
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/llm_analytics/models/
- Auth: HTTP bearer
Path parameters
project_idstring required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
key_idstring uuid
Optional provider key UUID. When supplied, models reachable with that specific key are returned (useful for Azure OpenAI, where the deployment list depends on the configured endpoint). A key belongs to exactly one provider, so provider may be omitted alongside it; when both are given they must agree.
provider'anthropic' | 'azure_openai' | 'fireworks' | 'gemini' | 'minimax' | 'openai' | 'openai_compatible' | 'openrouter' | 'system_one' | 'together_ai' | 'zeabur'
LLM provider to list models for. Omit it to list every supported provider and its models in one call.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.