Update an Observability project

Base URL
https://api.elastic-cloud.com
  • PATCH /api/v1/serverless/projects/observability/{id}
Auth

Only the fields included in the body of the request will be updated.

Path parameters

id string · pattern: ^[a-z0-9]{32}$ required

The ID of the project

Header parameters

If-Match string

ETag value fetched in a previous GET project request. Used to prevent simultaneous updates

Request body

The patched Observability project

name string · min length: 1 · max length: 255

Descriptive name for a project.

alias string · min length: 1 · max length: 50 · pattern: ^[a-zA-Z]{1}(?:[a-zA-Z0-9-]*[a-zA-Z0-9]{1})?$

A custom domain label compatible with RFC-1035 standards. Derived from the project name by default.

traffic_filters object[] nullable

traffic filters IDs

id string required

traffic filter ID

linked object nullable

Configuration for projects linked to this project

projects map string to object · min properties: 1
<string> object
type enum required

The type of the linked project

Values: elasticsearch observability security vectordb
product_tier enum

the tier of the observability project. The default is "complete" when not specified at creation time.

Values: complete logs_essentials
metadata object · min properties: 1

Metadata about the project

tags map string to string · min properties: 1

Tags that need to be updated for a project. The maximum number of tags that can be updated is 64.

<string> string · min length: 1 · max length: 128 · pattern: ^[a-z0-9][a-z0-9_-]*$
annotations map string to string · min properties: 1

Annotations to set or delete on a project. A value sets or overwrites the key, and null deletes it. Keys that are left out are unchanged. After the patch, a project can have at most 64 annotations.

<string> string · min length: 1 · max length: 128 · pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
monitoring object nullable

Configuration for monitoring a project. Pass null to reset all monitoring configuration.

logging object nullable

Configuration for project logs. Pass null to reset all log configuration.

audit object nullable

Configuration for logs from a specific category. Pass as null to reset configuration for this category of logs.

destination object

Configuration for destination of logs.

project_id string · pattern: ^[a-z0-9]{32}$ required

ID of the project.

project_type enum

The type of the linked project

Values: elasticsearch observability security vectordb
enabled boolean

When true, logs from this category are delivered to the configured destination. When false, delivery is paused but the configuration is preserved. Omit to leave the current value unchanged.

ignore_filters object[] · max items: 10 nullable

Named ignore filters applied to reduce the volume of logs delivered for this category. Can be passed as null to remove all ignore filters for this category.

id string required

The unique identifier of the ignore filter.

Responses

The updated Observability project.

application/json
id string · pattern: ^[a-z0-9]{32}$ required

ID of the project.

name string · min length: 1 · max length: 255 required

Descriptive name for a project.

alias string · min length: 8 · max length: 57 · pattern: ^[a-zA-Z]{1}(?:[a-zA-Z0-9-]*[a-zA-Z0-9]{1})?$ required

A domain label compatible with RFC-1035 standards. Project alias with a unique suffix added by the system to avoid naming conflicts.

region_id string required

Unique human-readable identifier for a region in Elastic Cloud.

metadata object required

Additional details about the project.

created_at string · format: date-time required

Date and time when the project was created.

created_by string required

ID of the user.

organization_id string required

The Organization ID who owns the project.

suspended_at string · format: date-time

Date and time when the project was suspended.

suspended_reason string

Reason why the project was suspended.

tags map string to string · min properties: 1 · max properties: 64

Tags associated with a project in the form of key-value pairs. Tags are limited to a minimum of 1 and a maximum of 64 per project. Each tag key must begin with a lowercase letter (a-z), contain only lowercase letters, digits, underscores, and hyphens (a-z0-9_-), and have a maximum length of 32 characters.

<string> string · min length: 1 · max length: 128 · pattern: ^[a-z0-9][a-z0-9_-]*$
system_tags map string to string

System tags associated with a project in the form of key-value pairs. These tags are added by the internal system and are read-only. The keys are prefixed with an underscore to differentiate them from user tags.

<string> string · min length: 1 · max length: 128 · pattern: ^[a-z0-9][a-z0-9_-]*$
annotations map string to string · min properties: 1 · max properties: 64

Annotations associated with a project, as key-value pairs that keep their case. A project can have at most 64 annotations, separate from its tags. Each key must start with a letter, contain only letters, digits, underscores and hyphens (a-zA-Z0-9_-), and be at most 32 characters long. Annotations can't be used in cross-project search and can't filter the project list.

<string> string · min length: 1 · max length: 128 · pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*$
cloud_id string required

The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana.

traffic_filters object[]

traffic filters IDs

id string required

traffic filter ID

linked object

Configuration for projects linked to this project

projects map string to object required
<string> object
status enum required

The state of the linked project.

Values: enabled suspended deleted
type enum required

The type of the linked project

Values: elasticsearch observability security vectordb
monitoring object

Configuration for monitoring a project.

logging object

Configuration for project logs.

audit object

Configuration for logs from a specific category.

destination object required

Configuration for destination of logs.

project_id string · pattern: ^[a-z0-9]{32}$ required

ID of the project.

project_type enum required

The type of the linked project

Values: elasticsearch observability security vectordb
status enum required

The state of log delivery to this destination. Controlled by the system and read-only: it is set to suspended or deleted when the destination project is suspended or deleted. Logs are only delivered when this is enabled and the logging category's enabled flag is true.

Values: enabled suspended deleted
enabled boolean required

When true, logs from this category are delivered to the configured destination. When false, delivery is paused but the configuration is preserved.

ignore_filters object[]

References to logging ignore filters applied to reduce the volume of logs delivered for this category.

id string required

The unique identifier of the ignore filter.

type enum required

the type of the project

Values: observability
product_tier enum

the tier of the observability project. The default is "complete" when not specified at creation time.

Values: complete logs_essentials
endpoints object required

The endpoints to access the different apps of the project.

elasticsearch string required

The endpoint to access elasticsearch.

kibana string required

The endpoint to access kibana.

apm string required

The endpoint to access apm.

ingest string required

The endpoint to access the Managed OTLP Endpoint.

private_endpoints object

Private endpoints (URLs) for Observability projects when PrivateLink is enabled.

elasticsearch string required

The PrivateLink endpoint URL to access elasticsearch.

kibana string required

The PrivateLink endpoint URL to access kibana.

apm string required

The PrivateLink endpoint URL to access APM.

ingest string required

The PrivateLink endpoint URL to access the Managed OTLP Endpoint.

Response headers

ETag string

Not Found

application/json
errors object[] required
message string required

A human-readable message of the error.

code string required

An identifier for this type of error.

Conflict

application/json
errors object[] required
message string required

A human-readable message of the error.

code string required

An identifier for this type of error.

Precondition failed

application/json
errors object[] required
message string required

A human-readable message of the error.

code string required

An identifier for this type of error.

Base URL
https://api.elastic-cloud.com