Get job by id
Returns job info.
Request
- Base URLhttps://localhost:8446/api/v2
- AuthAPI key in header Authorization
Path parameters
Job id
Response
Successful response
Access
Job creation time (timestamp in seconds)
Name of the user who created the job
New version of cipher suite. Not applicable for script job
Total bytes transferred. Not applicable for script job
Array of job groups
Group id
Group permissions
Group path
Macro. If the parameter is not specified, custom path is used. If use %USERDEFINED% or %GETFILES% macro, you mustn't use path field for all OS
Linux path
Linux cache path. Only for group with caching_gateway role
Windows path
OS X path
Android path
Xbox path. Only for distribution jobs
Role. primary_storage, caching_gateway roles are used in file_caching jobs. primary_storage, caching_gateway, enduser roles are used in hybrid_work jobs. regular role is used in distribution, consolidation, script, sync, storage_tiering_and_archival jobs.
File policy id. Only for group with caching_gateway, enduser role
Priority agents. Only for group with primary_storage role or group in sync job.
Locks server. Only for the case when setting.use_file_locking is true for High availability group with primary_storage role or in sync job.
Array of job agents
Agent id
Agent permissions
Agent path
Macro. If the parameter is not specified, custom path is used. If use %USERDEFINED% or %GETFILES% macro, you mustn't use path field for all OS
Linux path
Linux cache path. Only for agent with caching_gateway role
Windows path
OS X path
Android path
Xbox path. Only for distribution jobs
Storage connector config id. If the parameter is not specified, Storage connector isn't used
Role primary_storage, caching_gateway roles are used in file_caching jobs. primary_storage, caching_gateway, enduser roles are used in hybrid_work jobs. regular role is used in distribution, consolidation, script, sync, storage_tiering_and_archival jobs.
File policy id. Only for agent with caching_gateway, enduser role
Priority agents. Only for agent with primary_storage role or agent in sync job.
Locks server. Only for the case when setting.use_file_locking is true for agent with primary_storage role or agent in sync job.
List of job notifications
Notification id
Array of notification destinations
Email to send notifications
Id of user to send notifications
Id of webhook to send notifications
Notification trigger.
Notification settings
Error code to trigger notification. Is null in case of notification is configured for any error code. Only for JOB_RUN_ERROR trigger
Trigger notification after error timeout. Only for JOB_RUN_ERROR trigger
Error timeout (seconds). Only for JOB_RUN_ERROR trigger. Minimum value is 1 minute
Notify when error is resolved. Only for JOB_RUN_ERROR trigger
Send notification if job run isn't complete within time wait period (seconds). Only for JOB_RUN_NOT_COMPLETE trigger. Minimum value is 1 minute
Skip notice if jobs did not transfer files. Only for JOB_RUN_FINISHED trigger
Script for script job
Linux command
Command
Shell
Script file extension
Windows command
Command
Shell
Script file extension
Mac command
Command
Shell
Script file extension
Android command
Command
Shell
Script file extension
Job triggers. Only for distribution, consolidation, storage_tiering_and_archival jobs
Before file-indexing begins
Linux command
Command
Shell
Script file extension
Windows command
Command
Shell
Script file extension
Mac command
Command
Shell
Script file extension
Android command
Command
Shell
Script file extension
Before an agent finalizing download. Only for distribution jobs
Linux command
Command
Shell
Script file extension
Windows command
Command
Shell
Script file extension
Mac command
Command
Shell
Script file extension
Android command
Command
Shell
Script file extension
After an agent completes downloading
Linux command
Command
Shell
Script file extension
Windows command
Command
Shell
Script file extension
Mac command
Command
Shell
Script file extension
Android command
Command
Shell
Script file extension
Xbox command
Command
Shell
Script file extension
After all agents complete downloading
Linux command
Command
Shell
Script file extension
Windows command
Command
Shell
Script file extension
Mac command
Command
Shell
Script file extension
Android command
Command
Shell
Script file extension
Job id
Job type
Job name
Job description
Scheduler. Not applicable for sync, file_caching, hybrid_work job
Type of the scheduler
once - timestamp in seconds, daily - number of seconds since midnight, weekly - array of seconds since midnight
minutes - run every N minutes(min 5 minutes), hourly - run every N hours, daily - run every N days
weekly - array of days of week to run (encoded in numbers from 0 to 6, 0 is Sunday)
Scheduler start time (timestamp in seconds) for minutes, hourly, daily and weekly schedulers
Scheduler finish time (timestamp in seconds) for minutes, hourly, daily and weekly schedulers
Job monthly scheduler configuration
Specifies the position within a month When representing a day, the value range is 1–31 When representing monday, tuesday, wednesday, thursday, friday, saturday, and sunday the value range is 1–5
Specifies the day of the month or the day of week
Determines the reference point within the month for scheduling. month_beginning - the offset is calculated starting from the first day of the month month_end - the offset is calculated starting from the last day of the month
Specifies the time of the day to run the job (minutes)
Wait for job run to complete before starting new one (for all scheduler types except manually and now)
Next start job time (in seconds) applied by scheduler, -1 means no next schedule run
Job settings.
Job priority. Not applicable for script jobs. The lowest priority: 0, the highest: 10
Use RAM-optimized configuration. Not applicable for script jobs
The Reference Instance (Agent or High Availability group) propagates and overwrites file permissions on other Agents in sync, file_caching, hybrid_work jobs. Selecting a Reference Instance is required for the jobs that synchronize file permissions. Setting's value is -1 in case Reference Instance was deleted from the Job
The Reference Instance type. Agents and High Availability groups are allowed only. Default value is null (reference instance was removed or was not specified)
Deprecated since 4.0. Use reference_instance_type and reference_instance_id instead. The Reference Agent propagates and overwrites file permissions on other Agents in sync, file_caching, hybrid_work jobs. Selecting a Reference Agent is required for the jobs that synchronize file permissions. Default value is null
Unique profile settings for job
Delete synced files. Only for distribution, consolidation, storage_tiering_and_archival jobs
Delete synced files (in days). Only for distribution, consolidation, storage_tiering_and_archival jobs
Criterion to archive by. Determines what field will be used settings.files_list, settings.modification_time or settings.access_time. Only one selected criterion is applied. Similar settings from profile will be ignored. Only for storage_tiering_and_archival job. More information can be found here.
List of regular expressions separated by a new line character \n to match files based on their paths. Only for storage_tiering_and_archival job.
Files will be matched based on time in seconds since they were last modified. If only settings.modification_time.min is provided files with modification time earlier than settings.modification_time.min seconds ago will be matched. If only settings.modification_time.max is provided files with modification time later than settings.modification_time.max seconds ago will be matched. If both values are provided they are treated as absolute timestamps in seconds and files with modification time between settings.modification_time.min and settings.modification_time.max will be matched. Only for storage_tiering_and_archival job.
Max modification time in seconds.
Min modification time in seconds.
Files will be matched based on time in seconds since they were last accessed. If only settings.access_time.min is provided files with access time earlier than settings.access_time.min seconds ago will be matched. If only settings.access_time.max is provided files with access time later than settings.access_time.max seconds ago will be matched. If both values are provided they are treated as absolute timestamps in seconds and files with access time between settings.access_time.min and settings.access_time.max will be matched. Only for storage_tiering_and_archival job.
Max access time in seconds.
Min access time in seconds.
Setting that will be used if job's destination is Amazon Glacier storage. Only for storage_tiering_and_archival job.
Setting that will be used if job's source is Amazon Glacier storage. Only for storage_tiering_and_archival job.
File locks setting. Only for sync, file_caching, hybrid_work jobs
File locks timeout. Applicable only if setting.use_file_locking is true
File locks sync interval. Applicable only if setting.use_file_locking is true
File locks ignore list. Applicable only if setting.use_file_locking is true
File locks access to files when no access to locks server. Applicable only if setting.use_file_locking is true.
Map a local folder to a drive letter, applicable only for hybrid jobs on Windows end-users starting from version 4.2.0.
List of job errors
Error code (deprecated since 2.9.1)
Error string code
Error message
Last time in seconds when the job was started
Local Agent time after an Agent run completes downloading trigger (in seconds)
Local Agent time after an Agent run before finalizing download trigger (in seconds)
Job profile id
Changes
No recorded changes to this operation across all 1 revision of this API.