Elastic Stack (ELK Stack) Spaces API

The Spaces API from Elastic Stack (ELK Stack) — 7 operation(s) for spaces.

Operations 10

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

POST /api/spaces/_resolve_copy_saved_objects_errors Resolve conflicts from copying saved objects · Resolve conflicts copying saved objects #
Ask an LLM
“What do I do when copying a dashboard to another space fails with conflicts?”
“Can I overwrite only the objects that errored during a space copy?”
Tell an agent
Retry copying {objects} with these conflict resolutions {retries}.
Resolve copy errors for {objects} by applying retries {retries} and including references.
POST /api/spaces/_copy_saved_objects Copy saved objects to other spaces · Copy saved objects between spaces #
Ask an LLM
“How do I copy a Kibana dashboard into another space?”
“Will its visualizations and data views come along when I copy it?”
Tell an agent
Copy {objects} to spaces {spaces}.
Copy {objects} into {spaces}, overwriting existing ones: {overwrite}.
POST /api/spaces/_disable_legacy_url_aliases Disable legacy URL aliases · Disable legacy URL aliases #
Ask an LLM
“Can I stop old saved object URLs from redirecting to their new targets?”
“What turns off a legacy URL alias in Kibana?”
Tell an agent
Disable legacy URL aliases {aliases}.
Stop these old aliases {aliases} from resolving.
POST /api/spaces/_get_shareable_references Collect shareable references for saved objects · Get shareable references #
Ask an LLM
“Which related objects and spaces would be involved if I share a saved object?”
“Can I see a saved object's references before sharing it across spaces?”
Tell an agent
Get shareable references for {objects}.
Show the references and space contexts of {objects}.
POST /api/spaces/_update_objects_spaces Share or unshare saved objects across spaces · Update saved objects in spaces #
Ask an LLM
“Can I share one saved object into multiple spaces without copying it?”
“How do I remove a shared object from a space?”
Tell an agent
Add {objects} to spaces {spacesToAdd} and remove from {spacesToRemove}.
Share {objects} into {spacesToAdd}, removing none ({spacesToRemove}).
GET /api/spaces/space List Kibana spaces · Get all spaces #
Ask an LLM
“Which Kibana spaces can I access?”
“Can I list only spaces I'm authorized to copy objects into?”
Tell an agent
List all my Kibana spaces.
List spaces for purpose {purpose}.
POST /api/spaces/space Create a Kibana space · Create a space #
Ask an LLM
“How do I create a new Kibana space for my team?”
“Can I hide certain features in a space when I create it?”
Tell an agent
Create space {id} named {name}.
Create a new space {id} called {name} with color {color}.
DELETE /api/spaces/space/{id} Delete a Kibana space · Delete a space #
Ask an LLM
“Does deleting a space also delete its dashboards and other saved objects?”
“Can a deleted Kibana space be recovered?”
Tell an agent destructive · confirm first
Delete space {id}.
Permanently remove the {id} space and everything in it.
GET /api/spaces/space/{id} Get a Kibana space · Get a space #
Ask an LLM
“What features are disabled in a particular space?”
“Can I look up one Kibana space by its identifier?”
Tell an agent
Show space {id}.
Get details of the {id} space.
PUT /api/spaces/space/{id} Update a Kibana space · Update a space #
Ask an LLM
“Can I rename a space or change its color after it's created?”
“Which features can I turn off in an existing space?”
Tell an agent
Rename existing space {id} to {name}.
Update space {id} ({name}) to disable features {disabledFeatures}.

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-spaces-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-spaces-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 Spaces 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 (49 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elk-stack/refs/heads/main/openapi/elk-stack-spaces-api-openapi.yml