Get an Elasticsearch project
Path parameters
-
The ID of the project
Format should match the following pattern:
^[a-z0-9]{32}$
.
GET
/api/v1/serverless/projects/elasticsearch/{id}
curl \
-X GET https://api.elastic-cloud.com/api/v1/serverless/projects/elasticsearch/{id}
Response examples (200)
# Headers
ETag: string
# Payload
{
"id": "string",
"name": "my project",
"alias": "my-project-alias",
"region_id": "aws-us-east-1",
"metadata": {
"created_at": "2024-05-04T09:42:00+00:00",
"created_by": "1014289666002276",
"organization_id": "198583657190",
"suspended_at": "2024-05-04T09:42:00+00:00",
"suspended_reason": "trial expired"
},
"cloud_id": "my_project:LmF3cy5lbGFzdG",
"type": "elasticsearch",
"optimized_for": "general_purpose",
"search_lake": {
"search_power": 100,
"boost_window": 100
},
"endpoints": {
"elasticsearch": "https://my-project-alias-df6c6d.es.us-east-1.aws.elastic.cloud",
"kibana": "https://my-project-alias-df6c6d.kb.us-east-1.aws.elastic.cloud"
}
}
Response examples (404)
{
"errors": [
{
"message": "Explicative error message",
"code": "code.error"
}
]
}