New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

lenzyai

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lenzyai

Lenzy AI SDK

latest
npmnpm
Version
0.0.12
Version published
Maintainers
1
Created
Source

Lenzy AI SDK

Official TypeScript/JavaScript SDK for Lenzy AI - Track and analyze your AI conversations.

Installation

npm install lenzyai

Usage

import { Lenzy } from 'lenzyai'

const client = new Lenzy({
  apiKey: 'your-api-key', // or set LENZY_API_KEY env variable
})

// Record messages from a conversation
await client.recordMessages({
  projectId: 'your-project-id',
  externalConversationId: 'conversation-123',
  externalUserId: 'user-456', // optional
  messages: [
    {
      role: 'USER',
      content: 'Hello, how are you?',
      externalId: 'msg-1', // optional
      sentAt: new Date('2025-11-27T10:30:00.000Z') // optional
    },
    {
      role: 'ASSISTANT',
      content: 'I am doing well, thank you!',
    }
  ]
})

License

MIT

FAQs

Package last updated on 04 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts