Laya, behind a typesafe/jev compatible API

Free, public endpoint for the open-weights Laya decision models (Apache-2.0). It mirrors the request and response format of Cloudflare Workers AI's typesafe/jev: one state, typed noul / choice / score questions in, calibrated probabilities out, in a single forward pass. No account, no API key.

Requests are stored and used to train models. Do not send personal data, secrets or confidential information. By using the API you accept the Terms of Service.

curl https://zaitlabs--laya-jev.eu-west.modal.run/client/v4/accounts/any/ai/run \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "typesafe/jev",
  "input": {
    "state": "Help! My payouts have been failing for 3 days.",
    "questions": {
      "is_urgent": {
        "type": "noul",
        "instructions": "Does this convey urgency?"
      },
      "department": {
        "type": "choice",
        "instructions": "Which team should handle this?",
        "criteria": {
          "billing": "Payments, invoicing, refunds",
          "technical": "Bugs, outages, integrations"
        }
      }
    }
  }
}'

OpenAPI docs · Terms · input schema · output schema · models · health