{
  "opencollection": "1.0.0",
  "info": {
    "name": "Automation Anywhere API Task Execution AccessDetails BotRunData API",
    "version": "2019"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "BotRunData",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get bot run data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{controlRoomUrl}/orchestrator/v1/hotbot/getbotrundata/:startIndex/:startDate",
            "params": [
              {
                "name": "startIndex",
                "value": "",
                "type": "path",
                "description": "Zero-based record index for pagination. Set to 0 to retrieve the first page of 1000 records, then increment by 1000 for subsequent pages."
              },
              {
                "name": "startDate",
                "value": "",
                "type": "path",
                "description": "Start date for the data query in ISO 8601 format (YYYY-MM-DD)"
              }
            ]
          },
          "docs": "Retrieves bot execution run records for a specific date or date range. Each record contains details about a single bot run including user, device, start/end times, status, and performance metrics. Results are paginated at 1000 records per request. Dates must be in ISO 8601 format and the date range cannot exceed 60 days."
        }
      ]
    }
  ],
  "bundled": true
}