naftiko: 1.0.0-alpha2 info: label: PostHog API — plugin_configs description: 'PostHog API — plugin_configs. 2 operations. Lead operation: plugin_configs. Self-contained Naftiko capability covering one Posthog business surface.' tags: - Posthog - plugin_configs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POSTHOG_API_KEY: POSTHOG_API_KEY capability: consumes: - type: http namespace: posthog-plugin-configs baseUri: '' description: PostHog API — plugin_configs business capability. Self-contained, no shared references. resources: - name: api-environments-environment_id-plugin_configs-plugin_config_id-logs path: /api/environments/{environment_id}/plugin_configs/{plugin_config_id}/logs/ operations: - name: environmentspluginconfigslogslist 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: plugin_config_id in: path type: integer required: true - name: api-projects-project_id-plugin_configs-plugin_config_id-logs path: /api/projects/{project_id}/plugin_configs/{plugin_config_id}/logs/ operations: - name: pluginconfigslogslist 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: plugin_config_id in: path type: integer required: true authentication: type: bearer token: '{{env.POSTHOG_API_KEY}}' exposes: - type: rest namespace: posthog-plugin-configs-rest port: 8080 description: REST adapter for PostHog API — plugin_configs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/environments/{environment-id}/plugin-configs/{plugin-config-id}/logs name: api-environments-environment-id-plugin-configs-plugin-config-id-logs description: REST surface for api-environments-environment_id-plugin_configs-plugin_config_id-logs. operations: - method: GET name: environmentspluginconfigslogslist description: environmentspluginconfigslogslist call: posthog-plugin-configs.environmentspluginconfigslogslist with: limit: rest.limit offset: rest.offset plugin_config_id: rest.plugin_config_id outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/plugin-configs/{plugin-config-id}/logs name: api-projects-project-id-plugin-configs-plugin-config-id-logs description: REST surface for api-projects-project_id-plugin_configs-plugin_config_id-logs. operations: - method: GET name: pluginconfigslogslist description: pluginconfigslogslist call: posthog-plugin-configs.pluginconfigslogslist with: limit: rest.limit offset: rest.offset plugin_config_id: rest.plugin_config_id outputParameters: - type: object mapping: $. - type: mcp namespace: posthog-plugin-configs-mcp port: 9090 transport: http description: MCP adapter for PostHog API — plugin_configs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: environmentspluginconfigslogslist description: environmentspluginconfigslogslist hints: readOnly: true destructive: false idempotent: true call: posthog-plugin-configs.environmentspluginconfigslogslist with: limit: tools.limit offset: tools.offset plugin_config_id: tools.plugin_config_id outputParameters: - type: object mapping: $. - name: pluginconfigslogslist description: pluginconfigslogslist hints: readOnly: true destructive: false idempotent: true call: posthog-plugin-configs.pluginconfigslogslist with: limit: tools.limit offset: tools.offset plugin_config_id: tools.plugin_config_id outputParameters: - type: object mapping: $.