# Search Connection Strings

This page describes the `connectionStrings` endpoint.

{% hint style="info" %}
Additional fields may be included in some responses you receive; however, these attributes are for internal purposes and are therefore undocumented.
{% endhint %}

## Search connection strings

<mark style="color:green;">`GET`</mark> `/connectionStrings`

Search across all connection strings in the handler table.

#### Query parameters

| Attribute  | Description                                                                                                            | Required |
| ---------- | ---------------------------------------------------------------------------------------------------------------------- | -------- |
| searchText | `string` A string used to filter returned connection strings. The query is executed with a wildcard prefix and suffix. | No       |

#### Response parameters

| Attribute | Description                                                                 |
| --------- | --------------------------------------------------------------------------- |
| values    | `array` Details regarding connection strings, including `name` and `count`. |

### Request example

The following request searches across all connection strings in the handler table.

```shell
curl \
    --request GET \
    --header "Content-Type: application/json" \
    --header "Authorization: Bearer dea464c07bd07300095caa8" \
    https://your-immuta-url.com/connectionStrings
```

### Response example

```json
{
  "values": [
    {
      "name": "TEST@immuta.us-east-1.testcomputing.com:???/TEST",
      "count": 5
    }
  ]
}
```
