Documentation

Build with Liya Engine.
Everything you need.

Full API reference, intent endpoint guides, and domain pack documentation — all in one place.

Search documentation…⌘K
Quickstart

Up and running in 3 steps

01
Get your API key

Create an account and copy your API key from the dashboard. Keys are scoped per environment (dev / prod).

# Copy your key from dashboard.liyaengine.com export LIYA_API_KEY=liya_prod_xxxxxxxxxxxx
02
Call an intent endpoint

Send a POST request to any intent endpoint. Swap the pack and intent for any domain — compliance, talent, healthcare, and more.

curl -X POST https://api.liyaengine.com/v1/run \ -H "x-api-key: $LIYA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"pack":"compliance","intent":"analyze-policy","input":{"document":"All employees must..."}}'
03
Receive structured output

Every response is validated and schema-conformant. The execution block tells you exactly what the agent did — which tools it called, how many reasoning steps it took, and whether it ran in agentic or single-shot mode. No log scraping required.

{ "response": { "content": "Policy analysis complete...", "intent": "analyze-policy", "confidence": 0.94, "metadata": { "flags": [], "guardrails_passed": true } }, "execution": { "steps": 3, "latency_ms": 820, "agent_mode": "agentic", "tool_calls": [ "retrieve_policy_context", "validate_compliance_flags", "score_risk_level" ] } }
Reference

Browse the documentation

Getting Started

Installation, authentication, and your first API call.

API Reference

Complete REST and SDK API documentation with examples.

Domain Packs

Pre-built vertical intelligence modules for every use case.

Guides

Deep-dive tutorials, architecture patterns, and best practices.

Client Libraries

HTTP client examples for curl, Python, Node.js, and more — no SDK required.

Guardrails

Policy enforcement, safety filters, and compliance tooling.

Need help?

Our team is available to help you integrate Liya Engine into your production stack.

Join DiscordContact support