Initiate Fleet setup

Server: https://{kibana_url}
  • POST /api/fleet/setup
  • POST /s/{space_id}/api/fleet/setup

Refer to Spaces for more information.

Initialize Fleet and create the necessary Elasticsearch resources for Fleet to operate. Safe to call multiple times (idempotent). Returns the initialization status and any non-fatal errors encountered during setup.

[Required authorization] Route required privileges: fleet-agents-read OR fleet-agent-policies-read OR fleet-settings-read OR fleet-setup.

Responses