GraphQL actions
On this page
- Split entities in bulk
- Delete entities in bulk
- Run post-processing
- Run entity metrics processing
- Run edge processing
- Run enrichment
- Search with filter
CluedIn supports GraphQL actions so that you can run commands in bulk from our GraphQL endpoint. You will need to be in the Admin role to even see these commands as they allow you to run operations in bulk.
Split entities in bulk
{
search(query: "user.firstName:Tim", pageSize: 4) {
entries {
name
actions {
splitEntity
}
}
}
}
Delete entities in bulk
{
search(query: "user.firstName:Tim", pageSize: 4) {
entries {
name
actions {
deleteEntity
}
}
}
}
Run post-processing
{
search(query: "user.firstName:Tim", pageSize: 4) {
entries {
name
actions {
postProcess
}
}
}
}
Run entity metrics processing
{
search(query: "user.firstName:Tim", pageSize: 4) {
entries {
name
actions {
processEntityMetrics
}
}
}
}
Run edge processing
{
search(query: "user.firstName:Tim", pageSize: 4) {
entries {
name
actions {
processEdges
}
}
}
}
Run enrichment
{
search(query: "user.firstName:Tim", pageSize: 4) {
entries {
name
actions {
enrich
}
}
}
}
Search with filter
{
search(
query:"entityType:/Customer",
filter: "(properties.customer.addressCountry:CHN OR JPN) AND -properties.customer.addressZipCode:*"
)
{
totalResults
entries {
id
name
properties
}
}
}
In -properties.customer.addressZipCode:*
, the -properties
means where value does not exist; and if it is +properties
, it would mean where value exists. Note that the filter uses Lucene syntax. Also, you can test the filter query directly in the search bar.