JavaScript
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.supermemory.ai/v3/connections/{connectionId}/resources', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "resources": [ {} ], "total_count": 123 }
Fetch resources for a connection (supported providers: GitHub for now)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of accessible resources
Show child attributes
Was this page helpful?