API Keys
Authenticate the SDK, CLI and REST API for this project.
Keys
Secrets are shown once at creation. Only the prefix is stored in readable form.
3 / 4
| Name | Scope | Actions |
|---|---|---|
prod-backend lt_live_••••3f9a | Full access | |
ci-evals lt_live_••••a71c | Inference | |
metrics-dashboard lt_live_••••0be4 | Read only |
Usage by key
Requests, last 7 days
Total 194.5k
- prod-backend 146,600
- ci-evals 41,300
- metrics-dashboard 6,570
Quickstart
Call a model from a sandbox with your key
curl https://api.lighten.dev/v1/responses \
-H "Authorization: Bearer $LIGHTEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet",
"input": "Summarize the open PRs",
"sandbox": "support-triage"
}'
# key: lt_live_••••3f9a (prod-backend)import { Lighten } from "@lighten/sdk";
// key: lt_live_••••3f9a (prod-backend)
const lighten = new Lighten({ apiKey: process.env.LIGHTEN_API_KEY });
const res = await lighten.responses.create({
model: "claude-sonnet",
input: "Summarize the open PRs",
sandbox: "support-triage",
});
console.log(res.output_text);import os
from lighten import Lighten
# key: lt_live_••••3f9a (prod-backend)
client = Lighten(api_key=os.environ["LIGHTEN_API_KEY"])
res = client.responses.create(
model="claude-sonnet",
input="Summarize the open PRs",
sandbox="support-triage",
)
print(res.output_text)