naftiko: 1.0.0-alpha2 info: label: Prime Intellect Training API — Runs description: Prime Intellect Training API — Runs. 2 operations. Self-contained Naftiko capability covering one Prime Intellect business surface. tags: - Prime Intellect - Training created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: PRIME_API_KEY: PRIME_API_KEY capability: consumes: - type: http namespace: training-runs baseUri: https://api.primeintellect.ai description: Prime Intellect Training API — Runs business capability. Self-contained, no shared references. resources: - name: training-runs path: /api/v1/training/runs operations: - name: createrun method: POST description: Launch a dedicated RL training run against a hosted base model. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: training-runs-run_id path: /api/v1/training/runs/{run_id} operations: - name: deleterun method: DELETE description: Cancel and delete a training run. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: run_id in: path type: string required: true authentication: type: bearer value: '{{env.PRIME_API_KEY}}' placement: header exposes: - type: rest namespace: training-runs-rest port: 8080 description: REST adapter for Prime Intellect Training API — Runs. resources: - path: /v1/api/v1/training/runs name: training-runs description: REST surface for training-runs. operations: - method: POST name: createrun description: Launch a dedicated RL training run against a hosted base model. call: training-runs.createrun with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v1/training/runs/{run_id} name: training-runs-run_id description: REST surface for training-runs-run_id. operations: - method: DELETE name: deleterun description: Cancel and delete a training run. call: training-runs.deleterun with: run_id: rest.path.run_id outputParameters: - type: object mapping: $. - type: mcp namespace: training-runs-mcp port: 9090 transport: http description: MCP adapter for Prime Intellect Training API — Runs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: prime-intellect-createrun description: Launch a dedicated RL training run against a hosted base model. hints: readOnly: false destructive: false idempotent: false call: training-runs.createrun with: body: tools.body outputParameters: - type: object mapping: $. - name: prime-intellect-deleterun description: Cancel and delete a training run. hints: readOnly: false destructive: true idempotent: true call: training-runs.deleterun with: run_id: tools.run_id outputParameters: - type: object mapping: $.