Laya is a small "System 1" decision model. It answers fixed category / yes-or-no / relevance questions with a probability, in about 40 ms. It does not write free text and it is not a chatbot.
confidence field in each answer, never
act_probability (nested under
answers.<name>.action.act_probability) --
act_probability is not the calibrated value.
Every CryptoLabs WordPress account already has an API key: log in, then use "reveal key" (or "regenerate key" to rotate it) under your account's AI settings. That same key is what you send here.
Free for account holders. Usage is counted per account.
curl -s https://laya.cryptolabs.co.za/v1/systemone \
-H "Authorization: Bearer <your CryptoLabs API key>" \
-H "Content-Type: application/json" \
-d '{
"state": "Incident: GPU 0 fell off the bus after an Xid 79 error.",
"questions": {
"category": {
"type": "choice",
"instructions": "Classify the likely root cause category.",
"criteria": {"gpu_hardware": null, "network": null, "other": null}
}
}
}'
| type | meaning | answer field |
|---|---|---|
choice | pick one of several fixed categories | choice |
noul | yes/no-ish, as a single 0-1 value | noul |
score | how well something matches, 0-1 | score |
state: 8 KB