---
title: "List the connections available in a space"
---

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

# List the connections available in a space

Path: CloudRaker Workspace API › Connections

`GET /spaces/{spaceId}/connections`

Lists this space’s connections with their contract, auth status and verification status. A connection whose contract permits writes carries `installedActionId` — the approval-gated action a write goes through. Credential VALUES are never returned; `credentialRef` is an opaque reference. Authorization: `space:read` (org admins bypass); without it, 404 — existence is hidden. Query: `limit` (1–100) and `starting_after` (the last id of the previous page). Returns `{ data: Connection[], has_more }`.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `spaceId` (`listConnections.path.spaceId`; string, required)

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.cloudraker.com/spaces/<spaceId>/connections' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/spaces/<spaceId>/connections';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/spaces/<spaceId>/connections"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

One page of connections.

#### Example

```json
{
  "data": [
    {
      "id": "string",
      "slug": "slack-acme",
      "scope": "space",
      "spaceId": "string",
      "ownerUserId": "string",
      "type": "remote_mcp",
      "name": "Slack (Acme)",
      "config": {
        "property1": null,
        "property2": null
      },
      "credentialRef": "string",
      "definitionId": "string",
      "operationPolicy": "read_only",
      "authStatus": "connected",
      "authErrorCode": "string",
      "authErrorMessage": "string",
      "authCheckedAt": "string",
      "tokenExpiresAt": "string",
      "verificationStatus": "ready",
      "verificationMessage": "string",
      "verificationCheckedAt": "string",
      "installedActionId": "string",
      "enabled": true,
      "createdBy": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "deletedAt": "string",
      "contract": {
        "schemaVersion": 1,
        "connectionType": "string",
        "driver": "remote_mcp",
        "capabilities": [
          "mcp_tools"
        ],
        "verification": {
          "strategy": "mcp_discovery",
          "live": true
        },
        "permissions": {
          "read": true,
          "write": true
        },
        "provenance": "builtin"
      }
    }
  ],
  "has_more": true
}
```

- `data` (`listConnections.response.200.data`; array<object>, required)
  - `id` (`listConnections.response.200.data.id`; string, required)
  - `slug` (`listConnections.response.200.data.slug`; string, required)
    - example `"slack-acme"`
  - `scope` (`listConnections.response.200.data.scope`; string, required)
    - one of `"space"`, `"user"`
  - `spaceId` (`listConnections.response.200.data.spaceId`; string, required)
  - `ownerUserId` (`listConnections.response.200.data.ownerUserId`; string | null, required)
  - `type` (`listConnections.response.200.data.type`; string, required)
    - example `"remote_mcp"`
  - `name` (`listConnections.response.200.data.name`; string, required)
    - example `"Slack (Acme)"`
  - `config` (`listConnections.response.200.data.config`; map<unknown>, required) — Plaintext, non-secret settings. A credential is never stored here — secrets live in the encrypted secret store.
  - `credentialRef` (`listConnections.response.200.data.credentialRef`; string | null, required) — An opaque reference to the stored secret — never a secret value.
  - `definitionId` (`listConnections.response.200.data.definitionId`; string | null, required)
  - `operationPolicy` (`listConnections.response.200.data.operationPolicy`; string, required)
    - one of `"read_only"`, `"all"`
  - `authStatus` (`listConnections.response.200.data.authStatus`; string, required)
    - one of `"connected"`, `"needs_reauth"`, `"missing_scopes"`, `"setup_incomplete"`, `"unknown"`
  - `authErrorCode` (`listConnections.response.200.data.authErrorCode`; string | null, required)
  - `authErrorMessage` (`listConnections.response.200.data.authErrorMessage`; string | null, required)
  - `authCheckedAt` (`listConnections.response.200.data.authCheckedAt`; string | null, required)
  - `tokenExpiresAt` (`listConnections.response.200.data.tokenExpiresAt`; string | null, required)
  - `verificationStatus` (`listConnections.response.200.data.verificationStatus`; string, required)
    - one of `"ready"`, `"configured"`, `"needs_authorization"`, `"misconfigured"`, `"degraded"`, `"unknown"`
  - `verificationMessage` (`listConnections.response.200.data.verificationMessage`; string | null, required)
  - `verificationCheckedAt` (`listConnections.response.200.data.verificationCheckedAt`; string | null, required)
  - `installedActionId` (`listConnections.response.200.data.installedActionId`; string | null, required) — The auto-provisioned `conn-<slug>` installed action, set only when the contract permits writes — that action is how a write reaches the approval gate.
  - `enabled` (`listConnections.response.200.data.enabled`; boolean, required)
  - `createdBy` (`listConnections.response.200.data.createdBy`; string, required)
  - `createdAt` (`listConnections.response.200.data.createdAt`; string, required)
  - `updatedAt` (`listConnections.response.200.data.updatedAt`; string, required)
  - `deletedAt` (`listConnections.response.200.data.deletedAt`; string | null, required)
  - `contract` (`listConnections.response.200.data.contract`; object, required) — What this connection can do, derived purely from its type and configuration. `permissions.write` is the whole gate: it is true only when the builder opted into writes, and it is what makes the connection appear as an approval-gated action instead of a read-only agent tool.
    - `schemaVersion` (`listConnections.response.200.data.contract.schemaVersion`; number, required)
    - `connectionType` (`listConnections.response.200.data.contract.connectionType`; string, required)
    - `driver` (`listConnections.response.200.data.contract.driver`; string, required)
      - one of `"remote_mcp"`, `"authenticated_http"`, `"channel"`, `"configuration"`
    - `capabilities` (`listConnections.response.200.data.contract.capabilities`; array<string>, required)
      - one of `"mcp_tools"`, `"typed_operations"`, `"authenticated_fetch"`, `"channel_send"`
    - `verification` (`listConnections.response.200.data.contract.verification`; object, required)
      - `strategy` (`listConnections.response.200.data.contract.verification.strategy`; string, required)
        - one of `"mcp_discovery"`, `"http_configuration"`, `"slack_auth"`, `"credential_configuration"`
      - `live` (`listConnections.response.200.data.contract.verification.live`; boolean, required)
    - `permissions` (`listConnections.response.200.data.contract.permissions`; object, required)
      - `read` (`listConnections.response.200.data.contract.permissions.read`; boolean, required)
      - `write` (`listConnections.response.200.data.contract.permissions.write`; boolean, required)
    - `provenance` (`listConnections.response.200.data.contract.provenance`; string, required)
      - one of `"builtin"`, `"imported"`
- `has_more` (`listConnections.response.200.has_more`; boolean, required)


Source: https://docs.cloudraker.com/workspace/api/connections/list-connections/index.md
