Skip to content
GET /daemon-job/{id}

Response Body

args_schemaRecord<string, any>

Describes the args a run of this job takes, keyed by arg name. An arg whose value has format: integrated_account_id must be the ID of an integrated account in the job's environment, and required: true makes it mandatory. Other entries are stored but not checked.

Example: {"integrated_account_id":{"format":"integrated_account_id","required":true}}
args_validationstring

A JSONata expression evaluated against { args } when a run or a cron trigger is created. Return an object with a message to reject the args with a 400 carrying that message.

Example: $not(args.since) ? { "message": "since is required" }
created_atstring · date-time
environment_idstring · uuid

The environment the daemon job belongs to.

idstring · uuid

The ID of the daemon job.

Example: 8c1d4c1e-9a0b-4b0e-a3f5-4cfa0d1f2e10
labelstring

A name for the daemon job.

Example: Nightly export
updated_atstring · date-time
curl -X GET 'https://api.truto.one/daemon-job/{id}' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/daemon-job/{id}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/daemon-job/{id}"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())