naftiko: 1.0.0-alpha2 info: label: LaunchDarkly REST API — Experiments description: 'LaunchDarkly REST API — Experiments. 2 operations. Lead operation: List experiments. Self-contained Naftiko capability covering one Launchdarkly business surface.' tags: - Launchdarkly - Experiments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LAUNCHDARKLY_API_KEY: LAUNCHDARKLY_API_KEY capability: consumes: - type: http namespace: rest-experiments baseUri: https://app.launchdarkly.com/api/v2 description: LaunchDarkly REST API — Experiments business capability. Self-contained, no shared references. resources: - name: projects-projectKey-environments-environmentKey-experiments path: /projects/{projectKey}/environments/{environmentKey}/experiments operations: - name: listexperiments method: GET description: List experiments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Maximum number of experiments to return. - name: offset in: query type: integer description: Number of experiments to skip for pagination. - name: createexperiment method: POST description: Create an experiment 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.LAUNCHDARKLY_API_KEY}}' exposes: - type: rest namespace: rest-experiments-rest port: 8080 description: REST adapter for LaunchDarkly REST API — Experiments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectkey}/environments/{environmentkey}/experiments name: projects-projectkey-environments-environmentkey-experiments description: REST surface for projects-projectKey-environments-environmentKey-experiments. operations: - method: GET name: listexperiments description: List experiments call: rest-experiments.listexperiments with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: createexperiment description: Create an experiment call: rest-experiments.createexperiment with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: rest-experiments-mcp port: 9090 transport: http description: MCP adapter for LaunchDarkly REST API — Experiments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-experiments description: List experiments hints: readOnly: true destructive: false idempotent: true call: rest-experiments.listexperiments with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: create-experiment description: Create an experiment hints: readOnly: false destructive: false idempotent: false call: rest-experiments.createexperiment with: body: tools.body outputParameters: - type: object mapping: $.