Skip to content

Browser Automation

Fresh

Manage automation tasks for browser environments.

Query Task

URL: http://localhost:40185/api/v1/browser/task/queryMethod: POST

ParameterRequiredTypeDescription
idsYesarray[string]Task IDs

Response (Task)

FieldTypeDescription
idstringTask ID
statusintegerTask status
failCodeintegerFailure code
failDescstringFailure description

Cancel Task

URL: http://localhost:40185/api/v1/browser/task/cancel

ParameterRequiredTypeDescription
idsYesarray[string]Task IDs

Retry Task

URL: http://localhost:40185/api/v1/browser/task/retry

ParameterRequiredTypeDescription
idsYesarray[string]Task IDs

Query Task Details

URL: http://localhost:40185/api/v1/browser/task/detail

ParameterRequiredTypeDescription
idYesstringTask ID

Task Flow Query

URL: http://localhost:40185/api/v1/browser/task/flow/list

ParameterRequiredTypeDescription
pageYesintegerPage number
pageSizeYesintegerPage size

Create Custom Browser Task

URL: http://localhost:40185/api/v1/browser/task/custom

ParameterRequiredTypeDescription
nameNostringTask name
remarkNostringRemarks
scheduleAtYesintScheduled time
eidYesstringBrowser environment ID
flowIdYesstringTask flow ID
paramMapNoobjectTask parameters
json
{
  "name": "test",
  "remark": "test remark",
  "scheduleAt": 1741846843,
  "eid": "557536075321468390",
  "flowId": "562316072435344885",
  "paramMap": {
    "Title": "video",
    "Desc": "this is video",
    "Video": ["https://material.geelark.cn/a.mp4"]
  }
}

Error Codes

CodeDescription
43028User does not have permission for this group
43027Environment not supported
46002Package expired, member unavailable
46003Package expired, environment unavailable

GEELark API Documentation - Built with VitePress