This App API call allows you to retrieve your app summarization results, you are able to stipulate the number of results through the num_results attribute.
Sample Code
curl https://app.graft.com/v1/query -H 'Content-Type: application/json' -X POST -d '{
"secret": " ... ENTER YOUR FULL API KEY HERE",
"output_format": "csv",
"organization": "<org_name>",
"project": "<project_id>",
"app_name": "0",
"instance_name": "<instance_id>",
"entity": "<entity_name>",
"config_name": "my_config",
"entity_columns": [
"<column_1>",
"<column_2>",
"<column_3>",
"<column_4>",
"<column_5>"
],
"entity_predictors": [
{
"<my_prompt_enrichment>"
}
],
"num_results": 10
}'