https://banlys.com/api/lattice/v1Include your API key in the Authorization header:
Authorization: Bearer lattice_sk_your_api_key_here
Create API keys from your Dashboard.
Get next-item predictions for a sequence.
Request body:
{
"sequence": [1, 2, 3, 4, 5],
"category": "movies"
}sequence — array of item IDs. category — optional, default "movies".
Limits vary by plan. When exceeded, the API returns 429 with { "error": "Usage limit exceeded", "used": N, "limit": N }.
curl -X POST https://banlys.com/api/lattice/v1/predict \
-H "Authorization: Bearer lattice_sk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"sequence": [1,2,3,4,5], "category": "movies"}'