← Market

X402 · Cfn Export In Use Update Plan

Second Wind cfn-export-in-use-update-plan v1

POST https://secondwindai.com/api/x402/cfn-export-in-use-update-plan

2 USDC on Base · payTo 0x08D7870Ce7Fa3889Fb7475dF52456d053a2b4bcf

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 2 USDC · payTo 0x08D7870Ce7Fa3889Fb7475dF52456d053a2b4bcf · via cdp · settles direct
{
  "exporting_stack": {
    "deployed_template": {
      "Outputs": {
        "ExportsOutputRefBucket83908E7781C90AC0": {
          "Export": {
            "Name": "Data:ExportsOutputRefBucket83908E7781C90AC0"
          },
          "Value": {
            "Ref": "Bucket83908E77"
          }
        }
      },
      "Resources": {
        "Bucket83908E77": {
          "Type": "AWS::S3::Bucket"
        }
      }
    },
    "name": "Data",
    "target_template": {
      "Resources": {
        "Bucket83908E77": {
          "Type": "AWS::S3::Bucket"
        }
      }
    }
  },
  "importing_stacks": [
    {
      "deployed_template": {
        "Resources": {
          "Fn": {
            "Properties": {
              "Environment": {
                "Variables": {
                  "BUCKET": {
                    "Fn::ImportValue": "Data:ExportsOutputRefBucket83908E7781C90AC0"
                  }
                }
              }
            },
            "Type": "AWS::Lambda::Function"
          }
        }
      },
      "name": "Api",
      "target_template": {
        "Resources": {
          "Fn": {
            "Properties": {},
            "Type": "AWS::Lambda::Function"
          }
        }
      }
    }
  ],
  "tool": "cdk"
}
{
  "content_hash": "sha256 of result",
  "paymentId": "pay_...",
  "recoveryToken": "...",
  "result": {
    "diagnosis": "the cause, stated once",
    "steps": "ordered array; execute step 1 first; each has step, title and the commands, statements or code to apply",
    "verdict": "string code naming the finding",
    "verify": "commands or checks that confirm the repair"
  }
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score65 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency655 ms
Paid calls (30d, on-chain)1 calls · 1 buyers
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://secondwindai.com/api/x402/cfn-export-in-use-update-plan · input in body · spec from live-challenge

Input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "tool",
    "exporting_stack",
    "importing_stacks"
  ],
  "properties": {
    "tool": {
      "enum": [
        "cdk",
        "cloudformation",
        "sam"
      ],
      "description": "What deploys these stacks."
    },
    "cdk_language": {
      "enum": [
        "typescript",
        "python"
      ],
      "description": "Language for generated CDK pin code. Default typescript."
    },
    "region": {
      "type": "string",
      "pattern": "^[a-z]{2}(-[a-z]+)+-\\d$"
    },
    "account_id": {
      "type": "string",
      "pattern": "^\\d{12}$"
    },
    "error_message": {
      "type": "string",
      "maxLength": 4000,
      "description": "The deploy error text, if you have it."
    },
    "exporting_stack": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "name",
        "deployed_template",
        "target_template"
      ],
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "deployed_template": {
          "type": "object",
          "description": "What is deployed now: aws cloudformation get-template --stack-name NAME --template-stage Processed --query TemplateBody"
        },
        "target_template": {
          "type": "object",
          "description": "What you are trying to deploy: cdk synth NAME --json, or your new template converted to JSON."
        },
        "parameters": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Parameter values, needed only when export names are built from parameters."
        }
      }
    },
    "importing_stacks": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "deployed_template"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "deployed_template": {
            "type": "object",
            "description": "CloudFormation template as a JSON object. Only Outputs, Parameters and Resources are read; other sections may be removed to save space."
          },
          "target_template": {
            "type": "object",
            "description": "The importer after your change. Omit it and the importer is assumed unchanged."
          },
          "parameters": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://secondwindai.com/api/x402/cfn-export-in-use-update-plan' \
  -H 'content-type: application/json' -d '{"tool":"cdk","exporting_stack":{"name":"Data","deployed_template":{"Resources":{"Bucket83908E77":{"Type":"AWS::S3::Bucket"}},"Outputs":{"ExportsOutputRefBucket83908E7781C90AC0":{"Value":{"Ref":"Bucket83908E77"},"Export":{"Name":"Data:ExportsOutputRefBucket83908E7781C90AC0"}}}},"target_template":{"Resources":{"Bucket83908E77":{"Type":"AWS::S3::Bucket"}}}},"importing_stacks":[{"name":"Api","deployed_template":{"Resources":{"Fn":{"Type":"AWS::Lambda::Function","Properties":{"Environment":{"Variables":{"BUCKET":{"Fn::ImportValue":"Data:ExportsOutputRefBucket83908E7781C90AC0"}}}}}}},"target_template":{"Resources":{"Fn":{"Type":"AWS::Lambda::Function","Properties":{}}}}}]}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)