llm_analytics

get/api/projects/{project_id}/llm_analytics/provider_keys/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/llm_analytics/provider_keys/{id}/
  • Auth: HTTP bearer

Path parameters

idstring uuid required

A UUID string identifying this llm provider key.

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/.

Response

idstring uuid required
provider'openai' | 'anthropic' | 'gemini' | 'openrouter' | 'fireworks' | 'azure_openai' | 'together_ai' | 'minimax' | 'zeabur' | 'system_one' | 'openai_compatible' required
  • openai - Openai
  • anthropic - Anthropic
  • gemini - Gemini
  • openrouter - Openrouter
  • fireworks - Fireworks
  • azure_openai - Azure OpenAI
  • together_ai - Together AI
  • minimax - MiniMax
  • zeabur - Zeabur AI Hub
  • system_one - System One
  • openai_compatible - OpenAI-compatible
namestring required
state'unknown' | 'ok' | 'invalid' | 'error' required
  • unknown - Unknown
  • ok - Ok
  • invalid - Invalid
  • error - Error
error_messagestring nullable required
api_keystring
api_key_maskedstring required
base_urlstring uri

Public HTTPS base URL of an OpenAI-compatible or System One API. For System One, end before /systemone.

system_one_modelstring

Model ID served by the System One endpoint.

base_url_displaystring nullable required

Configured provider base URL (read-only, for display)

system_one_model_displaystring nullable required

Configured System One model ID.

azure_endpointstring uri

Azure OpenAI endpoint URL

api_versionstring

Azure OpenAI API version

azure_endpoint_displaystring nullable required

Azure endpoint (read-only, for display)

api_version_displaystring nullable required

Azure API version (read-only, for display)

set_as_activeboolean
created_atstring date-time required
last_used_atstring date-time nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.