Skip to main content
GET
/
api
/
team
/
exports
JavaScript
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"
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key authentication

Response

List of exports

data
object[]