For the complete documentation index, see llms.txt. This page is also available as Markdown.

Jobs

Translation actions

Get Jobs status

get

This endpoint requires administrator permissions

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: Jobs status success
eventstring · enumOptionalPossible values:
itemsarrayOptional
get/v1/jobs/status

Pause Job scheduling

put

This endpoint requires administrator permissions

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: Jobs pause success
eventstring · enumOptionalPossible values:
itemsarrayOptional
put/v1/jobs/pause

Resume Job scheduling

put

This endpoint requires administrator permissions

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: Jobs resume success
eventstring · enumOptionalPossible values:
itemsarrayOptional
put/v1/jobs/resume

Get active Jobs

get

This endpoint requires Jobs permissions

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: Jobs list success
eventstring · enumOptionalPossible values:
itemsarrayOptional
get/v1/jobs

Create a new Job

post

This endpoint requires Jobs permissions

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
displayNamestringRequired

A job name

Example: fancy-job
imageIdstringRequired

The Virtual Environment image id

Example: firefox
routerIdstringRequired

The egress Router id

Example: lax81uq4
resolutionstringRequired

The Virtual Environment resolution

Example: 1280x1024
expiresnumber · min: 10 · max: 60Required

The max run time of the job in minutes

Example: 10
retriesnumberRequired

The number of times to retry failed jobs

Example: 0
patternstringRequired

A cron schedule pattern

Example: 0 * * * *
storageIdstringRequired

The Enclave Storage id

Example: a7836ff8-53fa-4c5f-9869-4947a4c16a83
Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: Jobs create success
eventstring · enumOptionalPossible values:
itemsarrayOptional
post/v1/jobs

Update existing Job

put

This endpoint requires Jobs permissions

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
jobIdstringRequired

The Job Id

Body
displayNamestringRequired

A job name

Example: fancy-job
imageIdstringRequired

The Virtual Environment image id

Example: firefox
routerIdstringRequired

The egress Router id

Example: lax81uq4
resolutionstringRequired

The Virtual Environment resolution

Example: 1280x1024
expiresnumber · min: 10 · max: 60Required

The max run time of the job in minutes

Example: 10
retriesnumberRequired

The number of times to retry failed jobs

Example: 0
patternstringRequired

A cron schedule pattern

Example: 0 * * * *
storageIdstringRequired

The Enclave Storage id

Example: a7836ff8-53fa-4c5f-9869-4947a4c16a83
Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: Jobs update success
eventstring · enumOptionalPossible values:
itemsarrayOptional
put/v1/jobs/{jobId}

Delete a Job

delete

This endpoint requires Jobs permissions

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
jobIdstringRequired

The Job Id

Responses
200Success
application/json
statusCodeintegerOptionalExample: 200
successbooleanOptionalExample: true
messageanyOptionalExample: Jobs delete success
eventstring · enumOptionalPossible values:
itemsarrayOptional
delete/v1/jobs/{jobId}

Last updated

Was this helpful?