---
title: Get an Elastic Cloud integration account
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > API Reference > Elastic Cloud Integration Accounts
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Get an Elastic Cloud integration account{% #get-an-elastic-cloud-integration-account %}
Copy pageCopied
{% tab title="v2" %}
**Note**: This endpoint is in public beta. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
| Datadog site      | API endpoint                                                                                        |
| ----------------- | --------------------------------------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/integration-interfaces/elastic-cloud/accounts/{account_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/integration-interfaces/elastic-cloud/accounts/{account_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/integration-interfaces/elastic-cloud/accounts/{account_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/integration-interfaces/elastic-cloud/accounts/{account_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/integration-interfaces/elastic-cloud/accounts/{account_id}  |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/integration-interfaces/elastic-cloud/accounts/{account_id} |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/integration-interfaces/elastic-cloud/accounts/{account_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/integration-interfaces/elastic-cloud/accounts/{account_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/integration-interfaces/elastic-cloud/accounts/{account_id} |

### Overview

Get an Elastic Cloud integration account. This endpoint requires the `integrations_read` permission.

### Arguments

#### Path Parameters

| Name                         | Type   | Description                                   |
| ---------------------------- | ------ | --------------------------------------------- |
| account_id [*required*] | string | Unique identifier of the integration account. |

### Response

{% tab title="200" %}
OK
{% tab title="Model" %}
Response payload for a single Elastic Cloud integration account.

| Parent field                                 | Field                                        | Type          | Description                                                                                                                      |
| -------------------------------------------- | -------------------------------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------- |
|                                              | data [*required*]                       | object        | Data envelope of an Elastic Cloud integration account, including server-assigned identity.                                       |
| data                                         | attributes [*required*]                 | object        | Attributes of an Elastic Cloud integration account returned in responses.                                                        |
| attributes                                   | authentication                               |  <oneOf> | Authentication configured on the Elastic Cloud integration account.                                                              |
| authentication                               | <auth_type=basic>                            | object        | The basic authentication method and username configured on the account.                                                          |
| <auth_type=basic>                            | auth_type [*required*]                  | enum          | The authentication method type. Allowed enum values: `basic`                                                                     |
| <auth_type=basic>                            | username [*required*]                   | string        | Non-secret username or public identifier for the credential pair.                                                                |
| attributes                                   | dataflows                                    | object        | Dataflows configured on the Elastic Cloud integration account, keyed by dataflow id.                                             |
| dataflows                                    | elastic-cloud-detailed-index-stats           | object        | The Elastic Cloud detailed index stats dataflow.                                                                                 |
| elastic-cloud-detailed-index-stats           | enabled                                      | boolean       | Whether the Elastic Cloud dataflow is enabled.                                                                                   |
| elastic-cloud-detailed-index-stats           | status                                       | object        | Read-only collection status of a dataflow.                                                                                       |
| status                                       | health                                       | enum          | Collection health of a single dataflow. Allowed enum values: `DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN` |
| status                                       | message                                      | string        | Human-readable detail, populated when the dataflow is not healthy.                                                               |
| status                                       | updated_at                                   | date-time     | Time the status was last computed.                                                                                               |
| dataflows                                    | elastic-cloud-index-stats                    | object        | The Elastic Cloud index stats dataflow.                                                                                          |
| elastic-cloud-index-stats                    | enabled                                      | boolean       | Whether the Elastic Cloud dataflow is enabled.                                                                                   |
| elastic-cloud-index-stats                    | status                                       | object        | Read-only collection status of a dataflow.                                                                                       |
| status                                       | health                                       | enum          | Collection health of a single dataflow. Allowed enum values: `DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN` |
| status                                       | message                                      | string        | Human-readable detail, populated when the dataflow is not healthy.                                                               |
| status                                       | updated_at                                   | date-time     | Time the status was last computed.                                                                                               |
| dataflows                                    | elastic-cloud-metrics                        | object        | The Elastic Cloud metrics dataflow.                                                                                              |
| elastic-cloud-metrics                        | enabled                                      | boolean       | Whether the Elastic Cloud dataflow is enabled.                                                                                   |
| elastic-cloud-metrics                        | status                                       | object        | Read-only collection status of a dataflow.                                                                                       |
| status                                       | health                                       | enum          | Collection health of a single dataflow. Allowed enum values: `DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN` |
| status                                       | message                                      | string        | Human-readable detail, populated when the dataflow is not healthy.                                                               |
| status                                       | updated_at                                   | date-time     | Time the status was last computed.                                                                                               |
| dataflows                                    | elastic-cloud-pending-task-stats             | object        | The Elastic Cloud pending task stats dataflow.                                                                                   |
| elastic-cloud-pending-task-stats             | enabled                                      | boolean       | Whether the Elastic Cloud dataflow is enabled.                                                                                   |
| elastic-cloud-pending-task-stats             | status                                       | object        | Read-only collection status of a dataflow.                                                                                       |
| status                                       | health                                       | enum          | Collection health of a single dataflow. Allowed enum values: `DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN` |
| status                                       | message                                      | string        | Human-readable detail, populated when the dataflow is not healthy.                                                               |
| status                                       | updated_at                                   | date-time     | Time the status was last computed.                                                                                               |
| dataflows                                    | elastic-cloud-primary-shard-graceful-timeout | object        | The Elastic Cloud primary shard graceful timeout dataflow.                                                                       |
| elastic-cloud-primary-shard-graceful-timeout | enabled                                      | boolean       | Whether the Elastic Cloud dataflow is enabled.                                                                                   |
| elastic-cloud-primary-shard-graceful-timeout | status                                       | object        | Read-only collection status of a dataflow.                                                                                       |
| status                                       | health                                       | enum          | Collection health of a single dataflow. Allowed enum values: `DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN` |
| status                                       | message                                      | string        | Human-readable detail, populated when the dataflow is not healthy.                                                               |
| status                                       | updated_at                                   | date-time     | Time the status was last computed.                                                                                               |
| dataflows                                    | elastic-cloud-primary-shard-stats            | object        | The Elastic Cloud primary shard stats dataflow.                                                                                  |
| elastic-cloud-primary-shard-stats            | enabled                                      | boolean       | Whether the Elastic Cloud dataflow is enabled.                                                                                   |
| elastic-cloud-primary-shard-stats            | status                                       | object        | Read-only collection status of a dataflow.                                                                                       |
| status                                       | health                                       | enum          | Collection health of a single dataflow. Allowed enum values: `DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN` |
| status                                       | message                                      | string        | Human-readable detail, populated when the dataflow is not healthy.                                                               |
| status                                       | updated_at                                   | date-time     | Time the status was last computed.                                                                                               |
| dataflows                                    | elastic-cloud-shard-allocation-stats         | object        | The Elastic Cloud shard allocation stats dataflow.                                                                               |
| elastic-cloud-shard-allocation-stats         | enabled                                      | boolean       | Whether the Elastic Cloud dataflow is enabled.                                                                                   |
| elastic-cloud-shard-allocation-stats         | status                                       | object        | Read-only collection status of a dataflow.                                                                                       |
| status                                       | health                                       | enum          | Collection health of a single dataflow. Allowed enum values: `DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN` |
| status                                       | message                                      | string        | Human-readable detail, populated when the dataflow is not healthy.                                                               |
| status                                       | updated_at                                   | date-time     | Time the status was last computed.                                                                                               |
| dataflows                                    | elastic-cloud-slm-stats                      | object        | The Elastic Cloud snapshot lifecycle management stats dataflow.                                                                  |
| elastic-cloud-slm-stats                      | enabled                                      | boolean       | Whether the Elastic Cloud dataflow is enabled.                                                                                   |
| elastic-cloud-slm-stats                      | status                                       | object        | Read-only collection status of a dataflow.                                                                                       |
| status                                       | health                                       | enum          | Collection health of a single dataflow. Allowed enum values: `DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN` |
| status                                       | message                                      | string        | Human-readable detail, populated when the dataflow is not healthy.                                                               |
| status                                       | updated_at                                   | date-time     | Time the status was last computed.                                                                                               |
| attributes                                   | name [*required*]                       | string        | Human-readable name of the Elastic Cloud integration account.                                                                    |
| attributes                                   | settings [*required*]                   | object        | Settings configured on the Elastic Cloud integration account.                                                                    |
| settings                                     | tags                                         | string        | Comma-separated list of custom tags for this Elastic Cloud deployment.                                                           |
| settings                                     | url [*required*]                        | string        | Elastic Cloud deployment URL.                                                                                                    |
| data                                         | id [*required*]                         | string        | Server-generated unique identifier of the Elastic Cloud integration account.                                                     |
| data                                         | type [*required*]                       | enum          | The type of the integration account resource. Always `integration-account`. Allowed enum values: `integration-account`           |

{% /tab %}

{% tab title="Example" %}

```json
{
  "data": {
    "attributes": {
      "authentication": {
        "auth_type": "basic",
        "username": "datadog"
      },
      "dataflows": {
        "elastic-cloud-detailed-index-stats": {
          "enabled": true,
          "status": {
            "health": "DATAFLOW_HEALTH_OK",
            "message": "",
            "updated_at": "2026-06-25T08:30:50Z"
          }
        },
        "elastic-cloud-index-stats": {
          "enabled": true,
          "status": {
            "health": "DATAFLOW_HEALTH_OK",
            "message": "",
            "updated_at": "2026-06-25T08:30:50Z"
          }
        },
        "elastic-cloud-metrics": {
          "enabled": true,
          "status": {
            "health": "DATAFLOW_HEALTH_OK",
            "message": "",
            "updated_at": "2026-06-25T08:30:50Z"
          }
        },
        "elastic-cloud-pending-task-stats": {
          "enabled": true,
          "status": {
            "health": "DATAFLOW_HEALTH_OK",
            "message": "",
            "updated_at": "2026-06-25T08:30:50Z"
          }
        },
        "elastic-cloud-primary-shard-graceful-timeout": {
          "enabled": true,
          "status": {
            "health": "DATAFLOW_HEALTH_OK",
            "message": "",
            "updated_at": "2026-06-25T08:30:50Z"
          }
        },
        "elastic-cloud-primary-shard-stats": {
          "enabled": true,
          "status": {
            "health": "DATAFLOW_HEALTH_OK",
            "message": "",
            "updated_at": "2026-06-25T08:30:50Z"
          }
        },
        "elastic-cloud-shard-allocation-stats": {
          "enabled": true,
          "status": {
            "health": "DATAFLOW_HEALTH_OK",
            "message": "",
            "updated_at": "2026-06-25T08:30:50Z"
          }
        },
        "elastic-cloud-slm-stats": {
          "enabled": true,
          "status": {
            "health": "DATAFLOW_HEALTH_OK",
            "message": "",
            "updated_at": "2026-06-25T08:30:50Z"
          }
        }
      },
      "name": "elastic-cloud-prod",
      "settings": {
        "tags": "env:prod,team:saasint",
        "url": "https://example.es.us-central1.gcp.cloud.es.io:9243"
      }
    },
    "id": "953a0060-81ec-4221-aed4-d4733b59cd96",
    "type": "integration-account"
  }
}
```

{% /tab %}

{% /tab %}

{% tab title="400" %}
Bad Request
{% tab title="Model" %}
API error response.

| Field                    | Type     | Description       |
| ------------------------ | -------- | ----------------- |
| errors [*required*] | [string] | A list of errors. |

{% /tab %}

{% tab title="Example" %}

```json
{
  "errors": [
    "Bad Request"
  ]
}
```

{% /tab %}

{% /tab %}

{% tab title="403" %}
Forbidden
{% tab title="Model" %}
API error response.

| Field                    | Type     | Description       |
| ------------------------ | -------- | ----------------- |
| errors [*required*] | [string] | A list of errors. |

{% /tab %}

{% tab title="Example" %}

```json
{
  "errors": [
    "Bad Request"
  ]
}
```

{% /tab %}

{% /tab %}

{% tab title="404" %}
Not Found
{% tab title="Model" %}
API error response.

| Field                    | Type     | Description       |
| ------------------------ | -------- | ----------------- |
| errors [*required*] | [string] | A list of errors. |

{% /tab %}

{% tab title="Example" %}

```json
{
  "errors": [
    "Bad Request"
  ]
}
```

{% /tab %}

{% /tab %}

{% tab title="429" %}
Too many requests
{% tab title="Model" %}
API error response.

| Field                    | Type     | Description       |
| ------------------------ | -------- | ----------------- |
| errors [*required*] | [string] | A list of errors. |

{% /tab %}

{% tab title="Example" %}

```json
{
  "errors": [
    "Bad Request"
  ]
}
```

{% /tab %}

{% /tab %}

### Code Example

##### 
                  \# Path parameters export account_id="CHANGE_ME" \# Curl command curl -X GET "https://api.datadoghq.com/api/v2/integration-interfaces/elastic-cloud/accounts/${account_id}" \
-H "Accept: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-H "DD-APPLICATION-KEY: ${DD_APP_KEY}" 
                
##### 

```python
"""
Get an Elastic Cloud integration account returns "OK" response
"""

from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v2.api.elastic_cloud_integration_accounts_api import ElasticCloudIntegrationAccountsApi

configuration = Configuration()
configuration.unstable_operations["get_elastic_cloud_integration_account"] = True
with ApiClient(configuration) as api_client:
    api_instance = ElasticCloudIntegrationAccountsApi(api_client)
    response = api_instance.get_elastic_cloud_integration_account(
        account_id="account_id",
    )

    print(response)
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=python) and then save the example to `example.py` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" python3 "example.py"
##### 

```ruby
# Get an Elastic Cloud integration account returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
  config.unstable_operations["v2.get_elastic_cloud_integration_account".to_sym] = true
end
api_instance = DatadogAPIClient::V2::ElasticCloudIntegrationAccountsAPI.new
p api_instance.get_elastic_cloud_integration_account("account_id")
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=ruby) and then save the example to `example.rb` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" rb "example.rb"
##### 

```go
// Get an Elastic Cloud integration account returns "OK" response

package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/DataDog/datadog-api-client-go/v2/api/datadog"
	"github.com/DataDog/datadog-api-client-go/v2/api/datadogV2"
)

func main() {
	ctx := datadog.NewDefaultContext(context.Background())
	configuration := datadog.NewConfiguration()
	configuration.SetUnstableOperationEnabled("v2.GetElasticCloudIntegrationAccount", true)
	apiClient := datadog.NewAPIClient(configuration)
	api := datadogV2.NewElasticCloudIntegrationAccountsApi(apiClient)
	resp, r, err := api.GetElasticCloudIntegrationAccount(ctx, "account_id")

	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ElasticCloudIntegrationAccountsApi.GetElasticCloudIntegrationAccount`: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}

	responseContent, _ := json.MarshalIndent(resp, "", "  ")
	fmt.Fprintf(os.Stdout, "Response from `ElasticCloudIntegrationAccountsApi.GetElasticCloudIntegrationAccount`:\n%s\n", responseContent)
}
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=go) and then save the example to `main.go` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" go run "main.go"
##### 

```java
// Get an Elastic Cloud integration account returns "OK" response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
import com.datadog.api.client.v2.api.ElasticCloudIntegrationAccountsApi;
import com.datadog.api.client.v2.model.ElasticCloudIntegrationAccountResponse;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = ApiClient.getDefaultApiClient();
    defaultClient.setUnstableOperationEnabled("v2.getElasticCloudIntegrationAccount", true);
    ElasticCloudIntegrationAccountsApi apiInstance =
        new ElasticCloudIntegrationAccountsApi(defaultClient);

    try {
      ElasticCloudIntegrationAccountResponse result =
          apiInstance.getElasticCloudIntegrationAccount("account_id");
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println(
          "Exception when calling"
              + " ElasticCloudIntegrationAccountsApi#getElasticCloudIntegrationAccount");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=java) and then save the example to `Example.java` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" java "Example.java"
##### 

```rust
// Get an Elastic Cloud integration account returns "OK" response
use datadog_api_client::datadog;
use datadog_api_client::datadogV2::api_elastic_cloud_integration_accounts::ElasticCloudIntegrationAccountsAPI;

#[tokio::main]
async fn main() {
    let mut configuration = datadog::Configuration::new();
    configuration.set_unstable_operation_enabled("v2.GetElasticCloudIntegrationAccount", true);
    let api = ElasticCloudIntegrationAccountsAPI::with_config(configuration);
    let resp = api
        .get_elastic_cloud_integration_account("account_id".to_string())
        .await;
    if let Ok(value) = resp {
        println!("{:#?}", value);
    } else {
        println!("{:#?}", resp.unwrap_err());
    }
}
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=rust) and then save the example to `src/main.rs` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" cargo run
##### 

```typescript
/**
 * Get an Elastic Cloud integration account returns "OK" response
 */

import { client, v2 } from "@datadog/datadog-api-client";

const configuration = client.createConfiguration();
configuration.unstableOperations["v2.getElasticCloudIntegrationAccount"] = true;
const apiInstance = new v2.ElasticCloudIntegrationAccountsApi(configuration);

const params: v2.ElasticCloudIntegrationAccountsApiGetElasticCloudIntegrationAccountRequest =
  {
    accountId: "account_id",
  };

apiInstance
  .getElasticCloudIntegrationAccount(params)
  .then((data: v2.ElasticCloudIntegrationAccountResponse) => {
    console.log(
      "API called successfully. Returned data: " + JSON.stringify(data)
    );
  })
  .catch((error: any) => console.error(error));
```

#### Instructions

First [install the library and its dependencies](https://docs.datadoghq.com/api/latest.md?code-lang=typescript) and then save the example to `example.ts` and run following commands:
    DD_SITE="datadoghq.com" DD_API_KEY="<API-KEY>" DD_APP_KEY="<APP-KEY>" tsc "example.ts"
{% /tab %}
