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 walltone_live_… and only works for WallTone.
2. Call the endpoint
POST https://walltone.sensifai.com/api/v1/run
Authorization: Bearer YOUR_KEY (or X-API-Key: YOUR_KEY)
Content-Type: application/json
{
"mode": "recommend",
"windowDirection": "north",
"vibe": "warm-cozy",
"notes": "North-facing bedroom with honey-oak floorboards and linen curtains."
}3. Read the result
{
"id": "run_9a4c1e20",
"result": {
"mode": "recommend",
"confidenceScore": 88,
"fixedElements": [
{
"surface": "Honey-oak floorboards",
"undertone": "Warm amber-yellow undertone",
"lightNote": "Reflects warm gold onto lower walls"
}
],
"swatchRanking": [],
"palettes": [
{
"name": "Warm Linen Plaster",
"whyItWorks": "Balanced yellow-green warmth counters cool north light.",
"wall": {
"name": "Atelier Putty",
"hex": "#E6DFD3",
"lrv": 72,
"family": "Warm putty white",
"finish": "Matte / Flat"
},
"trim": {
"name": "Chalk Bone",
"hex": "#F3EFE6",
"lrv": 85,
"family": "Soft warm white",
"finish": "Eggshell"
},
"accent": {
"name": "Smoked Umber",
"hex": "#7A6A58",
"lrv": 18,
"family": "Muted taupe-brown",
"finish": "Satin"
}
}
],
"colorTrap": {
"family": "Cool blue-grays",
"reason": "North light amplifies blue casts and clashes with warm oak."
},
"paintCounterSpec": {
"direction": "Warm putty white with balanced green-gray undertone",
"undertoneNote": "Avoid pink-beige or blue-gray bases.",
"targetLrv": "LRV 68 to 74 for walls",
"recommendedFinish": "Matte or Flat",
"hexReference": "#E6DFD3"
},
"cameraGuardrail": "Verify with an A4 test board in morning daylight and evening lamps."
},
"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_TOO_SHORT, INPUT_TOO_LONG, 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 256 KB. |
| 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://walltone.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.