> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vertracloud.app/llms.txt
> Use this file to discover all available pages before exploring further.

# List Stack Connections

> Lists the connections of a stack, the variables the platform injects into each application.

Returns the connections between the members of a stack. A connection makes the platform inject variables (and, for a database, the client certificates) into an application and keep them up to date. Needs the `stacks:read` scope when called with an API key.

**stack\_id** `string` *required*

The stack ID.

**workspace\_id** `string`

The workspace the stack belongs to. Required for a workspace member acting on a stack they do not own.

### Response

**response** `object[]`

**Toggle object**

**id** `string`

The connection ID.

**stack\_id** `string`

The stack ID.

**app\_id** `string`

The application that receives the variables.

**database\_id** `string | null`

The database the application connects to.

**blob\_id** `string | null`

The Blob member the application connects to.

**target\_app\_id** `string | null`

Another application the application calls; the application itself when the variable carries its own address.

**env\_map** `object`

Variable name to what it receives. See [Create Connection](https://docs.vertracloud.app/api-reference/endpoint/stacks/bindings/create.md) for the values.

**certs\_path** `string | null`

Folder inside the application where the client certificates of the database are written, or `null` without a database.

**created\_at** `string`

When the connection was created.

Exactly one of `database_id`, `blob_id` and `target_app_id` is set.

### Errors

| Status | Code | When |
| - | - | - |
| 404 | `STACK_NOT_FOUND` | The stack does not exist or belongs to another account. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.