naftiko: 1.0.0-alpha2 info: label: Automation Anywhere Bot Insight API — TaskData description: 'Automation Anywhere Bot Insight API — TaskData. 3 operations. Lead operation: Get task log data. Self-contained Naftiko capability covering one Automation Anywhere business surface.' tags: - Automation Anywhere - TaskData created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AUTOMATION_ANYWHERE_API_KEY: AUTOMATION_ANYWHERE_API_KEY capability: consumes: - type: http namespace: bot-insight-taskdata baseUri: https://{controlRoomUrl}/v2/botinsight/data/api description: Automation Anywhere Bot Insight API — TaskData business capability. Self-contained, no shared references. resources: - name: gettasklogdata-taskName-startIndex-startDate path: /gettasklogdata/{taskName}/{startIndex}/{startDate} operations: - name: gettasklogdata method: GET description: Get task log data outputRawFormat: json outputParameters: - name: result type: object value: $. - name: gettaskmetadata-taskName path: /gettaskmetadata/{taskName} operations: - name: gettaskmetadata method: GET description: Get task metadata outputRawFormat: json outputParameters: - name: result type: object value: $. - name: gettaskvariableprofile-taskName path: /gettaskvariableprofile/{taskName} operations: - name: gettaskvariableprofile method: GET description: Get task variable profile outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.AUTOMATION_ANYWHERE_API_KEY}}' exposes: - type: rest namespace: bot-insight-taskdata-rest port: 8080 description: REST adapter for Automation Anywhere Bot Insight API — TaskData. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gettasklogdata/{taskname}/{startindex}/{startdate} name: gettasklogdata-taskname-startindex-startdate description: REST surface for gettasklogdata-taskName-startIndex-startDate. operations: - method: GET name: gettasklogdata description: Get task log data call: bot-insight-taskdata.gettasklogdata outputParameters: - type: object mapping: $. - path: /v1/gettaskmetadata/{taskname} name: gettaskmetadata-taskname description: REST surface for gettaskmetadata-taskName. operations: - method: GET name: gettaskmetadata description: Get task metadata call: bot-insight-taskdata.gettaskmetadata outputParameters: - type: object mapping: $. - path: /v1/gettaskvariableprofile/{taskname} name: gettaskvariableprofile-taskname description: REST surface for gettaskvariableprofile-taskName. operations: - method: GET name: gettaskvariableprofile description: Get task variable profile call: bot-insight-taskdata.gettaskvariableprofile outputParameters: - type: object mapping: $. - type: mcp namespace: bot-insight-taskdata-mcp port: 9090 transport: http description: MCP adapter for Automation Anywhere Bot Insight API — TaskData. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-task-log-data description: Get task log data hints: readOnly: true destructive: false idempotent: true call: bot-insight-taskdata.gettasklogdata outputParameters: - type: object mapping: $. - name: get-task-metadata description: Get task metadata hints: readOnly: true destructive: false idempotent: true call: bot-insight-taskdata.gettaskmetadata outputParameters: - type: object mapping: $. - name: get-task-variable-profile description: Get task variable profile hints: readOnly: true destructive: false idempotent: true call: bot-insight-taskdata.gettaskvariableprofile outputParameters: - type: object mapping: $.