Save Scan To Collection
POST /api/v1/gems/save/collection Save multiple scanned gemstones to user's permanent collection.
Supports saving multiple gemstones at once from a multi-gemstone scan. Limited by free saves (50 for free users, unlimited for subscribers).
LNK-LADDER: the user's FIRST successful save grants +1 bonus scan. The response items additively carry {"bonus_granted": true, "scans_remaining": n} on the grant-ing save so the app can toast it (old clients ignore the unknown fields; the array shape is unchanged).
Args: gemstone_ids: List of gemstone IDs to save
Returns: List of saved SavedGemstoneResponse objects
Raises: HTTPException 400: Invalid or missing gemstone IDs HTTPException 402: Save limit reached HTTPException 404: Some gemstones not found HTTPException 500: Database error
Request
- Base URL: https://api.gemstoneaiapp.com (the document declares no server; this is the origin it was published from)
- URL: https://api.gemstoneaiapp.com/api/v1/gems/save/collection
- Auth: HTTP bearer
Headers
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.