Elastic Stack (ELK Stack) Fleet Server hosts API

Fleet Server hosts APIs enable you to manage Fleet Server hosts, including creating, updating, and deleting Fleet Server host configurations.

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/fleet/fleet_server_hosts List Fleet Server hosts · Get Fleet Server hosts #
Ask an LLM
“Which Fleet Server hosts are configured in Fleet?”
“Where can I see all the Fleet Server URLs my agents may connect to?”
Tell an agent
List all Fleet Server hosts.
Show every configured Fleet Server host and its URLs.
POST /api/fleet/fleet_server_hosts Add a Fleet Server host · Create a Fleet Server host #
Ask an LLM
“How do I register a new Fleet Server host that Elastic Agents can enroll through?”
“Can I make a new Fleet Server host the default one?”
Tell an agent
Create Fleet Server host {name} with URLs {host_urls}.
Add Fleet Server host {name} at {host_urls} routed through proxy {proxy_id}.
DELETE /api/fleet/fleet_server_hosts/{itemId} Delete a Fleet Server host · Delete a Fleet Server host #
Ask an LLM
“How do I remove a Fleet Server host from Fleet?”
“What happens to agents if I delete a Fleet Server host entry?”
Tell an agent destructive · confirm first
Delete Fleet Server host {itemId}.
Remove the Fleet Server host entry {itemId} from Fleet.
GET /api/fleet/fleet_server_hosts/{itemId} Get a Fleet Server host · Get a Fleet Server host #
Ask an LLM
“What URLs and SSL settings does a specific Fleet Server host have?”
“Can I check whether one Fleet Server host is the default?”
Tell an agent
Show Fleet Server host {itemId}.
Get the configuration of Fleet Server host {itemId}.
PUT /api/fleet/fleet_server_hosts/{itemId} Update a Fleet Server host · Update a Fleet Server host #
Ask an LLM
“How do I change the URLs of an existing Fleet Server host?”
“Can I switch which proxy an existing Fleet Server host uses?”
Tell an agent
Update Fleet Server host {itemId} to use URLs {host_urls}.
Rename Fleet Server host {itemId} to {name}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elk-stack:elk-stack-fleet-server-hosts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elk-stack-fleet-server-hosts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    name: Kibana Team
  description: The Kibana REST APIs enable you to manage resources such as connectors, data views, and saved objects.
  title: Kibana Fleet Server hosts API
  version: ''
  x-doc-license:
    name: Attribution-NonCommercial-NoDerivatives 4.0 International
    url: https://creativecommons.org/licenses/by-nc-nd/4.0/
  x-feedbackLink:
    label: Feedback
    url: https://github.com/elastic/docs-content/issues/new?assignees=&labels=feedback%2Ccommunity&projects=&template=api-feedback.yaml&title=%5BFeedback%5D%3A+
servers:
- url: https://{kibana_url}
  variables:
    kibana_url:
      default: localhost:5601
security:
- apiKeyAuth: []
- basicAuth: []
tags:


# --- truncated at 32 KB (40 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elk-stack/refs/heads/main/openapi/elk-stack-fleet-server-hosts-api-openapi.yml