---
title: "Get Posthog Schema"
method: GET
path: "/api/integrations/posthog/schema"
tags: ["integrations"]
---

# Get Posthog Schema

`GET /api/integrations/posthog/schema`

## Request

- Base URL: `https://platform.verbiflow.com/api/bridge`
- URL: `https://platform.verbiflow.com/api/bridge/api/integrations/posthog/schema`
- Auth: one of:
  - HTTP bearer and API key in header `x-flage-org-id`
  - HTTP bearer and API key in header `x-flage-org-slug`

## Query parameters

- `lookback_days` integer

## Response `200`

Successful Response

- PostHogSchemaResponse
  - `events` PostHogSchemaEvent[], required
    - `count` integer, required
    - `last_seen_at` string, nullable, required
    - `name` string, required
  - `lookback_days` integer, required
  - `project_id` integer, required
  - `region` 'us' | 'eu', required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract.md) - [All operations](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/llms.txt) - [OpenAPI document](https://skmtc.dev/verbiflow/apis/verbiflow-sdk-http-contract/revisions/c80e903ef8f3?raw)
