Public Documentation

Lawie Docs

Python

lawie

Latest version: v1.1.0 • API v1

ga

Install

pippip install lawie

Auth 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

FeatureSupport
Typed modelsYes
RetriesYes
StreamingYes
Pagination helpersNo
Safety guardrailsNo
Versioned promptsNo

Compatibility

SDK versionAPI versionsNotes
v1.1.0v1Requires Python >=3.8

Supported services: platform-api

Example

import os
from lawie import Lawie

client = Lawie(api_key=os.environ["LAWIE_API_KEY"], base_url="https://api.sandbox.lawielabs.com")
documents = client.documents.list()

Sample projects