{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kibana APIs Actions Elastic Agent status API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Elastic Agent status",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get an agent status summary",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{kibana_url}/api/fleet/agent_status",
            "params": [
              {
                "name": "policyId",
                "value": "",
                "type": "query",
                "description": "Filter by agent policy ID"
              },
              {
                "name": "policyIds",
                "value": "",
                "type": "query",
                "description": "Filter by one or more agent policy IDs"
              },
              {
                "name": "kuery",
                "value": "",
                "type": "query",
                "description": "A KQL query string to filter results"
              }
            ]
          },
          "docs": "**Spaces method and path for this operation:**\n\n<div><span class=\"operation-verb get\">get</span>&nbsp;<span class=\"operation-path\">/s/{space_id}/api/fleet/agent_status</span></div>\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet a summary of agent statuses for a given agent policy."
        }
      ]
    }
  ],
  "bundled": true
}