naftiko: 1.0.0-alpha2 info: label: Amazon Step Functions API — History description: 'Amazon Step Functions API — History. 1 operations. Lead operation: Amazon Step Functions Get execution history. Self-contained Naftiko capability covering one Amazon Step Functions business surface.' tags: - Amazon Step Functions - History created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_STEP_FUNCTIONS_API_KEY: AMAZON_STEP_FUNCTIONS_API_KEY capability: consumes: - type: http namespace: amazon-step-functions-history baseUri: https://states.{region}.amazonaws.com description: Amazon Step Functions API — History business capability. Self-contained, no shared references. resources: - name: '#X-Amz-Target=AWSStepFunctions.GetExecutionHistory' path: /#X-Amz-Target=AWSStepFunctions.GetExecutionHistory operations: - name: getexecutionhistory method: POST description: Amazon Step Functions Get execution history outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.AMAZON_STEP_FUNCTIONS_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-step-functions-history-rest port: 8080 description: REST adapter for Amazon Step Functions API — History. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/x-amz-target-awsstepfunctions-getexecutionhistory name: x-amz-target-awsstepfunctions-getexecutionhistory description: 'REST surface for #X-Amz-Target=AWSStepFunctions.GetExecutionHistory.' operations: - method: POST name: getexecutionhistory description: Amazon Step Functions Get execution history call: amazon-step-functions-history.getexecutionhistory with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-step-functions-history-mcp port: 9090 transport: http description: MCP adapter for Amazon Step Functions API — History. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-step-functions-get-execution description: Amazon Step Functions Get execution history hints: readOnly: true destructive: false idempotent: false call: amazon-step-functions-history.getexecutionhistory with: body: tools.body outputParameters: - type: object mapping: $.