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 carryoncheck_live_… and only works for CarryOnCheck.
2. Call the endpoint
POST https://carryoncheck.sensifai.com/api/v1/run
Authorization: Bearer YOUR_KEY (or X-API-Key: YOUR_KEY)
Content-Type: application/json
{
"bagType": "personal-item",
"destination": "London, UK",
"days": 4,
"vibe": "city",
"airline": "Ryanair",
"itemsText": "200 ml shampoo bottle, clear pouch, metal nail scissors, 10,000 mAh power bank, 3 pairs of jeans, 2 pairs of sneakers, rain shell"
}3. Read the result
{
"id": "run_7f3c2a91",
"result": {
"status": "SECURITY_FLAGS_FOUND",
"statusLabel": "SECURITY FLAGS FOUND",
"readinessScore": 54,
"visibleItemCount": 14,
"verdictSummary": "Hold before zipping: two items risk airport security confiscation in cabin baggage, and a UK power adapter is missing for a 4-day London trip.",
"tripSummary": {
"bagLabel": "Under-Seat Personal Item",
"destination": "London, UK",
"days": 4,
"vibeLabel": "City",
"airline": "Ryanair"
},
"securityFlags": [
{
"id": "flag-shampoo-200ml",
"item": "200 ml shampoo bottle",
"issue": "Exceeds the 100 ml cabin liquid, gel, and aerosol limit per container.",
"ruleTag": "100ML MAX",
"severity": "critical",
"action": "Decant into a 100 ml bottle inside your clear 1-litre zip bag, or swap for a solid shampoo bar."
},
{
"id": "flag-nail-scissors",
"item": "Metal nail scissors",
"issue": "Blades over 6 cm (and pointed scissors at many European checkpoints) are confiscated at cabin screening.",
"ruleTag": "CABIN RULE",
"severity": "warning",
"action": "Leave at home or move into a checked bag; pack blunt-tip safety clippers if needed."
}
],
"missingEssentials": [
{
"id": "miss-type-g-adapter",
"item": "Type-G UK wall plug adapter",
"reason": "United Kingdom sockets use 3-pin Type-G outlets; only a loose USB-C cable was visible.",
"priority": "essential",
"specTag": "TYPE-G PLUG"
},
{
"id": "miss-travel-docs",
"item": "Passport and boarding documents pouch",
"reason": "No passport sleeve or travel-document wallet is visible in the laid-out pile.",
"priority": "essential",
"specTag": "DOCUMENTS"
}
],
"leaveBehind": [
{
"item": "2 extra pairs of heavy jeans + 1 spare pair of sneakers",
"reason": "Three pairs of jeans and two pairs of shoes will fill a strict Ryanair 40x20x25 cm under-seat bag.",
"estimatedSavings": "Save ~1.3 kg",
"packingTip": "Wear your sneakers on the plane and pack one pair of jeans plus one lighter pair of chinos."
}
],
"visibilityNotes": [
"One opaque zip toiletry pouch was closed, so any liquids or sharp tools inside it could not be inspected.",
"The 10,000 mAh power bank is allowed in cabin baggage; keep it accessible rather than buried at the bottom."
],
"authorityDisclaimer": "Airline sizers and local airport security officers remain the final authority at the checkpoint."
},
"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, INPUT_REQUIRED, INVALID_BAG_TYPE, INVALID_IMAGE, IMAGE_TOO_LARGE | 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 6 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://carryoncheck.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.