Skip to main content
GET
/
job-config
/
tasks
List task jobs
import requests

url = "https://{FUSION_HOST}/job-config/tasks"

response = requests.get(url)

print(response.text)
[
  {
    "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"
      }
    ]
  }
]

Query Parameters

context
string

The app to which a job belongs, formatted as app:APP_NAME.

Response

200 - */*

OK

type
string
required
id
string
url
string
blobId
string