List task jobs
import requests
url = "https://{FUSION_HOST}/job-config/tasks"
response = requests.get(url)
print(response.text)HttpResponse<String> response = Unirest.get("https://{FUSION_HOST}/job-config/tasks")
.asString();const options = {method: 'GET'};
fetch('https://{FUSION_HOST}/job-config/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://{FUSION_HOST}/job-config/tasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodypackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{FUSION_HOST}/job-config/tasks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{FUSION_HOST}/job-config/tasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}curl --request GET \
--url https://{FUSION_HOST}/job-config/tasks[
{
"type": "blob-download",
"id": "refresh-autocomplete-blob",
"url": "https://doc.lucidworks.com/autocomplete/5.8/autocomplete_documentation.json",
"blobId": "autocomplete/autocomplete_documentation.json",
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:36.916Z"
},
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:36.918Z"
}
]
},
{
"type": "system-logs-cleanup",
"id": "delete-old-system-logs",
"collection": "system_logs",
"days": 30,
"query": "-logger_class_s:\"com.lucidworks.cloud.gateway.audit\"",
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:40.530Z"
},
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:40.532Z"
}
]
},
{
"type": "rest-call",
"id": "refresh-autocomplete",
"callParams": {
"uri": "service://system-autocomplete/_refresh",
"method": "post",
"queryParams": {},
"headers": {}
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:38.561Z"
},
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:38.563Z"
}
]
},
{
"type": "rest-call",
"id": "delete-docs",
"callParams": {
"uri": "solr://my_site_query_rewrite_staging/update",
"method": "post",
"queryParams": {
"wt": "json"
},
"headers": {},
"entity": "<root><delete><query>id:sbkhsYYKS</query></delete><commit /></root>"
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:39.511Z"
},
{
"userId": "admin",
"timestamp": "2023-11-16T22:28:24.888Z"
},
{
"userId": "admin",
"timestamp": "2023-11-16T22:28:24.891Z"
}
]
},
{
"type": "rest-call",
"id": "delete-old-job-history",
"callParams": {
"uri": "solr://system_jobs_history/update",
"method": "post",
"queryParams": {
"wt": "json"
},
"headers": {},
"entity": "<root><delete><query>timestamp_dt:[* TO NOW-30DAYS] AND type_s:history</query></delete><commit /></root>"
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:34.608Z"
},
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:34.613Z"
}
]
},
{
"type": "rest-call",
"id": "index_testing_cleanup",
"callParams": {
"uri": "solr://index_testing/update",
"method": "post",
"queryParams": {
"wt": "json"
},
"headers": {},
"entity": "<root><delete><query>last_indexed_tdt:[* TO 2025-08-19T16:59:59.232Z ]</query></delete><commit /></root>"
},
"updates": [
{
"userId": "project-ai",
"timestamp": "2025-08-19T19:16:36.149663139Z"
}
]
},
{
"type": "rest-call",
"id": "delete-old-system-metrics",
"callParams": {
"uri": "solr://system_monitor/update",
"method": "post",
"queryParams": {
"wt": "json"
},
"headers": {},
"entity": "<root><delete><query>timestamp_tdt:[* TO NOW-30DAYS]</query></delete><commit /></root>"
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:36.348Z"
},
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:36.350Z"
}
]
},
{
"type": "rest-call",
"id": "my_site_delete_useless_items_from_trending_searches_collection",
"callParams": {
"uri": "solr://my_site_trending_searches/update",
"method": "post",
"queryParams": {},
"headers": {},
"entity": "<root><delete><query>aggr_count_i:[0 TO 50] OR query_s:/.{0,1}./ OR query_s:\"*:*\"</query></delete><commit /></root>"
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:37.910Z"
}
]
},
{
"type": "rest-call",
"id": "delete-query-to-query-recs",
"callParams": {
"uri": "solr://my_site_queries_query_recs/update",
"method": "post",
"queryParams": {},
"headers": {},
"entity": "<root><delete><query>count_i:[0 TO 1]</query></delete><commit /></root>"
},
"updates": [
{
"userId": "admin",
"timestamp": "2023-11-20T16:18:13.402Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T16:22:34.592Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T16:22:34.595Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T16:22:56.742Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T16:22:56.744Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T20:09:53.785Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T20:09:53.787Z"
}
]
},
{
"type": "rest-call",
"id": "Delete_old_documents",
"callParams": {
"uri": "solr://my_site/update",
"method": "post",
"queryParams": {},
"headers": {
"wt": "json"
},
"entity": "<root><delete><query>fetchedDate_dt:[* TO NOW-30DAY]</query></delete><commit /></root>"
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:36.641Z"
}
]
}
]List task jobs
Fetch the list of all task jobs configured in Fusion.
GET
/
job-config
/
tasks
List task jobs
import requests
url = "https://{FUSION_HOST}/job-config/tasks"
response = requests.get(url)
print(response.text)HttpResponse<String> response = Unirest.get("https://{FUSION_HOST}/job-config/tasks")
.asString();const options = {method: 'GET'};
fetch('https://{FUSION_HOST}/job-config/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));require 'uri'
require 'net/http'
url = URI("https://{FUSION_HOST}/job-config/tasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodypackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{FUSION_HOST}/job-config/tasks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{FUSION_HOST}/job-config/tasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}curl --request GET \
--url https://{FUSION_HOST}/job-config/tasks[
{
"type": "blob-download",
"id": "refresh-autocomplete-blob",
"url": "https://doc.lucidworks.com/autocomplete/5.8/autocomplete_documentation.json",
"blobId": "autocomplete/autocomplete_documentation.json",
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:36.916Z"
},
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:36.918Z"
}
]
},
{
"type": "system-logs-cleanup",
"id": "delete-old-system-logs",
"collection": "system_logs",
"days": 30,
"query": "-logger_class_s:\"com.lucidworks.cloud.gateway.audit\"",
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:40.530Z"
},
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:40.532Z"
}
]
},
{
"type": "rest-call",
"id": "refresh-autocomplete",
"callParams": {
"uri": "service://system-autocomplete/_refresh",
"method": "post",
"queryParams": {},
"headers": {}
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:38.561Z"
},
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:38.563Z"
}
]
},
{
"type": "rest-call",
"id": "delete-docs",
"callParams": {
"uri": "solr://my_site_query_rewrite_staging/update",
"method": "post",
"queryParams": {
"wt": "json"
},
"headers": {},
"entity": "<root><delete><query>id:sbkhsYYKS</query></delete><commit /></root>"
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:39.511Z"
},
{
"userId": "admin",
"timestamp": "2023-11-16T22:28:24.888Z"
},
{
"userId": "admin",
"timestamp": "2023-11-16T22:28:24.891Z"
}
]
},
{
"type": "rest-call",
"id": "delete-old-job-history",
"callParams": {
"uri": "solr://system_jobs_history/update",
"method": "post",
"queryParams": {
"wt": "json"
},
"headers": {},
"entity": "<root><delete><query>timestamp_dt:[* TO NOW-30DAYS] AND type_s:history</query></delete><commit /></root>"
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:34.608Z"
},
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:34.613Z"
}
]
},
{
"type": "rest-call",
"id": "index_testing_cleanup",
"callParams": {
"uri": "solr://index_testing/update",
"method": "post",
"queryParams": {
"wt": "json"
},
"headers": {},
"entity": "<root><delete><query>last_indexed_tdt:[* TO 2025-08-19T16:59:59.232Z ]</query></delete><commit /></root>"
},
"updates": [
{
"userId": "project-ai",
"timestamp": "2025-08-19T19:16:36.149663139Z"
}
]
},
{
"type": "rest-call",
"id": "delete-old-system-metrics",
"callParams": {
"uri": "solr://system_monitor/update",
"method": "post",
"queryParams": {
"wt": "json"
},
"headers": {},
"entity": "<root><delete><query>timestamp_tdt:[* TO NOW-30DAYS]</query></delete><commit /></root>"
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:36.348Z"
},
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:36.350Z"
}
]
},
{
"type": "rest-call",
"id": "my_site_delete_useless_items_from_trending_searches_collection",
"callParams": {
"uri": "solr://my_site_trending_searches/update",
"method": "post",
"queryParams": {},
"headers": {},
"entity": "<root><delete><query>aggr_count_i:[0 TO 50] OR query_s:/.{0,1}./ OR query_s:\"*:*\"</query></delete><commit /></root>"
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:37.910Z"
}
]
},
{
"type": "rest-call",
"id": "delete-query-to-query-recs",
"callParams": {
"uri": "solr://my_site_queries_query_recs/update",
"method": "post",
"queryParams": {},
"headers": {},
"entity": "<root><delete><query>count_i:[0 TO 1]</query></delete><commit /></root>"
},
"updates": [
{
"userId": "admin",
"timestamp": "2023-11-20T16:18:13.402Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T16:22:34.592Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T16:22:34.595Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T16:22:56.742Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T16:22:56.744Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T20:09:53.785Z"
},
{
"userId": "admin",
"timestamp": "2023-11-20T20:09:53.787Z"
}
]
},
{
"type": "rest-call",
"id": "Delete_old_documents",
"callParams": {
"uri": "solr://my_site/update",
"method": "post",
"queryParams": {},
"headers": {
"wt": "json"
},
"entity": "<root><delete><query>fetchedDate_dt:[* TO NOW-30DAY]</query></delete><commit /></root>"
},
"updates": [
{
"userId": "config-sync_service_account",
"timestamp": "2023-10-05T21:51:36.641Z"
}
]
}
]Was this page helpful?
⌘I