Skip to content
Get started

Get connection (by id)

GET/v3/connections/{connectionId}

Get connection details with id

Path ParametersExpand Collapse
connectionId: string
ReturnsExpand Collapse
id: string
createdAt: string
formatdatetime
provider: string
DeprecatedcontainerTags: optional array of string
documentLimit: optional number
email: optional string
expiresAt: optional string
formatdatetime
lastSyncRun: optional object { status, completedAt, error, 2 more }
status: string
completedAt: optional string
formatdatetime
error: optional string
errorCode: optional "auth_expired" or "rate_limited" or "plan_required" or 2 more
One of the following:
"auth_expired"
"rate_limited"
"plan_required"
"provider_unavailable"
"internal"
startedAt: optional string
formatdatetime
metadata: optional map[unknown]

Get connection (by id)

curl https://api.supermemory.ai/v3/connections/$CONNECTION_ID \
    -H "Authorization: Bearer $SUPERMEMORY_API_KEY"
{
  "id": "id",
  "createdAt": "createdAt",
  "provider": "provider",
  "containerTags": [
    "string"
  ],
  "documentLimit": 0,
  "email": "email",
  "expiresAt": "expiresAt",
  "lastSyncRun": {
    "status": "status",
    "completedAt": "completedAt",
    "error": "error",
    "errorCode": "auth_expired",
    "startedAt": "startedAt"
  },
  "metadata": {
    "foo": "bar"
  }
}
Returns Examples
{
  "id": "id",
  "createdAt": "createdAt",
  "provider": "provider",
  "containerTags": [
    "string"
  ],
  "documentLimit": 0,
  "email": "email",
  "expiresAt": "expiresAt",
  "lastSyncRun": {
    "status": "status",
    "completedAt": "completedAt",
    "error": "error",
    "errorCode": "auth_expired",
    "startedAt": "startedAt"
  },
  "metadata": {
    "foo": "bar"
  }
}