naftiko: 1.0.0-alpha2 info: label: Factset Portfolio Reporting Batcher — Runs description: 'Factset Portfolio Reporting Batcher — Runs. 2 operations. Lead operation: Factset trigger PRB jobs. Self-contained Naftiko capability covering one Factset business surface.' tags: - Factset - Runs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACTSET_API_KEY: FACTSET_API_KEY capability: consumes: - type: http namespace: portfolio-reporting-batcher-runs-2 baseUri: https://api.factset.com/analytics/prb/v0 description: Factset Portfolio Reporting Batcher — Runs business capability. Self-contained, no shared references. resources: - name: runs path: /runs operations: - name: startjobrun method: POST description: Factset trigger PRB jobs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: runs-id-status path: /runs/{id}/status operations: - name: checkrunstatus method: GET description: Factset check the status for a particular run ID outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.FACTSET_API_KEY}}' exposes: - type: rest namespace: portfolio-reporting-batcher-runs-2-rest port: 8080 description: REST adapter for Factset Portfolio Reporting Batcher — Runs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/runs name: runs description: REST surface for runs. operations: - method: POST name: startjobrun description: Factset trigger PRB jobs call: portfolio-reporting-batcher-runs-2.startjobrun with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/runs/{id}/status name: runs-id-status description: REST surface for runs-id-status. operations: - method: GET name: checkrunstatus description: Factset check the status for a particular run ID call: portfolio-reporting-batcher-runs-2.checkrunstatus outputParameters: - type: object mapping: $. - type: mcp namespace: portfolio-reporting-batcher-runs-2-mcp port: 9090 transport: http description: MCP adapter for Factset Portfolio Reporting Batcher — Runs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: factset-trigger-prb-jobs description: Factset trigger PRB jobs hints: readOnly: false destructive: false idempotent: false call: portfolio-reporting-batcher-runs-2.startjobrun with: body: tools.body outputParameters: - type: object mapping: $. - name: factset-check-status-particular-run description: Factset check the status for a particular run ID hints: readOnly: true destructive: false idempotent: true call: portfolio-reporting-batcher-runs-2.checkrunstatus outputParameters: - type: object mapping: $.