Free open beta, Jev-compatible request format
decide(state,
questions)
→ typed answers
Ask your software a question in plain words. Laya API sends back JSON your code can branch on: a yes/no probability, a picked option, or a score. Every answer comes with a confidence value. No free text to parse.
Same primitives as Jev
- noul
- yes/no, as a probability
- choice
- one option from your list, with a probability each
- score
- a value between levels you describe
What happens to a request
Requests run as jobs. That keeps your app responsive: you can block for a few seconds and get the answer right away, or fire and forget and check back later.
- 1 queued You POST a state and your questions. We store the request and give it a job id.
- 2 processing A Laya worker picks up the job and runs the typed decisions model on it.
- 3 completed The answers come back as JSON that matches your questions, key for key.
- 4 read Wait for it in the same call with ?wait=10, or fetch the job later. Every run also shows up in your dashboard.
Already using Jev? Change two lines.
Same request body, same answers object. The only
difference: the answer arrives inside a job object, and
?wait=10 returns it in the same call.
- endpoint
- https://laya-api.de/api/v1/systemone
- model
- laya-latest
Free while we’re in open beta
Create an account, generate a key and start sending requests. No credit card. Beta keys are limited to 60 requests per minute.
After the beta: input tokens only
Output tokens are free. An answer is a handful of numbers, not paragraphs of text, so you’ll only ever be billed for what you send. Pricing will be published before the beta ends.