naftiko: 1.0.0-alpha2 info: label: PostHog API — evaluation_runs description: 'PostHog API — evaluation_runs. 1 operations. Lead operation: evaluation_runs. Self-contained Naftiko capability covering one Posthog business surface.' tags: - Posthog - evaluation_runs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POSTHOG_API_KEY: POSTHOG_API_KEY capability: consumes: - type: http namespace: posthog-evaluation-runs baseUri: '' description: PostHog API — evaluation_runs business capability. Self-contained, no shared references. resources: - name: api-environments-project_id-evaluation_runs path: /api/environments/{project_id}/evaluation_runs/ operations: - name: evaluationrunscreate method: POST description: Create a new evaluation run. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - 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-evaluation-runs-rest port: 8080 description: REST adapter for PostHog API — evaluation_runs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/environments/{project-id}/evaluation-runs name: api-environments-project-id-evaluation-runs description: REST surface for api-environments-project_id-evaluation_runs. operations: - method: POST name: evaluationrunscreate description: Create a new evaluation run. call: posthog-evaluation-runs.evaluationrunscreate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: posthog-evaluation-runs-mcp port: 9090 transport: http description: MCP adapter for PostHog API — evaluation_runs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-new-evaluation-run description: Create a new evaluation run. hints: readOnly: false destructive: false idempotent: false call: posthog-evaluation-runs.evaluationrunscreate with: body: tools.body outputParameters: - type: object mapping: $.