---
title: "Read one connection"
---

> 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.

# Read one connection

Path: CloudRaker Workspace API › Connections

`GET /spaces/{spaceId}/connections/{connectionId}`

Fetches one connection of this space by id or slug. A connection that resolves to a DIFFERENT space answers 404 — the authorization is the space in the path. An ambiguous alias answers 409 `ambiguous_connection` with the candidate list rather than guessing (P5-D13). Authorization: `space:read`; without it, 404.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `spaceId` (`getConnection.path.spaceId`; string, required)
- `connectionId` (`getConnection.path.connectionId`; string, required)

## Code samples

### cURL

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

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/spaces/<spaceId>/connections/<connectionId>';
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/<connectionId>"

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

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

print(response.text)
```

## Responses

### 200

The connection.

#### 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"
    }
  }
}
```

- `data` (`getConnection.response.200.data`; object, required)
  - `id` (`getConnection.response.200.data.id`; string, required)
  - `slug` (`getConnection.response.200.data.slug`; string, required)
    - example `"slack-acme"`
  - `scope` (`getConnection.response.200.data.scope`; string, required)
    - one of `"space"`, `"user"`
  - `spaceId` (`getConnection.response.200.data.spaceId`; string, required)
  - `ownerUserId` (`getConnection.response.200.data.ownerUserId`; string | null, required)
  - `type` (`getConnection.response.200.data.type`; string, required)
    - example `"remote_mcp"`
  - `name` (`getConnection.response.200.data.name`; string, required)
    - example `"Slack (Acme)"`
  - `config` (`getConnection.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` (`getConnection.response.200.data.credentialRef`; string | null, required) — An opaque reference to the stored secret — never a secret value.
  - `definitionId` (`getConnection.response.200.data.definitionId`; string | null, required)
  - `operationPolicy` (`getConnection.response.200.data.operationPolicy`; string, required)
    - one of `"read_only"`, `"all"`
  - `authStatus` (`getConnection.response.200.data.authStatus`; string, required)
    - one of `"connected"`, `"needs_reauth"`, `"missing_scopes"`, `"setup_incomplete"`, `"unknown"`
  - `authErrorCode` (`getConnection.response.200.data.authErrorCode`; string | null, required)
  - `authErrorMessage` (`getConnection.response.200.data.authErrorMessage`; string | null, required)
  - `authCheckedAt` (`getConnection.response.200.data.authCheckedAt`; string | null, required)
  - `tokenExpiresAt` (`getConnection.response.200.data.tokenExpiresAt`; string | null, required)
  - `verificationStatus` (`getConnection.response.200.data.verificationStatus`; string, required)
    - one of `"ready"`, `"configured"`, `"needs_authorization"`, `"misconfigured"`, `"degraded"`, `"unknown"`
  - `verificationMessage` (`getConnection.response.200.data.verificationMessage`; string | null, required)
  - `verificationCheckedAt` (`getConnection.response.200.data.verificationCheckedAt`; string | null, required)
  - `installedActionId` (`getConnection.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` (`getConnection.response.200.data.enabled`; boolean, required)
  - `createdBy` (`getConnection.response.200.data.createdBy`; string, required)
  - `createdAt` (`getConnection.response.200.data.createdAt`; string, required)
  - `updatedAt` (`getConnection.response.200.data.updatedAt`; string, required)
  - `deletedAt` (`getConnection.response.200.data.deletedAt`; string | null, required)
  - `contract` (`getConnection.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` (`getConnection.response.200.data.contract.schemaVersion`; number, required)
    - `connectionType` (`getConnection.response.200.data.contract.connectionType`; string, required)
    - `driver` (`getConnection.response.200.data.contract.driver`; string, required)
      - one of `"remote_mcp"`, `"authenticated_http"`, `"channel"`, `"configuration"`
    - `capabilities` (`getConnection.response.200.data.contract.capabilities`; array<string>, required)
      - one of `"mcp_tools"`, `"typed_operations"`, `"authenticated_fetch"`, `"channel_send"`
    - `verification` (`getConnection.response.200.data.contract.verification`; object, required)
      - `strategy` (`getConnection.response.200.data.contract.verification.strategy`; string, required)
        - one of `"mcp_discovery"`, `"http_configuration"`, `"slack_auth"`, `"credential_configuration"`
      - `live` (`getConnection.response.200.data.contract.verification.live`; boolean, required)
    - `permissions` (`getConnection.response.200.data.contract.permissions`; object, required)
      - `read` (`getConnection.response.200.data.contract.permissions.read`; boolean, required)
      - `write` (`getConnection.response.200.data.contract.permissions.write`; boolean, required)
    - `provenance` (`getConnection.response.200.data.contract.provenance`; string, required)
      - one of `"builtin"`, `"imported"`


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