naftiko: 1.0.0-alpha2 info: label: PostHog API — early_access_feature description: 'PostHog API — early_access_feature. 6 operations. Lead operation: early_access_feature. Self-contained Naftiko capability covering one Posthog business surface.' tags: - Posthog - early_access_feature created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POSTHOG_API_KEY: POSTHOG_API_KEY capability: consumes: - type: http namespace: posthog-early-access-feature baseUri: '' description: PostHog API — early_access_feature business capability. Self-contained, no shared references. resources: - name: api-projects-project_id-early_access_feature path: /api/projects/{project_id}/early_access_feature/ operations: - name: earlyaccessfeaturelist method: GET description: '' 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: earlyaccessfeaturecreate method: POST description: '' 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-early_access_feature-id path: /api/projects/{project_id}/early_access_feature/{id}/ operations: - name: earlyaccessfeatureretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this early access feature. required: true - name: earlyaccessfeatureupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this early access feature. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: earlyaccessfeaturepartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this early access feature. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: earlyaccessfeaturedestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this early access feature. required: true authentication: type: bearer token: '{{env.POSTHOG_API_KEY}}' exposes: - type: rest namespace: posthog-early-access-feature-rest port: 8080 description: REST adapter for PostHog API — early_access_feature. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/projects/{project-id}/early-access-feature name: api-projects-project-id-early-access-feature description: REST surface for api-projects-project_id-early_access_feature. operations: - method: GET name: earlyaccessfeaturelist description: earlyaccessfeaturelist call: posthog-early-access-feature.earlyaccessfeaturelist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: earlyaccessfeaturecreate description: earlyaccessfeaturecreate call: posthog-early-access-feature.earlyaccessfeaturecreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/early-access-feature/{id} name: api-projects-project-id-early-access-feature-id description: REST surface for api-projects-project_id-early_access_feature-id. operations: - method: GET name: earlyaccessfeatureretrieve description: earlyaccessfeatureretrieve call: posthog-early-access-feature.earlyaccessfeatureretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: earlyaccessfeatureupdate description: earlyaccessfeatureupdate call: posthog-early-access-feature.earlyaccessfeatureupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: earlyaccessfeaturepartialupdate description: earlyaccessfeaturepartialupdate call: posthog-early-access-feature.earlyaccessfeaturepartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: earlyaccessfeaturedestroy description: earlyaccessfeaturedestroy call: posthog-early-access-feature.earlyaccessfeaturedestroy with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: posthog-early-access-feature-mcp port: 9090 transport: http description: MCP adapter for PostHog API — early_access_feature. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: earlyaccessfeaturelist description: earlyaccessfeaturelist hints: readOnly: true destructive: false idempotent: true call: posthog-early-access-feature.earlyaccessfeaturelist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: earlyaccessfeaturecreate description: earlyaccessfeaturecreate hints: readOnly: false destructive: false idempotent: false call: posthog-early-access-feature.earlyaccessfeaturecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: earlyaccessfeatureretrieve description: earlyaccessfeatureretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-early-access-feature.earlyaccessfeatureretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: earlyaccessfeatureupdate description: earlyaccessfeatureupdate hints: readOnly: false destructive: false idempotent: true call: posthog-early-access-feature.earlyaccessfeatureupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: earlyaccessfeaturepartialupdate description: earlyaccessfeaturepartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-early-access-feature.earlyaccessfeaturepartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: earlyaccessfeaturedestroy description: earlyaccessfeaturedestroy hints: readOnly: false destructive: true idempotent: true call: posthog-early-access-feature.earlyaccessfeaturedestroy with: id: tools.id outputParameters: - type: object mapping: $.