Documentation Index
Fetch the complete documentation index at: https://docs.uselamina.ai/llms.txt
Use this file to discover all available pages before exploring further.
Choose The Right Integration Surface
Lamina supports three developer entry points:| Surface | Best for | What it does |
|---|---|---|
| HTTP API | Backends and production services | Call /v1 directly from your own code |
| CLI | Terminal workflows and manual testing | Save an API key, inspect apps, run executions, receive webhook callbacks |
| MCP server | Coding agents such as Claude Code, Cursor, and desktop MCP clients | Expose Lamina as tools an agent can call |
/v1 surface.
Install From npm
Authenticate Once
lamina login opens your browser for an OAuth approval flow — pick a workspace, click Approve, and the CLI receives the token on a loopback callback.
~/.lamina/config.json (mode 0600). OAuth tokens auto-refresh near expiry — you stay logged in for up to 30 days without re-prompting.
Inspect the active identity at any time:
LAMINA_API_KEYenvironment variable- saved CLI credentials at
~/.lamina/config.json(OAuth tokens or API key)
Inspect Apps
List available apps:Upload A Local File
Pass a path; the CLI streams the bytes to Lamina’s CDN via a pre-signed URL and prints the resulting URL you can pass tolamina run --input ...:
Run An App
You can run with a JSON file:- unknown parameter names
- missing required inputs
- invalid option labels
- invalid
urlvalues
Where The SDK Fits
The shared Lamina client is published as@uselamina/sdk and powers both the CLI and MCP server.
If you are integrating from your own backend, use @uselamina/sdk or call the /v1 HTTP API directly.
The client wraps:
GET /v1/appsGET /v1/apps/{appId}GET /v1/apps/{appId}/workflowPOST /v1/apps/{appId}/runsGET /v1/runs/{runId}GET /v1/webhooks/signing-key
Next Steps
- Read Test Webhooks Locally to receive signed Lamina callbacks on your machine
- Read Agent Integration Patterns to run Lamina through MCP in coding agents
- Read Quick Start if you want to stay on the raw HTTP API