GET
/
v3
/
connections
/
{connectionId}
import Supermemory from 'supermemory';

const client = new Supermemory({
  apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted
});

const response = await client.connections.getByID('connectionId');

console.log(response.id);
{
  "id": "<string>",
  "provider": "<string>",
  "email": "<string>",
  "createdAt": 123,
  "expiresAt": 123,
  "metadata": {},
  "documentLimit": 123
}

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

200
application/json

Connection details

The response is of type object.