provider llm_analytics PATCH /api/projects/{project_id}/llm_analytics/provider_keys/{id}/
@utdk/posthog /api/projects/{project_id}/llm_analytics/provider_keys/{id}/
llm_analytics_provider_keys_partial_update
id path required
A UUID string identifying this llm provider key.
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

Try it

Authentication
Configure credentials for PostHog API
llmAnalyticsProviderKeysPartialUpdate
PATCH/api/projects/{project_id}/llm_analytics/provider_keys/{id}/

Parameters

required

A UUID string identifying this llm provider key.

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

* `openai` - Openai * `anthropic` - Anthropic * `gemini` - Gemini * `openrouter` - Openrouter * `fireworks` - Fireworks * `azure_openai` - Azure OpenAI * `together_ai` - Together AI * `minimax` - MiniMax * `zeabur` - Zeabur AI Hub

Azure OpenAI endpoint URL

Azure OpenAI API version

Azure endpoint (read-only, for display)

Azure API version (read-only, for display)

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.llmAnalyticsProviderKeysPartialUpdate({
  "set_as_active": false
})