x-api-keyand the value you'll find from your aito.ai Console in the instance details. Note that for read only queries you can use Read-Only key, but for writing or altering data you need the separate Read/Write key.
"limit": 1to your query, the usage of results is easier as you only have the top prediction.
$p, which essentially is the confidence of the given prediction. Then we have chosen to send entries with higher than 90% confidence to continue with automated workflow, and all the rest have a different way of processing.
$pmeans the probability (confidence),
fielddenotes what was the prediction target and
featurecontains the predicted value.