Skip to main content
GET
/
api
/
workers
/
{workerId}
/
llm-logs
/
by-session
/
{sessionId}
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.llmLogs.getBySession('sessionId', { workerId: 'workerId' });
{}

Authorizations

x-api-key
string
header
required

API key authentication

Path Parameters

workerId
string
required
sessionId
string
required

Response

List of LLM logs for the session