Bulk get package policies

POST /api/fleet/package_policies/_bulk_get

Query parameters

  • format string

    Simplified or legacy format for package inputs

    Values are simplified or legacy.

application/json; Elastic-Api-Version=2023-10-31

Body

Responses

POST /api/fleet/package_policies/_bulk_get
curl \
 -X POST https://localhost:5601/api/fleet/package_policies/_bulk_get \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
  "ids": [
    "string"
  ],
  "ignoreMissing": true
}
Response examples (200)
{
  "items": [
    {
      "id": "string",
      "inputs": [
        {
          "config": {},
          "enabled": true,
          "processors": [
            "string"
          ],
          "streams": [],
          "type": "string",
          "vars": {}
        }
      ],
      "revision": 42.0,
      "description": "string",
      "enabled": true,
      "name": "string",
      "namespace": "string",
      "output_id": "string",
      "overrides": {},
      "package": {
        "name": "string",
        "requires_root": true,
        "title": "string",
        "version": "string"
      },
      "policy_id": "string",
      "policy_ids": [
        "string"
      ]
    }
  ]
}
Response examples (400)
{
  "error": "string",
  "message": "string",
  "statusCode": 42.0
}