curl -X POST "http://localhost:8090/platform-api/search/query-agent-instances" \
-u "$FLOWABLE_USER:$FLOWABLE_PASSWORD" \
-H "Content-Type: application/json" \
-d '{
"start": 0,
"size": 0,
"sort": "string",
"order": "string",
"tenantId": "string",
"alias": "string",
"queryName": "string",
"queryModel": {
"string": true,
"valueNode": true,
"missingNode": true,
"short": true,
"double": true,
"bigDecimal": true,
"bigInteger": true,
"textual": true,
"boolean": true,
"container": true,
"object": true,
"binary": true,
"number": true,
"nodeType": "ARRAY",
"long": true,
"pojo": true,
"int": true,
"integralNumber": true,
"floatingPointNumber": true,
"array": true,
"empty": true,
"null": true,
"float": true,
"embeddedValue": true
},
"queryParams": {
"key": {}
},
"id": "string",
"name": "string",
"agentDefinitionId": "string",
"agentDefinitionIds": [
"string"
],
"agentDefinitionKey": "string",
"agentDefinitionKeys": [
"string"
],
"state": "string",
"startUserId": "string",
"referenceId": "string",
"referenceType": "string",
"callbackId": "string",
"callbackScopeId": "string",
"callbackType": "string",
"finished": true,
"customQuery": true
}'