Create an Elasticsearch project
Create an Elasticsearch project. The response will include the created project details, such as the project ID, the credentials to access the project, and the endpoints to access different apps such as Elasticsearch and Kibana. The credentials can be regenerated at any time using the _reset-credentials endpoint.
Body
Required
Configuration of the elasticsearch project to create.
-
Descriptive name for a project.
Minimum length is
1
, maximum length is255
. -
A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.
Minimum length is
1
, maximum length is50
. Format should match the following pattern:^[a-zA-Z]{1}(?:[a-zA-Z0-9-]*[a-zA-Z0-9]{1})?$
. -
Unique human-readable identifier for a region in Elastic Cloud.
-
The purpose for which the hardware of this elasticsearch project is optimized for. Also known as the Elasticsearch project subtype.
Values are
general_purpose
orvector
. -
Configuration for entire set of capabilities that make the data searchable in Elasticsearch.
-
traffic filters IDs
traffic filters association info
curl \
--request POST 'https://api.elastic-cloud.com/api/v1/serverless/projects/elasticsearch' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"name":"Example project","region_id":"aws-us-east-1"}'
{
"name": "Example project",
"region_id": "aws-us-east-1"
}