The hosted age gate's estimator. OVER_THRESHOLD when the estimate reaches threshold + buffer_years (default 18 + 7 = 25, as the hosted gate); the estimate has no calibrated error bound, so decide with the buffer, not the raw age. CHF 0.30 per answered call. Needs the age:estimate scope.

Send your API key in the x-api-key header.

Headers

  • Idempotency-Keystring8–200 chars

    Reuse on retries (printable non-space ASCII). For 24 hours the same key and the same request return the saved answer and check id without a second charge; a different request under the key returns 409.

Request bodyapplication/jsonrequired

  • thresholdinteger12–30default 18
  • buffer_yearsinteger0–15default 7
  • reference_idstring≤ 128 chars

    Your own id, echoed in the answer.

  • sandbox_outcomestring

    Sandbox keys only: which test answer to return. No model runs and nothing is charged.

    One ofoverunderno_face

  • imagesarray of stringrequired

    One to three images of one person (or a single image field).

Responses

  • 200The answer.
    • check_idstringuuid
    • productstring
    • environmentstring | null
    • sandboxboolean
    • checked_atstringdate-time
    • reference_idstring
    • signed_resultstring

      The same answer as an ES256 JWS, verifiable with /.well-known/jwks.json.

    • decisionstring

      One ofOVER_THRESHOLDNOT_CONFIRMEDNO_FACE

    • over_thresholdboolean
    • estimated_agenumber | null
    • thresholdinteger
    • pass_ageinteger
    • uncertaintyobject
      Show 3 child properties
      • buffer_yearsinteger
      • frames_usedinteger
      • spread_yearsnumber | null

        How far estimates over several images differ; not an error bound.

  • 400Invalid input.
  • 401Missing, unknown or expired API key.
  • 402The balance does not cover the check.
  • 403The key lacks the product's scope, its IP allowlist refuses the caller, or (code production_not_allowed) the organization may not use production yet.
  • 409The Idempotency-Key is in progress (Retry-After: 1) or was used with a different request.
  • 413A file or the body is too large.
  • 415A file is not of an accepted type (checked by its bytes, not its name), or the body is neither multipart nor JSON.
  • 422An image could not be decoded. Not charged.
  • 429More than 120 calls in a minute for this product.
  • 503The check could not run on our side. Nothing was charged; retry later with the same Idempotency-Key.
curl -X POST https://api-verify.secuveri.com/v1/age/estimate \
  -H "x-api-key: $SECUVERI_API_KEY" \
  -H "content-type: application/json" \
  -H "Idempotency-Key: signup-1042-retry-safe" \
  -d '{
  "images": [
    "string"
  ]
}'
Response · 200
{
  "check_id": "6f1c2e0a-8f43-4f7e-9a51-2b7c1d9e4a10",
  "product": "<product>",
  "environment": "<environment>",
  "sandbox": true,
  "checked_at": "2026-10-23T09:12:44.120Z",
  "reference_id": "<reference id>",
  "signed_result": "eyJhbGciOiJFUzI1NiIsImtpZCI6Ii4uLiJ9.…",
  "decision": "OVER_THRESHOLD",
  "over_threshold": true,
  "estimated_age": 1,
  "threshold": 1,
  "pass_age": 1,
  "uncertainty": {
    "buffer_years": 1,
    "frames_used": 1,
    "spread_years": 1
  }
}