Get all spaces

Base URL
https://{kibana_url}
  • GET /api/spaces/space
Auth

Retrieve all available Kibana spaces. The list includes only the spaces that the user is authorized to access.

Query parameters

purpose enum

Specifies which authorization checks are applied to the API call. The default value is any.

Values: any copySavedObjectsIntoSpace shareSavedObjectsIntoSpace
include_authorized_purposes boolean

When enabled, the API returns any spaces the user is authorized to access in any capacity, each including the purposes for which the user is authorized. This is useful for identifying spaces the user can read but is not authorized for a given purpose. Without the security plugin, this parameter has no effect, because no authorization checks are performed. This parameter cannot be used together with the purpose parameter.

Response

200

Indicates a successful call.

application/json
Base URL
https://{kibana_url}