---
type: api
title: Get the status of a Security project
description: The response indicates whether the project is initialized and ready to be used. The phase will change from "initializing" to "initialized" when the project is ready.
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/cloud-serverless/operation/operation-getsecurityprojectstatus
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/cloud-serverless/operation/operation-getsecurityprojectstatus
products:
  - Elastic Cloud Serverless
---

# Get the status of a Security project

- Server: `https://api.elastic-cloud.com`

## Paths

- `GET` `/api/v1/serverless/projects/security/{id}/status`

#### Path parameters

- `id` (string · pattern: ^[a-z0-9]{32}$) — required
  The ID of the project

## Description

The response indicates whether the project is initialized and ready to be used. The phase will change from "initializing" to "initialized" when the project is ready.

## Authentication

- Api key: `Authorization: <value>`
  API keys are used to authenticate requests to the Elastic Cloud Serverless REST API.
  Generate your secret API key in https://cloud.elastic.co/account/keys
  You must provide the API key for all API requests in the Authorization header as follows:
  
  ```
  "Authorization: ApiKey $API_KEY"
  ```
  
  For example, if you interact with the API using the curl command:
  
  ```
  curl -H "Authorization: ApiKey essu_..." https://api.elastic-cloud.com/api/v1/serverless/projects/elasticsearch
  ```

## Responses

#### `200`

The requested Security project status

`application/json`

- `phase` (enum)
  Current phase of the project:
- initializing: the project is still being created and is not ready for use yet. Projects being resumed or restored transition back to this phase.
- initialized: the project has been created successfully and is ready for use
- deleting: the project is being deleted but the process has not completed yet. The project is not usable in this phase.
- deleted: the project has been deleted. This is a terminal phase, after which the project will be removed from the system after a certain retention period.
- suspending: the project is being suspended but the process has not completed yet. The project is not usable in this phase.
- suspended: the project has been suspended. The project is not usable in this phase.
  Values: `initializing`, `initialized`, `deleting`, `suspending`, `suspended`
- `phase_change_timestamp` (string · format: date-time)
  Date and time when the project changed to the current phase.
#### `404`

Not Found

`application/json`

- `errors` (object[])
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
## Code examples

#### curl

```curl
curl -X GET "https://api.elastic-cloud.com/api/v1/serverless/projects/security/${ID}/status" \
  -H "Authorization: ApiKey ${API_KEY}"
```

