PostHog Warehouse Tables API

The warehouse_tables API from PostHog — 10 operation(s) for warehouse_tables.

GitHub OpenAPI

Operations 18

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/environments/{environment_id}/warehouse_tables/ List warehouse tables in an environment · Environments warehouse tables list #
Ask an LLM
“Which warehouse tables are set up in my legacy environment?”
“Can I search the warehouse tables of an environment by name?”
Tell an agent
List warehouse tables in environment {environment_id}.
Find warehouse tables in {environment_id} matching {search}.
POST /api/environments/{environment_id}/warehouse_tables/ Create a warehouse table in an environment · Environments warehouse tables create #
Ask an LLM
“How do I add a new warehouse table to an environment?”
“What columns and format does a new environment warehouse table need?”
Tell an agent
Create warehouse table {name} in environment {environment_id} with format {format}.
Add a new environment warehouse table {name} using credential {credential}.
GET /api/environments/{environment_id}/warehouse_tables/{id}/ Get a warehouse table in an environment · Environments warehouse tables retrieve #
Ask an LLM
“What format and credential does a specific warehouse table in an environment use?”
“Can I look up one environment warehouse table by ID?”
Tell an agent
Get warehouse table {id} in environment {environment_id}.
Show the format of environment warehouse table {id} in {environment_id}.
PUT /api/environments/{environment_id}/warehouse_tables/{id}/ Replace a warehouse table in an environment · Environments warehouse tables update #
Ask an LLM
“How do I overwrite an existing warehouse table in an environment?”
“Can I change the format of an environment warehouse table?”
Tell an agent
Replace warehouse table {id} in environment {environment_id} with format {format}.
Overwrite environment warehouse table {id} using credential {credential}.
PATCH /api/environments/{environment_id}/warehouse_tables/{id}/ Update a warehouse table (legacy endpoint) · Environments warehouse tables partial update #
Ask an LLM
“Can I change the column list on a warehouse table through the legacy environment endpoint?”
“Is there a deprecated endpoint for warehouse tables by environment?”
Tell an agent
Update the legacy warehouse table {id} in environment {environment_id}.
Rename the legacy warehouse table {id} to {name} in environment {environment_id}.
DELETE /api/environments/{environment_id}/warehouse_tables/{id}/ Delete a warehouse table in an environment · Environments warehouse tables destroy #
Ask an LLM
“How do I remove a warehouse table from an environment?”
“Can I delete an environment warehouse table by ID?”
Tell an agent destructive · confirm first
Delete warehouse table {id} from environment {environment_id}.
Remove environment warehouse table {id} in {environment_id}.
POST /api/environments/{environment_id}/warehouse_tables/{id}/refresh_schema/ Refresh a warehouse table's schema in an environment · Environments warehouse tables refresh schema create #
Ask an LLM
“How do I reload the schema of a warehouse table in an environment?”
“Can I refresh an environment warehouse table's column list?”
Tell an agent
Refresh the schema of warehouse table {id} in environment {environment_id}.
Reload environment warehouse table {id} in {environment_id} with columns {columns}.
POST /api/environments/{environment_id}/warehouse_tables/{id}/update_schema/ Update a warehouse table's schema in an environment · Environments warehouse tables update schema create #
Ask an LLM
“How do I update a warehouse table's schema in an environment?”
“Can I change the external schema of an environment warehouse table?”
Tell an agent
Update the schema of warehouse table {id} in environment {environment_id}.
Point environment warehouse table {id} in {environment_id} at external schema {external_schema}.
POST /api/environments/{environment_id}/warehouse_tables/file/ Create a warehouse table from a file in an environment · Environments warehouse tables file create #
Ask an LLM
“How do I create a warehouse table from a file in an environment?”
“Can I load a file into an environment warehouse table?”
Tell an agent
Create a warehouse table from a file in environment {environment_id}.
Load a file into environment warehouse table {id} in {environment_id}.
GET /api/projects/{project_id}/warehouse_tables/ List warehouse tables · Warehouse tables list #
Ask an LLM
“Which tables are set up for warehouse sync in my project?”
“Can I search warehouse tables by name?”
Tell an agent
List the warehouse tables in project {project_id}.
Find warehouse tables in project {project_id} matching {search}.
POST /api/projects/{project_id}/warehouse_tables/ Create a warehouse table in a project · Warehouse tables create #
Ask an LLM
“How do I add a new warehouse table to a project?”
“What columns and format does a new project warehouse table need?”
Tell an agent
Create warehouse table {name} in project {project_id} with format {format}.
Add a new project warehouse table {name} using credential {credential}.
GET /api/projects/{project_id}/warehouse_tables/{id}/ Get a warehouse table in a project · Warehouse tables retrieve #
Ask an LLM
“What format and credential does a specific warehouse table in a project use?”
“Can I look up one project warehouse table by ID?”
Tell an agent
Get warehouse table {id} in project {project_id}.
Show the format of project warehouse table {id} in {project_id}.
PUT /api/projects/{project_id}/warehouse_tables/{id}/ Replace a warehouse table in a project · Warehouse tables update #
Ask an LLM
“How do I overwrite an existing warehouse table in a project?”
“Can I change the format of a project warehouse table?”
Tell an agent
Replace warehouse table {id} in project {project_id} with format {format}.
Overwrite project warehouse table {id} using credential {credential}.
PATCH /api/projects/{project_id}/warehouse_tables/{id}/ Update a warehouse table · Warehouse tables partial update #
Ask an LLM
“How do I change the format of a warehouse table?”
“Can I point a warehouse table at an external data source?”
Tell an agent
Update warehouse table {id} in project {project_id}.
Set the warehouse table {id} in project {project_id} to use {format}.
DELETE /api/projects/{project_id}/warehouse_tables/{id}/ Delete a warehouse table in a project · Warehouse tables destroy #
Ask an LLM
“How do I remove a warehouse table from a project?”
“Can I delete a project warehouse table by ID?”
Tell an agent destructive · confirm first
Delete warehouse table {id} from project {project_id}.
Remove project warehouse table {id} in {project_id}.
POST /api/projects/{project_id}/warehouse_tables/{id}/refresh_schema/ Refresh a warehouse table's schema in a project · Warehouse tables refresh schema create #
Ask an LLM
“How do I reload the schema of a warehouse table in a project?”
“Can I refresh a project warehouse table's column list?”
Tell an agent
Refresh the schema of warehouse table {id} in project {project_id}.
Reload project warehouse table {id} in {project_id} with columns {columns}.
POST /api/projects/{project_id}/warehouse_tables/{id}/update_schema/ Update a warehouse table's schema in a project · Warehouse tables update schema create #
Ask an LLM
“How do I update a warehouse table's schema in a project?”
“Can I change the external schema of a project warehouse table?”
Tell an agent
Update the schema of warehouse table {id} in project {project_id}.
Point project warehouse table {id} in {project_id} at external schema {external_schema}.
POST /api/projects/{project_id}/warehouse_tables/file/ Create a warehouse table from a file in a project · Warehouse tables file create #
Ask an LLM
“How do I create a warehouse table from a file in a project?”
“Can I load a file into a project warehouse table?”
Tell an agent
Create a warehouse table from a file in project {project_id}.
Load a file into project warehouse table {id} in {project_id}.

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:posthog-warehouse-tables-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

posthog-warehouse-tables-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PostHog Warehouse Tables API
  version: 1.0.0
  description: ''
tags:


# --- truncated at 32 KB (34 KB total) ---
# Full source: https://artifacts.apis.io/posthog/openapi/posthog-warehouse-tables-api-openapi.yml