Javascript
import Supermemory from 'supermemory'; const client = new Supermemory({ apiKey: 'My API Key', }); const response = await client.connections.getByID('connectionId'); console.log(response.id);
{ "createdAt": "2023-11-07T05:31:56Z", "documentLimit": 123, "email": "<string>", "expiresAt": "2023-11-07T05:31:56Z", "id": "<string>", "metadata": {}, "provider": "<string>" }
Get connection details with id
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Connection details
The response is of type object.
object
Was this page helpful?