PostHog · Schema

LLMProviderKey

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string
provider object
name string
state object
error_message string
api_key string
api_key_masked string
azure_endpoint string Azure OpenAI endpoint URL
api_version string Azure OpenAI API version
azure_endpoint_display string Azure endpoint (read-only, for display)
api_version_display string Azure API version (read-only, for display)
set_as_active boolean
created_at string
created_by object
last_used_at string
View JSON Schema on GitHub

JSON Schema

posthog-llmproviderkey-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LLMProviderKey",
  "title": "LLMProviderKey",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "provider": {
      "$ref": "#/components/schemas/LLMProviderEnum"
    },
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "state": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LLMProviderKeyStateEnum"
        }
      ],
      "readOnly": true
    },
    "error_message": {
      "type": "string",
      "readOnly": true,
      "nullable": true
    },
    "api_key": {
      "type": "string",
      "writeOnly": true
    },
    "api_key_masked": {
      "type": "string",
      "readOnly": true
    },
    "azure_endpoint": {
      "type": "string",
      "format": "uri",
      "writeOnly": true,
      "description": "Azure OpenAI endpoint URL"
    },
    "api_version": {
      "type": "string",
      "writeOnly": true,
      "description": "Azure OpenAI API version",
      "maxLength": 20
    },
    "azure_endpoint_display": {
      "type": "string",
      "nullable": true,
      "readOnly": true,
      "description": "Azure endpoint (read-only, for display)"
    },
    "api_version_display": {
      "type": "string",
      "nullable": true,
      "readOnly": true,
      "description": "Azure API version (read-only, for display)"
    },
    "set_as_active": {
      "type": "boolean",
      "writeOnly": true,
      "default": false
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "created_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserBasic"
        }
      ],
      "readOnly": true
    },
    "last_used_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true,
      "nullable": true
    }
  },
  "required": [
    "api_key_masked",
    "api_version_display",
    "azure_endpoint_display",
    "created_at",
    "created_by",
    "error_message",
    "id",
    "last_used_at",
    "name",
    "provider",
    "state"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/posthog-llmproviderkey"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.