> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List task jobs

> Fetch the list of all task jobs configured in Fusion.



## OpenAPI

````yaml /api-reference/5.9/fusion-api-job-config.json get /job-config/tasks
openapi: 3.0.1
info:
  title: Fusion Job Config API
  description: API for the Job Configuration and History of Lucidworks Fusion.
  contact:
    name: Lucidworks
    url: www.lucidworks.com
    email: support@lucidworks.com
  license:
    name: License of API
    url: https://lucidworks.com/legal/developer-license-agreement/
  version: '5.9'
servers:
  - url: https://{FUSION_HOST}
    description: Fusion
    variables:
      FUSION_HOST:
        default: FUSION_HOST
        description: Your environment host.
security: []
tags:
  - name: Manage task jobs
    description: Fetch, create, update, and delete task job configurations.
  - name: Manage all jobs
    description: Fetch, create, update, and delete task jobs and Spark jobs.
  - name: Manage job schedules
    description: Fetch, configure, and reset job schedules.
  - name: Get job histories
    description: Get the history of any job.
externalDocs:
  description: Lucidworks Documentation
  url: https://doc.lucidworks.com/
paths:
  /job-config/tasks:
    get:
      tags:
        - Manage task jobs
      summary: List task jobs
      description: Fetch the list of all task jobs configured in Fusion.
      operationId: getAllEntities
      parameters:
        - name: context
          description: The app to which a job belongs, formatted as `app:APP_NAME`.
          example: app:api-test-app
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  anyOf:
                    - $ref: '#/components/schemas/BlobDownloadTask'
                    - $ref: '#/components/schemas/ServiceCallTask'
                    - $ref: '#/components/schemas/SystemLogsCleanupTask'
              example:
                - 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'
components:
  schemas:
    BlobDownloadTask:
      type: object
      allOf:
        - $ref: '#/components/schemas/Task'
        - type: object
          properties:
            url:
              type: string
            blobId:
              type: string
    ServiceCallTask:
      type: object
      allOf:
        - $ref: '#/components/schemas/Task'
        - type: object
          properties:
            callParams:
              $ref: '#/components/schemas/ConfigCallParams'
    SystemLogsCleanupTask:
      type: object
      allOf:
        - $ref: '#/components/schemas/Task'
        - type: object
          properties:
            collection:
              type: string
            days:
              type: integer
              format: int32
            query:
              type: string
    Task:
      required:
        - type
      type: object
      properties:
        id:
          type: string
        type:
          type: string
      discriminator:
        propertyName: type
    ConfigCallParams:
      type: object
      properties:
        uri:
          type: string
        method:
          type: string
          enum:
            - get
            - put
            - post
            - delete
        queryParams:
          type: object
          additionalProperties:
            type: string
        headers:
          type: object
          additionalProperties:
            type: string
        entity:
          type: string

````