API documentation
Run the same analysis as the workspace from your own software. Every successful call costs €0.05 and is charged to the Sensifai wallet of the person who created the key. Unsuccessful calls are free.
1. Create a key
Sign in, open the workspace and go to API keys. Give the key a name and, if you like, a monthly cap. The key is shown once. It looks like aislescout_live_… and only works for AisleScout.
2. Call the endpoint
POST https://aislescout.sensifai.com/api/v1/run
Authorization: Bearer YOUR_KEY (or X-API-Key: YOUR_KEY)
Content-Type: application/json
{
"mode": "scan",
"goal": "Real extra-virgin olive oil under €15",
"chips": [
"Highest Quality",
"Under €15"
],
"images": [
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD..."
]
}3. Read the result
{
"id": "run_7f3c2a91",
"result": {
"mode": "scan",
"aisleSummary": "Compared 14 visible olive oil bottles; dark-glass cold-extracted extra-virgin picks on the middle shelf lead.",
"itemsScanned": 14,
"detectedLanguage": "English",
"picks": [
{
"rank": 1,
"badge": "Best Match",
"productName": "Terra Verde Cold-Extracted Extra Virgin (750 ml)",
"shelfPosition": "Middle shelf · 3rd from left",
"visualCue": "Dark emerald glass bottle with cream neck band",
"priceDisplay": "€12.90",
"unitPriceDisplay": "€17.20 / L",
"fitScore": 93,
"reasons": [
"Dark glass protects freshness",
"Cold-extracted extra virgin under €15"
]
},
{
"rank": 2,
"badge": "Best Value",
"productName": "Solana Everyday Extra Virgin (1 L)",
"shelfPosition": "Bottom shelf · 2nd from right",
"visualCue": "Tall dark amber bottle with cobalt seal",
"priceDisplay": "€11.50",
"unitPriceDisplay": "€11.50 / L",
"fitScore": 86,
"reasons": [
"Lowest price per litre on the rack"
]
}
],
"traps": [
{
"productName": "Casa Gold Artisan Light Olive Oil (500 ml)",
"shelfPosition": "Top shelf · 2nd from left",
"priceDisplay": "€14.80",
"trapType": "Buzzword markup",
"reason": "Light refers to refined flavour, not lower calories, at €29.60 per litre."
}
],
"checkTheBack": [
"Harvest date and acidity are printed on the back label; snap both bottles in Showdown mode to confirm."
],
"translations": []
},
"charge": {
"amountEur": 0.05,
"currency": "EUR"
}
}Every response has an X-Request-Id header. Quote it when you contact support. Rate limit: 60 calls per minute per key, reported in X-RateLimit-Limit and X-RateLimit-Remaining.
Errors
Errors use one shape: {"error": {"code", "message", "requestId"}}.
| Status | Code | Meaning |
|---|---|---|
| 400 | INVALID_JSON, GOAL_REQUIRED, GOAL_TOO_LONG, MISSING_IMAGE, INVALID_IMAGE_COUNT, INVALID_IMAGE, UNSUPPORTED_IMAGE_TYPE, CONSENT_REQUIRED | Fix the request. Not charged. |
| 401 | INVALID_API_KEY | Missing, malformed, revoked, or a key from another app. |
| 402 | PAYMENT_REQUIRED, KEY_SPEND_CAP_REACHED | Add funds or raise the key's cap. Not charged. |
| 413 | PAYLOAD_TOO_LARGE | Body over 8 MB. |
| 429 | RATE_LIMITED, TOO_MANY_PARALLEL_RUNS | Wait for the Retry-After seconds. |
| 502 | BILLING_UNAVAILABLE | The charge failed, so no result was returned. Not charged. |
| 503 | AI_UNAVAILABLE, WALLET_UNAVAILABLE | Temporary. Retry with backoff. Not charged. |
OpenAPI
Machine-readable description: https://aislescout.sensifai.com/api/v1/openapi
Privacy
Inputs and results are not stored. Responses never include the key owner’s identity. If your input contains personal data, you are responsible for having a legal basis to send it.