naftiko: 1.0.0-alpha2 info: label: FactSet Axioma Fixed Income Optimizer — Analytics description: 'FactSet Axioma Fixed Income Optimizer — Analytics. 7 operations. Lead operation: Factset Create and Run Afi Optimization. Self-contained Naftiko capability covering one Factset business surface.' tags: - Factset - Analytics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FACTSET_API_KEY: FACTSET_API_KEY capability: consumes: - type: http namespace: axioma-fixed-income-optimizer-analytics baseUri: https://api.factset.com description: FactSet Axioma Fixed Income Optimizer — Analytics business capability. Self-contained, no shared references. resources: - name: analytics-engines-afi-v3-optimizations path: /analytics/engines/afi/v3/optimizations operations: - name: postandoptimize method: POST description: Factset Create and Run Afi Optimization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: X-FactSet-Api-Long-Running-Deadline in: header type: integer description: Long running deadline in seconds. - name: Cache-Control in: header type: string description: Standard HTTP header. Accepts max-stale. - name: body in: body type: object description: Request body (JSON). required: false - name: analytics-engines-afi-v3-optimizations-id path: /analytics/engines/afi/v3/optimizations/{id} operations: - name: putandoptimize method: PUT description: Factset Create or Update Afi Optimization and Run It. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: from url, provided from the location header in the Create and Run AFI optimization endpoint required: true - name: X-FactSet-Api-Long-Running-Deadline in: header type: integer description: Long running deadline in seconds. - name: Cache-Control in: header type: string description: Standard HTTP header. Accepts max-stale. - name: body in: body type: object description: Request body (JSON). required: false - name: getoptimizationparameters method: GET description: Factset Get Afi Optimization Parameters by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: from url, provided from the location header in the Create and Run AFI optimization endpoint required: true - name: canceloptimizationbyid method: DELETE description: Factset Cancel Afi Optimization by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: from url, provided from the location header in the Create and Run AFI optimization endpoint required: true - name: analytics-engines-afi-v3-optimizations-id-result path: /analytics/engines/afi/v3/optimizations/{id}/result operations: - name: getoptimizationresult method: GET description: Factset Get Afi Optimization Result by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: from url, provided from the location header in the Get AFI optimization status by id endpoint required: true - name: analytics-engines-afi-v3-optimizations-id-status path: /analytics/engines/afi/v3/optimizations/{id}/status operations: - name: getoptimizationstatusbyid method: GET description: Factset Get Afi Optimization Status by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: from url, provided from the location header in the Create and Run AFI optimization endpoint required: true - name: analytics-engines-afi-v3-strategies-path path: /analytics/engines/afi/v3/strategies/{path} operations: - name: getaxiomafistrategydocuments method: GET description: Factset Get Axioma Fi Strategy Documents and Sub-directories in a Directory outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: path in: path type: string description: The directory to get the strategy documents and sub-directories in required: true authentication: type: basic username: '{{env.FACTSET_USER}}' password: '{{env.FACTSET_PASS}}' exposes: - type: rest namespace: axioma-fixed-income-optimizer-analytics-rest port: 8080 description: REST adapter for FactSet Axioma Fixed Income Optimizer — Analytics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/analytics/engines/afi/v3/optimizations name: analytics-engines-afi-v3-optimizations description: REST surface for analytics-engines-afi-v3-optimizations. operations: - method: POST name: postandoptimize description: Factset Create and Run Afi Optimization call: axioma-fixed-income-optimizer-analytics.postandoptimize with: X-FactSet-Api-Long-Running-Deadline: rest.X-FactSet-Api-Long-Running-Deadline Cache-Control: rest.Cache-Control body: rest.body outputParameters: - type: object mapping: $. - path: /v1/analytics/engines/afi/v3/optimizations/{id} name: analytics-engines-afi-v3-optimizations-id description: REST surface for analytics-engines-afi-v3-optimizations-id. operations: - method: PUT name: putandoptimize description: Factset Create or Update Afi Optimization and Run It. call: axioma-fixed-income-optimizer-analytics.putandoptimize with: id: rest.id X-FactSet-Api-Long-Running-Deadline: rest.X-FactSet-Api-Long-Running-Deadline Cache-Control: rest.Cache-Control body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getoptimizationparameters description: Factset Get Afi Optimization Parameters by Id call: axioma-fixed-income-optimizer-analytics.getoptimizationparameters with: id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: canceloptimizationbyid description: Factset Cancel Afi Optimization by Id call: axioma-fixed-income-optimizer-analytics.canceloptimizationbyid with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/analytics/engines/afi/v3/optimizations/{id}/result name: analytics-engines-afi-v3-optimizations-id-result description: REST surface for analytics-engines-afi-v3-optimizations-id-result. operations: - method: GET name: getoptimizationresult description: Factset Get Afi Optimization Result by Id call: axioma-fixed-income-optimizer-analytics.getoptimizationresult with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/analytics/engines/afi/v3/optimizations/{id}/status name: analytics-engines-afi-v3-optimizations-id-status description: REST surface for analytics-engines-afi-v3-optimizations-id-status. operations: - method: GET name: getoptimizationstatusbyid description: Factset Get Afi Optimization Status by Id call: axioma-fixed-income-optimizer-analytics.getoptimizationstatusbyid with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/analytics/engines/afi/v3/strategies/{path} name: analytics-engines-afi-v3-strategies-path description: REST surface for analytics-engines-afi-v3-strategies-path. operations: - method: GET name: getaxiomafistrategydocuments description: Factset Get Axioma Fi Strategy Documents and Sub-directories in a Directory call: axioma-fixed-income-optimizer-analytics.getaxiomafistrategydocuments with: path: rest.path outputParameters: - type: object mapping: $. - type: mcp namespace: axioma-fixed-income-optimizer-analytics-mcp port: 9090 transport: http description: MCP adapter for FactSet Axioma Fixed Income Optimizer — Analytics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: factset-create-and-run-afi description: Factset Create and Run Afi Optimization hints: readOnly: false destructive: false idempotent: false call: axioma-fixed-income-optimizer-analytics.postandoptimize with: X-FactSet-Api-Long-Running-Deadline: tools.X-FactSet-Api-Long-Running-Deadline Cache-Control: tools.Cache-Control body: tools.body outputParameters: - type: object mapping: $. - name: factset-create-update-afi-optimization description: Factset Create or Update Afi Optimization and Run It. hints: readOnly: false destructive: false idempotent: true call: axioma-fixed-income-optimizer-analytics.putandoptimize with: id: tools.id X-FactSet-Api-Long-Running-Deadline: tools.X-FactSet-Api-Long-Running-Deadline Cache-Control: tools.Cache-Control body: tools.body outputParameters: - type: object mapping: $. - name: factset-get-afi-optimization-parameters description: Factset Get Afi Optimization Parameters by Id hints: readOnly: true destructive: false idempotent: true call: axioma-fixed-income-optimizer-analytics.getoptimizationparameters with: id: tools.id outputParameters: - type: object mapping: $. - name: factset-cancel-afi-optimization-id description: Factset Cancel Afi Optimization by Id hints: readOnly: false destructive: true idempotent: true call: axioma-fixed-income-optimizer-analytics.canceloptimizationbyid with: id: tools.id outputParameters: - type: object mapping: $. - name: factset-get-afi-optimization-result description: Factset Get Afi Optimization Result by Id hints: readOnly: true destructive: false idempotent: true call: axioma-fixed-income-optimizer-analytics.getoptimizationresult with: id: tools.id outputParameters: - type: object mapping: $. - name: factset-get-afi-optimization-status description: Factset Get Afi Optimization Status by Id hints: readOnly: true destructive: false idempotent: true call: axioma-fixed-income-optimizer-analytics.getoptimizationstatusbyid with: id: tools.id outputParameters: - type: object mapping: $. - name: factset-get-axioma-fi-strategy description: Factset Get Axioma Fi Strategy Documents and Sub-directories in a Directory hints: readOnly: true destructive: false idempotent: true call: axioma-fixed-income-optimizer-analytics.getaxiomafistrategydocuments with: path: tools.path outputParameters: - type: object mapping: $.