Get the OpenAPI spec for an endpoint
One step with PostHog. We can help you get access.
Look something up
Get the OpenAPI spec for an endpoint
with PostHog
Use PostHog: its PostHog Endpoints API lets you get the OpenAPI spec for an endpoint in a single step (GET /api/projects/{project_id}/endpoints/{name}/openapi.json/). capabilities.work can help you get signed up and connected.
- Can I generate a typed client for my custom endpoint?
- Where do I get the OpenAPI 3.0 spec for an endpoint?
Say it to your AI assistant
- Get the OpenAPI spec for endpoint {name} in project {project_id}.
- Generate a typed SDK client for endpoint {name} in project {project_id}.
For your developer
GET /api/projects/{project_id}/endpoints/{name}/openapi.json/ in PostHog Endpoints API. Full spec on APIs.io.