import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
apiKey: process.env['BRAINBASE_LABS_API_KEY'], // This is the default and can be omitted
});
const exports = await client.team.exports.list();
console.log(exports.data);{
"data": [
{
"id": "<string>",
"status": "PENDING",
"format": "CSV",
"logType": "<string>",
"rowCount": 123,
"fileSizeBytes": 123,
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z"
}
]
}Returns the 20 most recent log exports for the authenticated team.
import BrainbaseLabs from 'brainbase-labs';
const client = new BrainbaseLabs({
apiKey: process.env['BRAINBASE_LABS_API_KEY'], // This is the default and can be omitted
});
const exports = await client.team.exports.list();
console.log(exports.data);{
"data": [
{
"id": "<string>",
"status": "PENDING",
"format": "CSV",
"logType": "<string>",
"rowCount": 123,
"fileSizeBytes": 123,
"createdAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z"
}
]
}