import BrainbaseLabs from 'brainbase-labs';const client = new BrainbaseLabs({ apiKey: process.env['BRAINBASE_LABS_API_KEY'], // This is the default and can be omitted});await client.workers.runtimeErrors.list('workerId');
Runtime Errors
List runtime errors for a worker
GET
/
api
/
workers
/
{workerId}
/
runtime-errors
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});await client.workers.runtimeErrors.list('workerId');