LianaAutomation REST API documentation

automations/request

POST
https://rest.automation.lianacloud.com/api/v1
/report/automations/request

Make a automations report request

automations/request › Request Body

start_date
​string · required
end_date
​string · required

automations/request › Responses

OK

handle
​string

The handle returned as response from the initial request

Example: 1234

automations/ready

POST
https://rest.automation.lianacloud.com/api/v1
/report/automations/ready

Check if a requested automations report is completed.

automations/ready › Request Body

handle
​string

The handle returned as response from the initial request

Example: 1234

automations/ready › Responses

OK

ready
​boolean
error
​string

Why the job failed. Only database searches, deletes and exports return it. A failed automation report is ready, and its result has the error.


automations/result

POST
https://rest.automation.lianacloud.com/api/v1
/report/automations/result

Fetch results of a finished request

automations/result › Request Body

handle
​string

The handle returned as response from the initial request

Example: 1234

automations/result › Responses

OK

​object[]
id
​integer

Automation id

Example: 1
name
​string

Automation name

Example: Customer automation
enabled
​boolean

Automation state

Example: true
​object[]