Get connection (by id)
connections.get_by_id(strconnection_id) -> ConnectionGetByIDResponse
GET/v3/connections/{connectionId}
Get connection (by id)
import os
from supermemory import Supermemory
client = Supermemory(
api_key=os.environ.get("SUPERMEMORY_API_KEY"), # This is the default and can be omitted
)
response = client.connections.get_by_id(
"connectionId",
)
print(response.id){
"id": "id",
"createdAt": "createdAt",
"provider": "provider",
"containerTags": [
"string"
],
"documentLimit": 0,
"email": "email",
"expiresAt": "expiresAt",
"metadata": {
"foo": "bar"
}
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"provider": "provider",
"containerTags": [
"string"
],
"documentLimit": 0,
"email": "email",
"expiresAt": "expiresAt",
"metadata": {
"foo": "bar"
}
}