Connections

List Current Org Shared Connections

Changed on

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

get/api/connections/{id}/shared

Request

  • Base URL
    https://app.polytomic.com
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

idstring uuid required

Unique identifier of the parent connection whose shared copies should be listed

Example:248df4b7-aa70-47b8-a036-33ac447e668d

Headers

X-Polytomic-Versionstring

Response

OK

Example response

{
  "data": [
    {
      "api_calls_last_24_hours": 2021,
      "configuration": {
        "database": "example",
        "hostname": "postgres.example.com",
        "password": "********",
        "port": 5432,
        "username": "user"
      },
      "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"
      ],
      "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"
      },
      "updated_by": {
        "id": "12345678-1234-1234-1234-123456789012",
        "name": "John Doe",
        "type": "user"
      }
    }
  ]
}

Changes