naftiko: 1.0.0-alpha2 info: label: Determined AI REST API — Experiments description: 'Determined AI REST API — Experiments. 2 operations. Lead operation: List experiments. Self-contained Naftiko capability covering one Determined Ai business surface.' tags: - Determined Ai - Experiments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DETERMINED_AI_API_KEY: DETERMINED_AI_API_KEY capability: consumes: - type: http namespace: determined-ai-experiments baseUri: https://master.example.com description: Determined AI REST API — Experiments business capability. Self-contained, no shared references. resources: - name: api-v1-experiments path: /api/v1/experiments operations: - name: getexperiments method: GET description: List experiments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer - name: offset in: query type: integer - name: api-v1-experiments-experimentId path: /api/v1/experiments/{experimentId} operations: - name: getexperiment method: GET description: Get experiment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: experimentId in: path type: integer required: true authentication: type: bearer token: '{{env.DETERMINED_AI_API_KEY}}' exposes: - type: rest namespace: determined-ai-experiments-rest port: 8080 description: REST adapter for Determined AI REST API — Experiments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/experiments name: api-v1-experiments description: REST surface for api-v1-experiments. operations: - method: GET name: getexperiments description: List experiments call: determined-ai-experiments.getexperiments with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/api/v1/experiments/{experimentid} name: api-v1-experiments-experimentid description: REST surface for api-v1-experiments-experimentId. operations: - method: GET name: getexperiment description: Get experiment call: determined-ai-experiments.getexperiment with: experimentId: rest.experimentId outputParameters: - type: object mapping: $. - type: mcp namespace: determined-ai-experiments-mcp port: 9090 transport: http description: MCP adapter for Determined AI 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: determined-ai-experiments.getexperiments with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: get-experiment description: Get experiment hints: readOnly: true destructive: false idempotent: true call: determined-ai-experiments.getexperiment with: experimentId: tools.experimentId outputParameters: - type: object mapping: $.