Home
PostHog
PostHog API — warehouse_tables
PostHog API — warehouse_tables
PostHog API — warehouse_tables. 18 operations. Lead operation: warehouse_tables. Self-contained Naftiko capability covering one Posthog business surface.
What You Can Do
GET
Environmentswarehousetableslist
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/environments/{environment-id}/warehouse-tables
POST
Environmentswarehousetablescreate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/environments/{environment-id}/warehouse-tables
POST
Environmentswarehousetablesfilecreate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/environments/{environment-id}/warehouse-tables/file
GET
Environmentswarehousetablesretrieve
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/environments/{environment-id}/warehouse-tables/{id}
PUT
Environmentswarehousetablesupdate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/environments/{environment-id}/warehouse-tables/{id}
PATCH
Environmentswarehousetablespartialupdate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/environments/{environment-id}/warehouse-tables/{id}
DELETE
Environmentswarehousetablesdestroy
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/environments/{environment-id}/warehouse-tables/{id}
POST
Environmentswarehousetablesrefreshschemacreate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/environments/{environment-id}/warehouse-tables/{id}/refresh-schema
POST
Environmentswarehousetablesupdateschemacreate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/environments/{environment-id}/warehouse-tables/{id}/update-schema
GET
Warehousetableslist
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/projects/{project-id}/warehouse-tables
POST
Warehousetablescreate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/projects/{project-id}/warehouse-tables
POST
Warehousetablesfilecreate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/projects/{project-id}/warehouse-tables/file
GET
Warehousetablesretrieve
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/projects/{project-id}/warehouse-tables/{id}
PUT
Warehousetablesupdate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/projects/{project-id}/warehouse-tables/{id}
PATCH
Warehousetablespartialupdate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/projects/{project-id}/warehouse-tables/{id}
DELETE
Warehousetablesdestroy
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/projects/{project-id}/warehouse-tables/{id}
POST
Warehousetablesrefreshschemacreate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/projects/{project-id}/warehouse-tables/{id}/refresh-schema
POST
Warehousetablesupdateschemacreate
— Create, Read, Update and Delete Warehouse Tables.
/v1/api/projects/{project-id}/warehouse-tables/{id}/update-schema
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: PostHog API — warehouse_tables
description: 'PostHog API — warehouse_tables. 18 operations. Lead operation: warehouse_tables. Self-contained Naftiko capability
covering one Posthog business surface.'
tags:
- Posthog
- warehouse_tables
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
POSTHOG_API_KEY: POSTHOG_API_KEY
capability:
consumes:
- type: http
namespace: posthog-warehouse-tables
baseUri: ''
description: PostHog API — warehouse_tables business capability. Self-contained, no shared references.
resources:
- name: api-environments-environment_id-warehouse_tables
path: /api/environments/{environment_id}/warehouse_tables/
operations:
- name: environmentswarehousetableslist
method: GET
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: limit
in: query
type: integer
description: Number of results to return per page.
- name: offset
in: query
type: integer
description: The initial index from which to return the results.
- name: search
in: query
type: string
description: A search term.
- name: environmentswarehousetablescreate
method: POST
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: api-environments-environment_id-warehouse_tables-file
path: /api/environments/{environment_id}/warehouse_tables/file/
operations:
- name: environmentswarehousetablesfilecreate
method: POST
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: api-environments-environment_id-warehouse_tables-id
path: /api/environments/{environment_id}/warehouse_tables/{id}/
operations:
- name: environmentswarehousetablesretrieve
method: GET
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: environmentswarehousetablesupdate
method: PUT
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: environmentswarehousetablespartialupdate
method: PATCH
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: environmentswarehousetablesdestroy
method: DELETE
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: api-environments-environment_id-warehouse_tables-id-refresh_schema
path: /api/environments/{environment_id}/warehouse_tables/{id}/refresh_schema/
operations:
- name: environmentswarehousetablesrefreshschemacreate
method: POST
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: api-environments-environment_id-warehouse_tables-id-update_schema
path: /api/environments/{environment_id}/warehouse_tables/{id}/update_schema/
operations:
- name: environmentswarehousetablesupdateschemacreate
method: POST
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: api-projects-project_id-warehouse_tables
path: /api/projects/{project_id}/warehouse_tables/
operations:
- name: warehousetableslist
method: GET
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: limit
in: query
type: integer
description: Number of results to return per page.
- name: offset
in: query
type: integer
description: The initial index from which to return the results.
- name: search
in: query
type: string
description: A search term.
- name: warehousetablescreate
method: POST
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: api-projects-project_id-warehouse_tables-file
path: /api/projects/{project_id}/warehouse_tables/file/
operations:
- name: warehousetablesfilecreate
method: POST
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: api-projects-project_id-warehouse_tables-id
path: /api/projects/{project_id}/warehouse_tables/{id}/
operations:
- name: warehousetablesretrieve
method: GET
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: warehousetablesupdate
method: PUT
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: warehousetablespartialupdate
method: PATCH
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: warehousetablesdestroy
method: DELETE
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: api-projects-project_id-warehouse_tables-id-refresh_schema
path: /api/projects/{project_id}/warehouse_tables/{id}/refresh_schema/
operations:
- name: warehousetablesrefreshschemacreate
method: POST
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: api-projects-project_id-warehouse_tables-id-update_schema
path: /api/projects/{project_id}/warehouse_tables/{id}/update_schema/
operations:
- name: warehousetablesupdateschemacreate
method: POST
description: Create, Read, Update and Delete Warehouse Tables.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: A UUID string identifying this data warehouse table.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
authentication:
type: bearer
token: '{{env.POSTHOG_API_KEY}}'
exposes:
- type: rest
namespace: posthog-warehouse-tables-rest
port: 8080
description: REST adapter for PostHog API — warehouse_tables. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/api/environments/{environment-id}/warehouse-tables
name: api-environments-environment-id-warehouse-tables
description: REST surface for api-environments-environment_id-warehouse_tables.
operations:
- method: GET
name: environmentswarehousetableslist
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.environmentswarehousetableslist
with:
limit: rest.limit
offset: rest.offset
search: rest.search
outputParameters:
- type: object
mapping: $.
- method: POST
name: environmentswarehousetablescreate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.environmentswarehousetablescreate
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/environments/{environment-id}/warehouse-tables/file
name: api-environments-environment-id-warehouse-tables-file
description: REST surface for api-environments-environment_id-warehouse_tables-file.
operations:
- method: POST
name: environmentswarehousetablesfilecreate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.environmentswarehousetablesfilecreate
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/environments/{environment-id}/warehouse-tables/{id}
name: api-environments-environment-id-warehouse-tables-id
description: REST surface for api-environments-environment_id-warehouse_tables-id.
operations:
- method: GET
name: environmentswarehousetablesretrieve
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.environmentswarehousetablesretrieve
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: PUT
name: environmentswarehousetablesupdate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.environmentswarehousetablesupdate
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: PATCH
name: environmentswarehousetablespartialupdate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.environmentswarehousetablespartialupdate
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: environmentswarehousetablesdestroy
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.environmentswarehousetablesdestroy
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/api/environments/{environment-id}/warehouse-tables/{id}/refresh-schema
name: api-environments-environment-id-warehouse-tables-id-refresh-schema
description: REST surface for api-environments-environment_id-warehouse_tables-id-refresh_schema.
operations:
- method: POST
name: environmentswarehousetablesrefreshschemacreate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.environmentswarehousetablesrefreshschemacreate
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/environments/{environment-id}/warehouse-tables/{id}/update-schema
name: api-environments-environment-id-warehouse-tables-id-update-schema
description: REST surface for api-environments-environment_id-warehouse_tables-id-update_schema.
operations:
- method: POST
name: environmentswarehousetablesupdateschemacreate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.environmentswarehousetablesupdateschemacreate
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/projects/{project-id}/warehouse-tables
name: api-projects-project-id-warehouse-tables
description: REST surface for api-projects-project_id-warehouse_tables.
operations:
- method: GET
name: warehousetableslist
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.warehousetableslist
with:
limit: rest.limit
offset: rest.offset
search: rest.search
outputParameters:
- type: object
mapping: $.
- method: POST
name: warehousetablescreate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.warehousetablescreate
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/projects/{project-id}/warehouse-tables/file
name: api-projects-project-id-warehouse-tables-file
description: REST surface for api-projects-project_id-warehouse_tables-file.
operations:
- method: POST
name: warehousetablesfilecreate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.warehousetablesfilecreate
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/projects/{project-id}/warehouse-tables/{id}
name: api-projects-project-id-warehouse-tables-id
description: REST surface for api-projects-project_id-warehouse_tables-id.
operations:
- method: GET
name: warehousetablesretrieve
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.warehousetablesretrieve
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- method: PUT
name: warehousetablesupdate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.warehousetablesupdate
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: PATCH
name: warehousetablespartialupdate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.warehousetablespartialupdate
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: warehousetablesdestroy
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.warehousetablesdestroy
with:
id: rest.id
outputParameters:
- type: object
mapping: $.
- path: /v1/api/projects/{project-id}/warehouse-tables/{id}/refresh-schema
name: api-projects-project-id-warehouse-tables-id-refresh-schema
description: REST surface for api-projects-project_id-warehouse_tables-id-refresh_schema.
operations:
- method: POST
name: warehousetablesrefreshschemacreate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.warehousetablesrefreshschemacreate
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/projects/{project-id}/warehouse-tables/{id}/update-schema
name: api-projects-project-id-warehouse-tables-id-update-schema
description: REST surface for api-projects-project_id-warehouse_tables-id-update_schema.
operations:
- method: POST
name: warehousetablesupdateschemacreate
description: Create, Read, Update and Delete Warehouse Tables.
call: posthog-warehouse-tables.warehousetablesupdateschemacreate
with:
id: rest.id
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: posthog-warehouse-tables-mcp
port: 9090
transport: http
description: MCP adapter for PostHog API — warehouse_tables. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: create-read-update-and-delete
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: true
destructive: false
idempotent: true
call: posthog-warehouse-tables.environmentswarehousetableslist
with:
limit: tools.limit
offset: tools.offset
search: tools.search
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-2
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: false
call: posthog-warehouse-tables.environmentswarehousetablescreate
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-3
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: false
call: posthog-warehouse-tables.environmentswarehousetablesfilecreate
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-4
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: true
destructive: false
idempotent: true
call: posthog-warehouse-tables.environmentswarehousetablesretrieve
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-5
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: true
call: posthog-warehouse-tables.environmentswarehousetablesupdate
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-6
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: true
call: posthog-warehouse-tables.environmentswarehousetablespartialupdate
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-7
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: true
idempotent: true
call: posthog-warehouse-tables.environmentswarehousetablesdestroy
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-8
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: false
call: posthog-warehouse-tables.environmentswarehousetablesrefreshschemacreate
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-9
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: false
call: posthog-warehouse-tables.environmentswarehousetablesupdateschemacreate
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-10
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: true
destructive: false
idempotent: true
call: posthog-warehouse-tables.warehousetableslist
with:
limit: tools.limit
offset: tools.offset
search: tools.search
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-11
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: false
call: posthog-warehouse-tables.warehousetablescreate
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-12
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: false
call: posthog-warehouse-tables.warehousetablesfilecreate
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-13
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: true
destructive: false
idempotent: true
call: posthog-warehouse-tables.warehousetablesretrieve
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-14
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: true
call: posthog-warehouse-tables.warehousetablesupdate
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-15
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: true
call: posthog-warehouse-tables.warehousetablespartialupdate
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-16
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: true
idempotent: true
call: posthog-warehouse-tables.warehousetablesdestroy
with:
id: tools.id
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-17
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: false
call: posthog-warehouse-tables.warehousetablesrefreshschemacreate
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: create-read-update-and-delete-18
description: Create, Read, Update and Delete Warehouse Tables.
hints:
readOnly: false
destructive: false
idempotent: false
call: posthog-warehouse-tables.warehousetablesupdateschemacreate
with:
id: tools.id
body: tools.body
outputParameters:
- type: object
mapping: $.