Get Observability 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/observability
curl \
-X GET https://api.elastic-cloud.com/api/v1/serverless/projects/observability
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": "observability",
"endpoints": {
"elasticsearch": "string",
"kibana": "string",
"apm": "string",
"ingest": "string"
}
}
]
}
Response examples (401)
{
"errors": [
{
"message": "Explicative error message",
"code": "code.error"
}
]
}