Create a new compute task

Description

Allocates a new compute task

Endpoint

/compute

Method

POST

Access Level Rules

Minimum Access Level

Account holder only.

Processing Units

Processing units

1

Parameters

Name
Description
Required
Default

interpreter

The interpreter to use for the compute task.

true

requirements

The requirements.txt containing the packages needed to run your code.

true

nodes

The number of nodes that should be allocated to the compute task.

true

layers

An array of objects with properties 'pathId' and 'timestampId' of the layers whose data to load into the nodes.

true

largeResult

Boolean whether the output of the script is a file instead of a standard primitive.

false

Default false.

Last updated

Was this helpful?