provider llm_analytics GET
/api/projects/{project_id}/llm_analytics/models/ @utdk/posthog
/api/projects/{project_id}/llm_analytics/models/ llm_analytics_models_retrieve
List available models for a provider.
- key_id query
- 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). Must belong to the same provider as the `provider` parameter.
- string
- project_id path required
- Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- string
- provider query required
- LLM provider to list models for. Must be one of the supported providers.
- enum: anthropic, azure_openai, fireworks, gemini…
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.llmAnalyticsModelsRetrieve()