Skip to main content

SDA: Querying Data

  1. 🔍 You can check out the available queries for your org via GET /queries - see the List Queries endpoint page for details.
  2. 🧰 Then, using the query id and any variables required you are ready to setup the payload for executing the query:
Example POST /queries/execute Payload
{
"id": "dfcee886-231d-4a9d-9bdd-857f74XXXXX",
"variables": {
"service": "Netflix"
}
}
  1. 🏁 You can now use the POST /queries endpoint to retrieve the results - check out the Execute Queries endpoint page for details. You can find an example below:

    • 1️⃣ Node info acquisition details can be found on the Access page
    • 2️⃣ Token acquisition details can be found on the Generatin API Tokens page
Code Samples
nildb/secretvault_python/nildb_api.py
loading...