API

Everything the demos do is one HTTP call. Send Laya a state and typed questions; it answers with a choice, a score or a yes/no probability. It runs on an Android phone in the Acurast Cloud.

Base URL
Auth header
For AI agents
(llms.txt: the whole API in one file)
Status
checking...

Quick start

Question types

typeyou sendyou getgood for
choice"criteria": {"id": "description", ...}choice + probabilitiesrouting, classification, picking a move
score"criteria": ["level 0", "level 1", ...]score (0 to n-1) + probabilitiesratings, severity, sentiment
nouljust instructionsnoul: probability of yes (0 to 1)yes/no checks, flags

Several questions in one request are answered in one pass. Refer to fields of state with backticks in instructions, like `message`.

Try it

The response appears here.

Other endpoints

Good to know