---
type: api
title: Get current security deployment
description: Retrieves the current security deployment.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/operation/operation-get-security-deployment
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/operation/operation-get-security-deployment
products:
  - Elastic Cloud Enterprise
---

# Get current security deployment

## Paths

- `GET` `/platform/configuration/security/deployment`

- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/authentication#basicauth)
- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/authentication#apikey)

## Description

Retrieves the current security deployment.

## Responses

#### `200`

The security deployment was successfully returned

`application/json`

- `cluster_id` (string)
  The identifier for the security deployment cluster
- `deployment_id` (string)
  The identifier for the security deployment
- `name` (string)
  The name of the security deployment cluster
- `version` (string)
  The version of the Elasticsearch cluster
- `status` (enum)
  The current status of the cluster
  Values: `initializing`, `stopping`, `stopped`, `rebooting`, `restarting`, `reconfiguring`, `started`
- `has_pending_plan` (boolean)
  True if a pending plan is in progress
- `is_healthy` (boolean)
  True if the cluster is healthy
- `is_enabled` (boolean)
  True if the security cluster is currently enabled
##### Response Headers

- `x-cloud-resource-version` (string)
  The resource version, which is used to avoid update conflicts with concurrent operations
- `x-cloud-resource-created` (string)
  The date-time when the resource was created (ISO format relative to UTC)
- `x-cloud-resource-last-modified` (string)
  The date-time when the resource was last modified (ISO format relative to UTC)

#### `404`

The realm specified by {realm_id} cannot be found. (code: `security_deployment.not_found`)

`application/json`

- `errors` ([] BasicFailedReplyElement)
  A list of errors that occurred in the failing request
  - `code` (string)
    A structured code representing the error type that occurred
  - `message` (string)
    A human readable message describing the error that occurred
  - `fields` ([] string)
    If the error can be tied to a specific field or fields in the user request, this lists those fields
##### Response Headers

- `x-cloud-error-codes` (enum)
  The error codes associated with the response

## Code Examples

#### Console

```console
GET /platform/configuration/security/deployment
```

#### curl

```curl
curl -X GET "/platform/configuration/security/deployment"
```

