TypeScript
@lawie/sdk
Latest version: v1.1.0 • API v1
Install
npm
npm install @lawie/sdkAuth setup
Use the credential-management surface enabled for your organization, then set LAWIE_API_KEY in a secret-managed runtime environment.
export LAWIE_API_KEY="your-sandbox-api-key"Do not place credentials in browser code, source control, logs, screenshots, or support messages.
Feature matrix
| Feature | Support |
|---|---|
| Typed models | Yes |
| Retries | Yes |
| Streaming | No |
| Pagination helpers | No |
| Safety guardrails | No |
| Versioned prompts | No |
Compatibility
| SDK version | API versions | Notes |
|---|---|---|
| v1.1.0 | v1 | - |
Supported services: core
Example
import { createLawieAPIClient } from '@lawie/sdk';
const client = createLawieAPIClient({
baseUrl: 'https://api.sandbox.lawielabs.com',
token: process.env.LAWIE_API_KEY,
});
const documents = await client.documents.list();