chore(codegen): daily schema refresh (2026-05-23)#15
Open
timgl wants to merge 1 commit into
Open
Conversation
Regenerate src/generated/api.d.ts from the live PostHog OpenAPI schema. Changes are additive — new optional fields and richer descriptions on existing schemas (TrendsFilter, Team, ExperimentSavedMetric, RetentionFilter, WebOverviewQuery, etc.), a new ParserMode enum, and a new prompt_name list filter on experiments_list. No managed operationIds disappeared from the live spec and no new managed operationIds were needed. Generated-By: PostHog Code Task-Id: ba621e2b-24f8-463b-a504-47c4c23b5dba
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Daily refresh of
src/generated/api.d.tsagainst the live PostHog OpenAPI schema.src/generated/api.d.ts. Entirely additive — new optional fields and enriched descriptions on already-managed schemas.openapi-filter.yamlunchanged.experiments_recalculate_timeseries_create), or (b) belong to unmanaged resource families (logs, surveys, hog_flows, llm_analytics, warehouse, …) that we deliberately don't expose. PUT variants (*_update) on resources where we manage PATCH (*_partial_update) were also skipped — we standardize on PATCH for IaC.openapi-filter.yamlare still present in the live spec.ParserModeenum +parserModeon HogQL query options.resultCustomizationson chart settings,usedLazyPrecomputeon query response metadata,cohortLabelStartIndexon RetentionFilter,useWebAnalyticsPrecomputeon WebOverviewQuery.query, name/description docs onExperimentSavedMetric/PatchedExperimentSavedMetric.test_account_filtersonTeam/PatchedTeam, populatedTeamCustomerAnalyticsConfigschema.prompt_namequery param onexperiments_list.kinddiscriminator fields onActionsNode/EventsNode/ExperimentDataWarehouseNodereflowed from@constantto@enum(no semantic change — still a single-value discriminator).Test plan
pnpm install --frozen-lockfilepnpm codegenpnpm typecheck— cleanpnpm test— 291 / 291 passingTaskRun:
ba621e2b-24f8-463b-a504-47c4c23b5dba