Skip to main content
GET
/
v3
/
connections
/
{connectionId}
Get connection (by id)
const url = 'https://api.supermemory.ai/v3/connections/{connectionId}';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "createdAt": "<string>",
  "documentLimit": 123,
  "email": "<string>",
  "expiresAt": "<string>",
  "id": "<string>",
  "metadata": {},
  "provider": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

connectionId
string
required

Response

Connection details

createdAt
string<datetime>
required
id
string
required
provider
string
required
documentLimit
number
email
string
expiresAt
string<datetime>
metadata
object
I