naftiko: 1.0.0-alpha2 info: label: PostHog API — warehouse_dag description: 'PostHog API — warehouse_dag. 1 operations. Lead operation: warehouse_dag. Self-contained Naftiko capability covering one Posthog business surface.' tags: - Posthog - warehouse_dag 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-dag baseUri: '' description: PostHog API — warehouse_dag business capability. Self-contained, no shared references. resources: - name: api-projects-project_id-warehouse_dag path: /api/projects/{project_id}/warehouse_dag/ operations: - name: warehousedaglist method: GET description: Return this team's DAG as a set of edges and nodes outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.POSTHOG_API_KEY}}' exposes: - type: rest namespace: posthog-warehouse-dag-rest port: 8080 description: REST adapter for PostHog API — warehouse_dag. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/projects/{project-id}/warehouse-dag name: api-projects-project-id-warehouse-dag description: REST surface for api-projects-project_id-warehouse_dag. operations: - method: GET name: warehousedaglist description: Return this team's DAG as a set of edges and nodes call: posthog-warehouse-dag.warehousedaglist outputParameters: - type: object mapping: $. - type: mcp namespace: posthog-warehouse-dag-mcp port: 9090 transport: http description: MCP adapter for PostHog API — warehouse_dag. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: return-this-team-s-dag-set description: Return this team's DAG as a set of edges and nodes hints: readOnly: true destructive: false idempotent: true call: posthog-warehouse-dag.warehousedaglist outputParameters: - type: object mapping: $.