> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.

# List Current Org Shared Connections

GET https://app.polytomic.com/api/connections/{id}/shared

Lists shared copies of a connection that the caller's organization owns.

The returned connections are the child copies, not the parent connection
itself. This is useful when a partner workflow needs to confirm which
downstream organizations have already received a shared copy.

Creating a new shared copy is a separate operation. Use
[`POST /api/organizations/{org_id}/connections/{connection_id}/share`](../../../../api-reference/connections/create-shared-connection)
for the v5 partner-scoped flow.

## Observed rate limits

You can use `rate_limit` to inspect observed rate limiting separately from
Connection health. A Connection can be healthy while Polytomic has an active
rate-limit marker. Shared Connections combine observations recorded for their
own ID and their root Connection. Observations recorded only for another shared
copy are not included.

When these observed periods overlap or touch, `limited_since` reflects the start
of the continuous period and `expires_at` reflects its latest expiry. An expired
period separated from the active period by a gap does not extend that start.

> ⚠️ Observation, not a capacity guarantee
>
> An active marker does not mean every endpoint or sync is blocked. No active
> marker does not guarantee that the upstream service has capacity. The marker
> expiry can be extended and is not a promised provider reset or exact retry time.

If any required lookup is unavailable, `rate_limit` is `null`. This does not change
`status` or `status_error`, and the Connection response is still returned.

Reference: https://apidocs.polytomic.com/api-reference/connections/shared-connections/list-shared-connections

## Authentication

- `Authorization` header (bearer token, required) — Bearer user API key
- `Authorization` header (basic auth, required) — Basic organization-scoped API key

## Request

### Path parameters

- `id` (string, required) — Unique identifier of the parent connection whose shared copies should be listed.

## Response

### 200

OK

- `data` (list of ConnectionResponseSchema, optional, nullable)

## Errors

### 403 Forbidden Error

Forbidden

- `key` (string, optional)
- `message` (string, optional)
- `metadata` (map from string to any, optional)
- `status` (integer, optional)

### 404 Not Found Error

Not Found

- `key` (string, optional)
- `message` (string, optional)
- `metadata` (map from string to any, optional)
- `status` (integer, optional)

### 422 Unprocessable Entity Error

Unprocessable Entity

- `key` (string, optional)
- `message` (string, optional)
- `metadata` (map from string to any, optional)
- `status` (integer, optional)

### 500 Internal Server Error

Internal Server Error

- `key` (string, optional)
- `message` (string, optional)
- `metadata` (map from string to any, optional)
- `status` (integer, optional)

## Types

### ConnectionResponseSchema

- `api_calls_last_24_hours` (integer, optional, nullable) — API calls made to service in the last 24h (supported integrations only).
- `configuration` (map from string to any, optional, nullable)
- `created_at` (datetime, optional)
- `created_by` (OutputActor, optional)
- `id` (string, optional)
- `name` (string, optional)
- `organization_id` (string, optional)
- `parent_connection_id` (string, optional) — For shared connections, the ID of the parent connection.
- `policies` (list of string, optional)
- `rate_limit` (ConnectionResponseSchemaRateLimit, optional, nullable) — Observed connection-wide rate limiting, independent of connection health. Null when any required lookup is unavailable. Shared connections combine their own marker with their root connection's marker.
- `saved` (boolean, optional)
- `status` (string, optional)
- `status_error` (string, optional)
- `type` (ConnectionTypeSchema, optional)
- `updated_at` (datetime, optional)
- `updated_by` (OutputActor, optional)

### OutputActor

- `id` (string, optional)
- `name` (string, optional)
- `type` (string, optional)

### ConnectionResponseSchemaRateLimit

Observed connection-wide rate limiting, independent of connection health. Null when any required lookup is unavailable. Shared connections combine their own marker with their root connection's marker.

- `currently_limited` (boolean, optional) — Whether Polytomic has an unexpired connection-wide rate-limit marker. False means no active observed limit, not guaranteed upstream capacity.
- `expires_at` (datetime, optional, nullable) — Marker expiry unless extended. Not a promised provider reset or exact retry time. Null when no active marker exists.
- `limited_since` (datetime, optional, nullable) — Start of the continuous rate-limited period. Null when no active marker exists.

### ConnectionTypeSchema

- `id` (string, optional)
- `logo_dark_url` (string, optional)
- `logo_url` (string, optional)
- `name` (string, optional)
- `operations` (list of string, optional, nullable)

## Examples

**Response**

```json
{
  "data": [
    {
      "api_calls_last_24_hours": 2021,
      "configuration": {
        "database": "example",
        "hostname": "postgres.example.com",
        "password": "********",
        "port": 5432,
        "username": "user"
      },
      "created_at": "2024-01-15T09:30:00Z",
      "created_by": {
        "id": "12345678-1234-1234-1234-123456789012",
        "name": "John Doe",
        "type": "user"
      },
      "id": "248df4b7-aa70-47b8-a036-33ac447e668d",
      "name": "My Postgres Connection",
      "organization_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
      "parent_connection_id": "248df4b7-aa70-47b8-a036-33ac447e668d",
      "policies": [
        "248df4b7-aa70-47b8-a036-33ac447e668d"
      ],
      "rate_limit": {
        "currently_limited": true,
        "expires_at": "2024-01-15T09:30:00Z",
        "limited_since": "2024-01-15T09:30:00Z"
      },
      "saved": true,
      "status": "healthy",
      "status_error": "error message",
      "type": {
        "id": "postgresql",
        "logo_dark_url": "https://connect-assets.polytomic.com/logos/dark/postgresql.svg",
        "logo_url": "https://connect-assets.polytomic.com/logos/postgresql.svg",
        "name": "PostgreSQL",
        "operations": [
          "bulksyncsource"
        ]
      },
      "updated_at": "2024-01-15T09:30:00Z",
      "updated_by": {
        "id": "12345678-1234-1234-1234-123456789012",
        "name": "John Doe",
        "type": "user"
      }
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://app.polytomic.com/api/connections/248df4b7-aa70-47b8-a036-33ac447e668d/shared"

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

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

print(response.json())
```

```javascript
const url = 'https://app.polytomic.com/api/connections/248df4b7-aa70-47b8-a036-33ac447e668d/shared';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://app.polytomic.com/api/connections/248df4b7-aa70-47b8-a036-33ac447e668d/shared"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://app.polytomic.com/api/connections/248df4b7-aa70-47b8-a036-33ac447e668d/shared")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://app.polytomic.com/api/connections/248df4b7-aa70-47b8-a036-33ac447e668d/shared")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://app.polytomic.com/api/connections/248df4b7-aa70-47b8-a036-33ac447e668d/shared', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://app.polytomic.com/api/connections/248df4b7-aa70-47b8-a036-33ac447e668d/shared");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://app.polytomic.com/api/connections/248df4b7-aa70-47b8-a036-33ac447e668d/shared")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```