Skip to main content
POST
/
jobs
/
{resource}
/
actions
Start/pause/abort a job
import requests

url = "https://{FUSION HOST}/api/jobs/{resource}/actions"

payload = {}
headers = {"Content-Type": "*/*"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "resource": "datasource:movies-db",
  "action": "start",
  "accepted": true,
  "message": "Started job datasource:movies-db"
}

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.

Path Parameters

resource
string
required

The job ID.

Body

*/*

One of: start, pause, or abort.

The body is of type object.

Response

200 - */*

successful operation

resource
string
read-only
action
enum<string>
read-only
Available options:
start,
pause,
abort
accepted
boolean
read-only
message
string
read-only