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
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Request Body
namestring · requiredJob name
isActiveboolean · requiredWhether job is active
timeZonestring · requiredJob timezone
jobCronExpressionstring · requiredCron expression for job scheduling
idinteger · int64lastRunstring · date-timeLast execution time
nextRunstring · date-timeNext scheduled execution time
statusstring · enumStatus of user job execution
Enum values:FAILEDRUNNINGSUCCESSPROVISIONINGREADYjobDurationinteger · int64Job duration in milliseconds
jobRunFrequencystring · enumFrequency of job execution
Enum values:HOURLYDAILYWEEKLYMONTHLYuserJobStartTimestring · date-timeJob start time
userIdinteger · int64userReportGenerationTasksobject[]userEmailTasksobject[]jobStatusDetailsstringDetailed job status information
jobErrorDetailsstringError details if job failed
Responses
Job updated successfully
namestring · requiredJob name
isActiveboolean · requiredWhether job is active
timeZonestring · requiredJob timezone
jobCronExpressionstring · requiredCron expression for job scheduling
idinteger · int64lastRunstring · date-timeLast execution time
nextRunstring · date-timeNext scheduled execution time
statusstring · enumStatus of user job execution
Enum values:FAILEDRUNNINGSUCCESSPROVISIONINGREADYjobDurationinteger · int64Job duration in milliseconds
jobRunFrequencystring · enumFrequency of job execution
Enum values:HOURLYDAILYWEEKLYMONTHLYuserJobStartTimestring · date-timeJob start time
userIdinteger · int64userReportGenerationTasksobject[]userEmailTasksobject[]jobStatusDetailsstringDetailed job status information
jobErrorDetailsstringError details if job failed
Get user job by ID
Retrieve a specific user job by its ID
path Parameters
idinteger · int64 · requiredJob ID
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
User job details
namestring · requiredJob name
isActiveboolean · requiredWhether job is active
timeZonestring · requiredJob timezone
jobCronExpressionstring · requiredCron expression for job scheduling
idinteger · int64lastRunstring · date-timeLast execution time
nextRunstring · date-timeNext scheduled execution time
statusstring · enumStatus of user job execution
Enum values:FAILEDRUNNINGSUCCESSPROVISIONINGREADYjobDurationinteger · int64Job duration in milliseconds
jobRunFrequencystring · enumFrequency of job execution
Enum values:HOURLYDAILYWEEKLYMONTHLYuserJobStartTimestring · date-timeJob start time
userIdinteger · int64userReportGenerationTasksobject[]userEmailTasksobject[]jobStatusDetailsstringDetailed job status information
jobErrorDetailsstringError details if job failed
Delete user job
Delete a user job and all associated configurations
path Parameters
idinteger · int64 · requiredJob ID
Headers
Authorizationstring · requiredThe
Authorizationheader 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
jobIdinteger · int64 · requiredJob ID to execute
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Job execution started
idinteger · int64jobIdinteger · int64statusstring · enumStatus of user job execution
Enum values:FAILEDRUNNINGSUCCESSPROVISIONINGREADYstartTimestring · date-timeendTimestring · date-timedurationinteger · int64Execution duration in milliseconds
errorMessagestringError message if execution failed
Stop running job
Stop all running executions of a given job
path Parameters
jobIdinteger · int64 · requiredJob ID to stop
Headers
Authorizationstring · requiredThe
Authorizationheader 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
jobIdinteger · int64 · requiredJob ID to pause
Headers
Authorizationstring · requiredThe
Authorizationheader 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
jobIdinteger · int64 · requiredJob ID to activate
Headers
Authorizationstring · requiredThe
Authorizationheader 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
jobIdinteger · int64 · requiredJob ID - The token for this job will be copied to all other jobs
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Tokens sync successfull
newJobIdinteger · int64ID of the job
Clone existing job
Create a copy of an existing job with new ID
path Parameters
jobIdinteger · int64 · requiredJob ID to clone
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Job cloned successfully
newJobIdinteger · int64ID of the cloned job
Get job execution history
Retrieve execution history for a specific job (last 15 executions)
path Parameters
jobIdinteger · int64 · requiredJob ID
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Job execution summary
jobIdinteger · int64jobNamestringexecutionsobject[]totalExecutionsintegerTotal number of executions
successfulExecutionsintegerNumber of successful executions
failedExecutionsintegerNumber of failed executions
Send email for job execution
Trigger email sending for a specific job execution
path Parameters
idinteger · int64 · requiredJob Execution ID
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Email sent successfully