{
  "info": {
    "name": "iLert — mcp.ai",
    "description": "REST API for the iLert MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/ilert",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "ilert_get_alert",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/alert",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "alert"
          ]
        },
        "description": "Get one iLert alert by its numeric ID, optionally expanding escalation rules, the next escalation user, or custom details.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"include\": \"\",\n  \"alert_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ilert_get_current_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/current/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "current",
            "user"
          ]
        },
        "description": "Return the authenticated iLert user, including identity, role, timezone, and active team context. Use this to verify who the API key represents before incident-response work.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ilert_get_incident",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/incident",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "incident"
          ]
        },
        "description": "Get one iLert status incident by numeric ID, optionally including subscription state, affected teams, or history.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"include\": \"\",\n  \"incident_id\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ilert_list_alerts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/alerts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "alerts"
          ]
        },
        "description": "List iLert alerts with optional state, source, escalation-policy, responder, and report-time filters. Returns one page and a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"states\": \"\",\n  \"from_time\": \"\",\n  \"policy_ids\": \"\",\n  \"source_ids\": \"\",\n  \"until_time\": \"\",\n  \"max_results\": 0,\n  \"next_cursor\": \"\",\n  \"responder_ids\": \"\",\n  \"include_next_escalation_user\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ilert_list_incidents",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/incidents",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "incidents"
          ]
        },
        "description": "List iLert status incidents with optional lifecycle-state, affected-service, and report-time filters. Returns one page and a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"states\": \"\",\n  \"from_time\": \"\",\n  \"until_time\": \"\",\n  \"max_results\": 0,\n  \"next_cursor\": \"\",\n  \"service_ids\": \"\",\n  \"include_subscribed\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ilert_list_on_calls",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/on/calls",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "on",
            "calls"
          ]
        },
        "description": "Find who is on call for selected escalation policies, schedules, users, and a time window of at most three months. Returns one page and a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"expand\": \"\",\n  \"user_id\": 0,\n  \"timezone\": \"\",\n  \"from_time\": \"\",\n  \"policy_id\": 0,\n  \"until_time\": \"\",\n  \"max_results\": 0,\n  \"next_cursor\": \"\",\n  \"schedule_id\": 0,\n  \"policy_level\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ilert_list_resources",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/resources",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "resources"
          ]
        },
        "description": "List one incident-response resource catalog: services, teams, escalation policies, or maintenance windows. Use returned IDs as filters or references in alert, incident, and on-call tools.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"include\": \"\",\n  \"from_time\": \"\",\n  \"member_id\": 0,\n  \"source_ids\": \"\",\n  \"until_time\": \"\",\n  \"max_results\": 0,\n  \"next_cursor\": \"\",\n  \"service_ids\": \"\",\n  \"resource_type\": \"\",\n  \"maintenance_state\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ilert_list_schedules",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/schedules",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "schedules"
          ]
        },
        "description": "List iLert on-call schedules, optionally expanding current or next shifts and schedule definitions. Returns one page and a continuation cursor.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"include\": \"\",\n  \"max_results\": 0,\n  \"next_cursor\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}