LiyaEngine Docs
Dashboard API

Dashboard API

REST API for managing your LiyaEngine account — configuration, API keys, usage, sessions, audit logs, and every platform capability.

Dashboard

The Dashboard API provides programmatic access to your LiyaEngine account. All endpoints require a dashboard JWT (Authorization: Bearer <token>) obtained from POST /auth/login.

Base URL: https://api.liyaengine.ai/dashboard


Account & access

ResourceEndpoints
AccountGET /account, PATCH /account, PATCH /account/config
API KeysGET /api-key, POST /api-key/rotate
UsageGET /usage, GET /usage/history
Domain PermissionsGET /packs, PATCH /packs — enable/disable intents per domain
SessionsGET /sessions, GET /sessions/:sessionId
AuditGET /audit
Custom DomainsCRUD for your custom domains and their intents

Platform capabilities

Each of these has its full API reference on its platform page:

ResourceReference
Agent RuntimeAgent Orchestration
WorkflowsWorkflow Builder
Cost breakdownCost Explorer
Collections & documentsKnowledge Collections
Model providersModels + Router
Intent versionsVersioning

Authentication

# 1. Get a JWT
POST /auth/login
{ "email": "[email protected]", "password": "..." }

# 2. Use it on all /dashboard/* calls
Authorization: Bearer <jwt>

JWTs expire after 7 days. Call GET /auth/me to get a fresh token.


Response envelope

All dashboard API responses follow this structure:

{
  "success": true,
  "data": { ... }
}

Errors:

{
  "success": false,
  "error": {
    "code": "TENANT_NOT_FOUND",
    "message": "Account not found"
  }
}

On this page