Get long-running tasks

GET {{baseUrl}}/api/longtask?start=0&limit=100

Returns information about all active long-running tasks (e.g. space export), such as how long each task has been running and the percentage of each task that has completed.

Permissions required: Permission to access the Confluence site ('Can use' global permission).

Request Params

KeyDatatypeRequiredDescription
startnumberThe starting index of the returned tasks.
limitnumberThe maximum number of tasks to return per page. Note, this may be
restricted by fixed system limits.

RESPONSES

status: OK

{"results":[{"id":"irure laborum reprehenderit","name":{"key":"ea fugiat"},"elapsedTime":-80970955,"percentageComplete":-50700695,"successful":false,"messages":[{"translation":"laboris dolore est pariatur"},{"translation":"ut consectetur"}]},{"id":"exercitation quis occaecat pariatur","name":{"key":"ipsum enim consectetur laborum ea"},"elapsedTime":68022774,"percentageComplete":-46095628,"successful":true,"messages":[{"translation":"ullamco officia Lorem occaecat"},{"translation":"aliquip de"}]}],"start":73270285,"limit":-69580683,"size":69587096,"_links":{}}