PostHog Feature Flags API

The feature_flags API from PostHog — 19 operation(s) for feature_flags.

Business capability
Feature Flag Management BC-4210.50

Operations 23

GET /api/projects/{project_id}/feature_flags/ Feature flags list #
POST /api/projects/{project_id}/feature_flags/ Feature flags create #
GET /api/projects/{project_id}/feature_flags/{id}/ Feature flags retrieve #
PUT /api/projects/{project_id}/feature_flags/{id}/ Feature flags update #
PATCH /api/projects/{project_id}/feature_flags/{id}/ Feature flags partial update #
DELETE /api/projects/{project_id}/feature_flags/{id}/ Feature flags destroy #
GET /api/projects/{project_id}/feature_flags/{id}/activity/ Feature flags activity retrieve #
POST /api/projects/{project_id}/feature_flags/{id}/create_static_cohort_for_flag/ Feature flags create static cohort for flag create #
POST /api/projects/{project_id}/feature_flags/{id}/dashboard/ Feature flags dashboard create #
GET /api/projects/{project_id}/feature_flags/{id}/dependent_flags/ Feature flags dependent flags list #
POST /api/projects/{project_id}/feature_flags/{id}/enrich_usage_dashboard/ Feature flags enrich usage dashboard create #
GET /api/projects/{project_id}/feature_flags/{id}/remote_config/ Feature flags remote config retrieve #
GET /api/projects/{project_id}/feature_flags/{id}/status/ Feature flags status retrieve #
GET /api/projects/{project_id}/feature_flags/{id}/versions/{version_number}/ Feature flags versions retrieve #
GET /api/projects/{project_id}/feature_flags/activity/ Feature flags all activity retrieve #
POST /api/projects/{project_id}/feature_flags/bulk_delete/ Feature flags bulk delete create #
POST /api/projects/{project_id}/feature_flags/bulk_keys/ Feature flags bulk keys create #
POST /api/projects/{project_id}/feature_flags/bulk_update_tags/ Feature flags bulk update tags create #
GET /api/projects/{project_id}/feature_flags/evaluation_reasons/ Feature flags evaluation reasons retrieve #
GET /api/projects/{project_id}/feature_flags/local_evaluation/ Feature flags local evaluation retrieve #
GET /api/projects/{project_id}/feature_flags/matching_ids/ Feature flags matching ids retrieve #
GET /api/projects/{project_id}/feature_flags/my_flags/ Feature flags my flags retrieve #
POST /api/projects/{project_id}/feature_flags/user_blast_radius/ Feature flags user blast radius create #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/posthog-feature-flags-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

posthog-feature-flags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PostHog Feature Flags API
  version: 1.0.0
  description: ''
tags:


# --- truncated at 32 KB (66 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/posthog/refs/heads/main/openapi/posthog-feature-flags-api-openapi.yml