# List observability destinations

> Source: https://truto.one/docs/api-reference/admin/observability-destinations/list/

`GET /observability-destination`

Resource: **Observability destinations**

## Response body

- **`result`** _(array<object>)_
  - **`id`** _(string)_
    The ID of the observability destination.
  - **`environment_id`** _(string)_
    The environment whose logs are forwarded.
  - **`type`** _(string)_
    Destination type.
    Allowed: `datadog`, `splunk_hec`, `sentinel`
  - **`name`** _(string)_
    Human-readable destination name.
  - **`is_active`** _(boolean)_
    Whether forwarding is enabled.
  - **`config`** _(object)_
    Non-secret destination configuration (site, tags, log_types filter).
  - **`created_at`** _(string)_
  - **`updated_at`** _(string)_
- **`next_cursor`** _(string)_
- **`limit`** _(number)_

## Code examples

### curl

```bash
curl -X GET 'https://api.truto.one/observability-destination' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
```

### JavaScript

```javascript
const response = await fetch('https://api.truto.one/observability-destination', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

url = "https://api.truto.one/observability-destination"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())
```
