{
  "info": {
    "name": "PES2B Agent API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "http://127.0.0.1:3000"
    },
    {
      "key": "apiKey",
      "value": ""
    }
  ],
  "item": [
    {
      "name": "Health",
      "request": {
        "method": "GET",
        "url": "{{baseUrl}}/health"
      }
    },
    {
      "name": "List Automations",
      "request": {
        "method": "GET",
        "header": [
          {
            "key": "X-PES2B-API-KEY",
            "value": "{{apiKey}}"
          }
        ],
        "url": "{{baseUrl}}/api/v1/automations"
      }
    },
    {
      "name": "Run Automation",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-PES2B-API-KEY",
            "value": "{{apiKey}}"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"requestId\": \"exemplo-001\",\n  \"input\": {}\n}"
        },
        "url": "{{baseUrl}}/api/v1/automations/dec-poa/run"
      }
    }
  ]
}