I recorded a podcast about Apple new feature for Stolen Device protection. Why we need to turn on, how we can do that and how it works. You can find these questions' answer in my podcast. Enjoy
# Search
curl -X POST "https://search.dria.co/hnsw/search" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"rerank": true, "top_n": 10, "contract_id": "89fu24MX3lGGOJtESztEjfHJLxADp5I3INSDbbV6KuI", "query": "What is alexanDRIA library?"}'
# Query
curl -X POST "https://search.dria.co/hnsw/query" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"vector": [0.123, 0.5236], "top_n": 10, "contract_id": "89fu24MX3lGGOJtESztEjfHJLxADp5I3INSDbbV6KuI", "level": 2}'