Get Observability projects

GET /api/v1/serverless/projects/observability

Fetches a list of Observability projects.

Responses

  • 200 application/json

    The Observability project list

    Hide response attributes Show response attributes object
    • next_page string Deprecated

      A token to fetch the next page.

    • items array[object] Required

      The actual projects.

      An Observability project.

      Hide items attributes Show items attributes object

      An Observability project.

      • id string Required

        ID of the project.

        Format should match the following pattern: ^[a-z0-9]{32}$.

      • name string Required

        Descriptive name for a project.

        Minimum length is 1, maximum length is 255.

      • alias string Required

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

        Minimum length is 8, maximum length is 57. Format should match the following pattern: ^[a-zA-Z]{1}(?:[a-zA-Z0-9-]*[a-zA-Z0-9]{1})?$.

      • region_id string Required

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

      • metadata object Required

        Additional details about the project.

        Hide metadata attributes Show metadata attributes object
      • 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.

      • type string Required

        the type of the project

        Value is observability.

      • endpoints object Required

        The endpoints to access the different apps of the project.

        Hide endpoints attributes Show endpoints attributes object
        • 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 hosted otel collector.

  • 401 application/json

    Unauthorized

    Hide response attribute Show response attribute object
    • errors array[object] Required

      An error response returned by the API.

      Hide errors attributes Show errors attributes object
      • message string Required

        A human-readable message of the error.

      • code string Required

        An identifier for this type of error.

GET /api/v1/serverless/projects/observability
curl \
 --request GET 'https://api.elastic-cloud.com/api/v1/serverless/projects/observability' \
 --header "Authorization: $API_KEY"