JewelLens API

A research assistant for jewellery, not an appraisal. Machine-readable spec: /api/openapi.json.

Authenticate

curl -H "Authorization: Bearer $JEWELLENS_KEY" https://jewellens.sensifai.com/api/v1/meta

Create keys on the dashboard under Settings. Only POST /api/v1/analyses is billed, and only once the report is delivered.

Analyse a piece

curl -X POST -H "Authorization: Bearer $JEWELLENS_KEY" \
  -F [email protected] -F [email protected] -F [email protected] \
  -F roles=overview,back,hallmark \
  -F 'facts={"material":"silver","weight_g":4.2}' \
  https://jewellens.sensifai.com/api/v1/analyses
# 202 {"job_id":"...","analysis_id":"...","poll":"/api/v1/jobs/..."}
curl -H "Authorization: Bearer $JEWELLENS_KEY" https://jewellens.sensifai.com/api/v1/jobs/JOB_ID
curl -H "Authorization: Bearer $JEWELLENS_KEY" https://jewellens.sensifai.com/api/v1/analyses/JOB_ID

Send one to four JPEG or PNG photos with a role each: overview, back, hallmark (the stamp, close up) or detail. A photo that cannot be used is refused with 422 before anything is charged.

Check photos first (free)

curl -X POST -H "Authorization: Bearer $JEWELLENS_KEY" \
  -F [email protected] -F roles=hallmark \
  https://jewellens.sensifai.com/api/v1/preview