Skip to main content
POST
Execute asset
Starts a job for a source, model, orchestration, or Python asset. Other asset types return an error. Send jobSource (for example API or Manual) and optional parameters; the job is always attributed to the authenticated user. For Python assets, parameters overwrite matching Variables for that run (same as sources and models). Read the effective values with less.get_variable().

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

assetId
string<uuid>
required

Body

application/json
jobSource
string
required

Origin of the run (e.g. Manual, API).

parameters
object

Optional parameters passed to the job. For sources these are merged into the asset config for that run. For models they override canvas parameter values. For Python assets they overwrite matching Variables for that run (same as sources and models); read the effective values with less.get_variable().

Response

Job created and queued.

data
object
required