Promptlift

API

Base address https://promptlift.aiyakala.com/api/v1. Send an API key from your dashboard as Authorization: Bearer <key>. Each key may make 30 requests a minute.

Score a prompt

curl -sS https://promptlift.aiyakala.com/api/v1/evaluate \
  -H "Authorization: Bearer $PROMPTLIFT_KEY" -H "Content-Type: application/json" \
  -d '{"prompt": "Write a summary of the attached report for our sales team.", "improve": false}'

prompt: up to 20,000 characters, not stored (only its SHA-256). improve: also return a rewritten prompt; uses more tokens. The answer has score (0–100), criteria (goal, context, constraints, efficiency, risk; each with score, max, reason, suggestion), usage.tokens and quota.

Check a text's AI style

curl -sS https://promptlift.aiyakala.com/api/v1/style -H "Authorization: Bearer $PROMPTLIFT_KEY" \
  -H "Content-Type: application/json" -d '{"text": "..."}'

Up to 100,000 characters. Returns a 0–100 estimate of how machine-written the text reads and what it found. It is an estimate of style, not proof of who wrote it, and costs a tenth of the text's tokens.

Usage

GET https://promptlift.aiyakala.com/api/v1/usage returns your plan, this 4-hour window and this month. Windows start at 00:00, 04:00, 08:00, 12:00, 16:00 and 20:00 UTC.

Errors

StatusCodeMeaning
400invalid_request, empty, too_longThe body is wrong or the input is too long.
401unauthorizedNo valid API key.
402window_quota, monthly_quota, payg_limitQuota used up; retry_after says when it refreshes.
403suspendedThe account is suspended.
429rate_limited, failure_limitOver 30 requests a minute, or too many failed requests in an hour.
502bad_model_outputThe model's answer was unusable. Not charged.
503global_ceiling, model_unavailableAt capacity or the model is down. Not charged.