Get Security projects
The number of projects included can be configured with page_size. Consecutive calls can be made to retrieve next pages by providing a token.
GET
/api/v1/serverless/projects/security
curl \
-X GET https://api.elastic-cloud.com/api/v1/serverless/projects/security
Response examples (200)
{
"next_page": "string",
"items": [
{
"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": "security",
"endpoints": {
"elasticsearch": "string",
"kibana": "string"
},
"search_lake": {
"data_retention": {
"max_retention_days": 42,
"default_retention_days": 42
}
},
"admin_features_package": "standard",
"product_types": [
{
"product_line": "security",
"product_tier": "complete"
}
]
}
]
}
Response examples (401)
{
"errors": [
{
"message": "Explicative error message",
"code": "code.error"
}
]
}