naftiko: 1.0.0-alpha2 info: label: Qubrid AI Fine-Tuning API — Datasets description: 'Qubrid AI Fine-Tuning API — Datasets. 4 operations. Lead operation: List training datasets. Self-contained Naftiko capability covering one Qubrid Ai business surface.' tags: - Qubrid Ai - Datasets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: QUBRID_AI_API_KEY: QUBRID_AI_API_KEY capability: consumes: - type: http namespace: fine-tuning-datasets baseUri: https://platform.qubrid.com/api/v1 description: Qubrid AI Fine-Tuning API — Datasets business capability. Self-contained, no shared references. resources: - name: fine-tuning-datasets path: /fine-tuning/datasets operations: - name: listdatasets method: GET description: List training datasets outputRawFormat: json outputParameters: - name: result type: object value: $. - name: uploaddataset method: POST description: Upload a training dataset outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: fine-tuning-datasets-dataset_id path: /fine-tuning/datasets/{dataset_id} operations: - name: getdataset method: GET description: Retrieve a dataset outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletedataset method: DELETE description: Delete a dataset outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.QUBRID_AI_API_KEY}}' exposes: - type: rest namespace: fine-tuning-datasets-rest port: 8080 description: REST adapter for Qubrid AI Fine-Tuning API — Datasets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/fine-tuning/datasets name: fine-tuning-datasets description: REST surface for fine-tuning-datasets. operations: - method: GET name: listdatasets description: List training datasets call: fine-tuning-datasets.listdatasets outputParameters: - type: object mapping: $. - method: POST name: uploaddataset description: Upload a training dataset call: fine-tuning-datasets.uploaddataset with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/fine-tuning/datasets/{dataset-id} name: fine-tuning-datasets-dataset-id description: REST surface for fine-tuning-datasets-dataset_id. operations: - method: GET name: getdataset description: Retrieve a dataset call: fine-tuning-datasets.getdataset outputParameters: - type: object mapping: $. - method: DELETE name: deletedataset description: Delete a dataset call: fine-tuning-datasets.deletedataset outputParameters: - type: object mapping: $. - type: mcp namespace: fine-tuning-datasets-mcp port: 9090 transport: http description: MCP adapter for Qubrid AI Fine-Tuning API — Datasets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-training-datasets description: List training datasets hints: readOnly: true destructive: false idempotent: true call: fine-tuning-datasets.listdatasets outputParameters: - type: object mapping: $. - name: upload-training-dataset description: Upload a training dataset hints: readOnly: false destructive: false idempotent: false call: fine-tuning-datasets.uploaddataset with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-dataset description: Retrieve a dataset hints: readOnly: true destructive: false idempotent: true call: fine-tuning-datasets.getdataset outputParameters: - type: object mapping: $. - name: delete-dataset description: Delete a dataset hints: readOnly: false destructive: true idempotent: true call: fine-tuning-datasets.deletedataset outputParameters: - type: object mapping: $.