Job creation, management, and execution
Update existing user job - DEPRECATED
DEPRECATED -- Please use Filter Management and Email Configuration APIs to manage the filter and email values.
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Request Body
name
string · requiredJob name
isActive
boolean · requiredWhether job is active
timeZone
string · requiredJob timezone
jobCronExpression
string · requiredCron expression for job scheduling
id
integer · int64lastRun
string · date-timeLast execution time
nextRun
string · date-timeNext scheduled execution time
status
string · enumStatus of user job execution
Enum values:FAILEDRUNNINGSUCCESSPROVISIONINGREADYjobDuration
integer · int64Job duration in milliseconds
jobRunFrequency
string · enumFrequency of job execution
Enum values:HOURLYDAILYWEEKLYMONTHLYuserJobStartTime
string · date-timeJob start time
userId
integer · int64userReportGenerationTasks
object[]userEmailTasks
object[]jobStatusDetails
stringDetailed job status information
jobErrorDetails
stringError details if job failed
Responses
Job updated successfully
name
string · requiredJob name
isActive
boolean · requiredWhether job is active
timeZone
string · requiredJob timezone
jobCronExpression
string · requiredCron expression for job scheduling
id
integer · int64lastRun
string · date-timeLast execution time
nextRun
string · date-timeNext scheduled execution time
status
string · enumStatus of user job execution
Enum values:FAILEDRUNNINGSUCCESSPROVISIONINGREADYjobDuration
integer · int64Job duration in milliseconds
jobRunFrequency
string · enumFrequency of job execution
Enum values:HOURLYDAILYWEEKLYMONTHLYuserJobStartTime
string · date-timeJob start time
userId
integer · int64userReportGenerationTasks
object[]userEmailTasks
object[]jobStatusDetails
stringDetailed job status information
jobErrorDetails
stringError details if job failed
Get user job by ID
Retrieve a specific user job by its ID
path Parameters
id
integer · int64 · requiredJob ID
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
User job details
name
string · requiredJob name
isActive
boolean · requiredWhether job is active
timeZone
string · requiredJob timezone
jobCronExpression
string · requiredCron expression for job scheduling
id
integer · int64lastRun
string · date-timeLast execution time
nextRun
string · date-timeNext scheduled execution time
status
string · enumStatus of user job execution
Enum values:FAILEDRUNNINGSUCCESSPROVISIONINGREADYjobDuration
integer · int64Job duration in milliseconds
jobRunFrequency
string · enumFrequency of job execution
Enum values:HOURLYDAILYWEEKLYMONTHLYuserJobStartTime
string · date-timeJob start time
userId
integer · int64userReportGenerationTasks
object[]userEmailTasks
object[]jobStatusDetails
stringDetailed job status information
jobErrorDetails
stringError details if job failed
Delete user job
Delete a user job and all associated configurations
path Parameters
id
integer · int64 · requiredJob ID
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Job deleted successfully
Run a job
Trigger immediate execution of a user job. Each execution has its own metadata. You can trigger multiple executions in parallel and each execution runs independently.
path Parameters
jobId
integer · int64 · requiredJob ID to execute
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Job execution started
id
integer · int64jobId
integer · int64status
string · enumStatus of user job execution
Enum values:FAILEDRUNNINGSUCCESSPROVISIONINGREADYstartTime
string · date-timeendTime
string · date-timeduration
integer · int64Execution duration in milliseconds
errorMessage
stringError message if execution failed
Stop running job
Stop all running executions of a given job
path Parameters
jobId
integer · int64 · requiredJob ID to stop
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Job stopped successfully
Pause job execution
Pause a job from running on schedule
path Parameters
jobId
integer · int64 · requiredJob ID to pause
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Job paused successfully
Activate paused job
Reactivate a paused job to resume scheduled execution
path Parameters
jobId
integer · int64 · requiredJob ID to activate
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Job activated successfully
Sync tokens
Sync tokens across all your jobs.
path Parameters
jobId
integer · int64 · requiredJob ID - The token for this job will be copied to all other jobs
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Tokens sync successfull
newJobId
integer · int64ID of the job
Clone existing job
Create a copy of an existing job with new ID
path Parameters
jobId
integer · int64 · requiredJob ID to clone
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Job cloned successfully
newJobId
integer · int64ID of the cloned job
Get job execution history
Retrieve execution history for a specific job (last 15 executions)
path Parameters
jobId
integer · int64 · requiredJob ID
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Job execution summary
jobId
integer · int64jobName
stringexecutions
object[]totalExecutions
integerTotal number of executions
successfulExecutions
integerNumber of successful executions
failedExecutions
integerNumber of failed executions
Send email for job execution
Trigger email sending for a specific job execution
path Parameters
id
integer · int64 · requiredJob Execution ID
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE
.
Responses
Email sent successfully