ARM API (REST)

The ARM API provides a REST service that supports multiple operations required to archive, restore, and move Relativity workspace data. You can also use to view information on currently running ARM jobs or to list available workspaces or ARM archives. For example, you could use this service to populate a custom dialog in your application with scheduled ARM archive jobs.

For more information on the ARM application, see ARM Overview on the RelativityOne Documentation site.

This page contains the following information:

Prerequisites for using the ARM API

To begin developing with the ARM Manager services, complete the following prerequisites:

Fundamentals for the ARM API

Review the following guidelines for working with the ARM API.

Sample use cases

A typical use case would be building a custom ARM client or automating the creation or execution of ARM jobs.

A typical workflow requires these steps:

  • Create ARM job (Archive, Restore, Database Restore, or Move)
  • Run the job
  • Read job status to get information about the job execution and whether it has completed

Archive Create

Use this endpoint to create Archive jobs.

To create Archive jobs, send a POST request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/archive-jobs 

Request body parameters:

  • WorkspaceID - the artifact ID of the workspace for the archive job. This Workspace must not be in the process of upgrading or currently in use by another ARM job.
  • JobPriority - the priority of execution for the job. Possible options include "Low", "Medium", and "High".
  • ArchiveDirectory - the file path of the configured archive directory to save the archive to. Defaults to the first configured archive directory.
  • ScheduledStartTime - the scheduled time when the job runs.
  • MigratorOptions
    • IncludeDatabaseBackup - indicates whether the workspace database backup is included in the archive.
    • IncludeDtSearch - indicates whether dtSearch is included in the archive directory.
    • IncludeConceptualAnalytics - indicates whether Conceptual Analytics is included in the archive directory.
    • IncludeStructuredAnalytics - indicates whether Structured Analytics sets is included in the archive directory.
    • IncludeDataGrid - indicates whether Data Grid application data is included in the archive directory.
  • FileOptions
    • IncludeRepositoryFiles - indicates whether all files included in the workspace repository, including files from file fields, are archived in the archive directory.
    • IncludeLinkedFiles - indicates whether all linked files that don’t exist in the workspace file repository are archived in the archive directory.
    • MissingFileBehavior - indicates whether to skip ("SkipFile") or stop ("StopJob") when missing files are detected during the archiving process. If There's potential for any files to not be found while the job is running, skipping them are the result in compiling a downloadable list of the files that were missing and allow the job to complete without error. Setting this to stop immediately stops on the first missing file and cannot resume until the file is placed in the expected location.
  • ProcessingOptions
    • IncludeProcessing - indicates whether Processing application data is included in the archive directory.
    • IncludeProcessingFiles - indicates whether all the files and containers that have been discovered by Processing are archived and placed in the Invariant directory.
    • ProcessingMissingFileBehavior - indicates whether to skip ("SkipFile") or stop ("StopJob") when missing Processing files are detected during the archiving process. If There's potential for any files to not be found while the job is running, skipping them results in compiling a downloadable list of the files that were missing and allow the job to complete without error. Setting this to stop immediately stops on the first missing file and cannot resume until the file is placed in the expected location.
  • ExtendedWorkspaceDataOptions
    • IncludeExtendedWorkspaceData - indicates whether extended workspace information is included in the archive. This includes installed applications, linked relativity scripts, and non-application event handlers.
    • ApplicationErrorExportBehavior - indicates whether to skip applications that errored during export ("SkipApplication") or to stop ("StopJob").
  • NotificationOptions
    • NotifyJobCreator - indicates if email notifications are sent to the job creator.
    • NotifyJobExecutor - indicates if email notifications are sent to the job executor.

If job creation is successful, response is the artifact ID of the newly created job. If the job creation could not be completed, the response contains validation errors with more detailed information.

Archive Read

Use this endpoint to read Archive jobs.

To read Archive jobs and send a GET request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/archive-jobs/<jobID> 

Request body is empty, the job ID is passed in via the URL.

Response body parameters:

  • JobID - ID of the created Archive job. This is a generated field.
  • JobName - name of the Archive job created. This is a generated field.
  • JobExecutionID - ID of the execution of the created Archive Job. This is a generated field.
  • JobExecutionGuid - execution GUID of the created Archive Job. This is a generated field.
  • ArchivePath - path to the ARM archive. It's created using the ArchiveDirectory field from a Create/Update request and the archive folder name, which is generated.
  • WorkspaceID - artifact ID of the workspace archived by the job. This is a generated field.
  • ScheduledStartTime - the scheduled time the job runs.
  • JobDetails
    • CreatedOn - date and time of job creation. This is a generated field.
    • ModifiedTime - date and time of most recent job modification. This is a generated field.
    • SubmittedBy - the user responsible for the submission of the job. This is a generated field.
    • State - current job state. This is a read-only field.
    • Priority - priority of execution for the job.
    • ActionsHistory - list of job actions with the following details: date, type and username. This is a read-only field.
  • MigratorOptions
    • IncludeDatabaseBackup - indicates if the workspace database backup is included in the archive.
    • IncludeDtSearch - indicates whether dtSearch is included in the archive directory.
    • IncludeConceptualAnalytics - indicates whether Conceptual Analytics are included in the archive directory.
    • IncludeStructuredAnalytics - indicates whether Structured Analytics sets are included in the archive directory.
    • IncludeDataGrid - indicates whether Data Grid application data is included the archive directory.
  • FileOptions
    • IncludeRepositoryFiles - indicates whether all files included in the workspace repository, including files from file fields, are archived in the archive directory.
    • IncludeLinkedFiles - indicates whether all linked files that don’t exist in the workspace file repository are archived in the archive directory.
    • MissingFileBehavior - indicates whether to skip ("SkipFile") or stop ("StopJob") when missing files are detected during the archiving process. If There's potential for any files to not be found while the job is running, skipping them results in compiling a downloadable list of the files that were missing and allow the job to complete without error. Setting this to stop immediately stops on the first missing file and cannot resume until the file is placed in the expected location.
  • ProcessingOptions
    • IncludeProcessing - indicates whether Processing application data is included in the archive directory.
    • IncludeProcessingFiles - indicates whether all the files and containers that have been discovered by Processing is archived and placed in the Invariant directory.
    • ProcessingMissingFileBehavior - indicates whether to skip ("SkipFile") or stop ("StopJob") when missing Processing files are detected during the archiving process. If There's potential for any files to not be found while the job is running, skipping them results in compiling a downloadable list of the files that were missing and allow the job to complete without error. Setting this to stop immediately stops on the first missing file and cannot resume until the file is placed in the expected location.
  • NotificationOptions
    • NotifyJobCreator - indicates if email notifications are sent to the job creator.
    • NotifyJobExecutor - indicates if email notifications are sent to the job executor.

Archive Update

Use this endpoint to update Archive jobs.

To update Archive jobs, send a PUT request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/archive-jobs/<jobID> 

The request body is the same as Archive Create, and the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully updates an Archive job. There's no response body.

Archive Delete

Use this endpoint to delete Archive jobs.

<host>/Relativity.REST/api/relativity-arm/v1/archive-jobs/<jobID> 

Request body is empty, the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully deletes an archive job. There's no response body.

Restore Create

Use this endpoint to create Restore jobs.

To create Restore jobs, send a POST request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/restore-jobs/ 

Request body parameters:

  • ArchivePath - path of the ARM archive to be restored. This archive path must not be in use by another ARM job.
  • JobPriority - priority of execution for the job. Possible options include "Low", "Medium", and "High".
  • ScheduledStartTime - the scheduled time when the job runs.
  • ExistingTargetDatabase - target database in case the archive does not a have database backup bak file (also known as bakless archive).
  • DestinationOptions
    • DatabaseServerID - artifact ID of the target database server to restore the workspace to.
    • ResourcePoolID - artifact ID of the target resource pool to restore the workspace to.
    • MatterID - artifact ID of the target matter to restore the workspace to.
    • CacheLocationID - artifact ID of the target cache location to restore the workspace to.
    • FileRepositoryID - artifact ID of the target file repository to restore the workspace to.
  • MigratorsDestinationOptions
    • StructuredAnalyticsServerID - artifact ID of the Structured Analytics server to restore the workspace to (if the archive contains Structured Analytics data). If the environment where the archive is being restored is a cloud environment, leave this field empty. For on-premise environments, this field is mandatory and its ID should be present in the resource pool.
    • ConceptualAnalyticsServerID - artifact ID of the Conceptual Analytics server to restore the workspace to (if the archive contains Conceptual Analytics data). If the environment where the archive is being restored is a cloud environment, leave this field empty. For on-premise environments, this field is mandatory and its ID should be present in the resource pool.
    • DtSearchLocationID - artifact ID of the dtSearch location (in case archive contains dtSearch indexes) to restore the workspace to.
  • AdvancedFileOptions
    • ReferenceFilesAsArchiveLinks - indicates whether files should remain in the archive directory and should be referenced from the workspace database (File table) as opposed to copying to workspace repository (default=false).
    • UpdateRepositoryFilePaths - indicates whether the locations of non-repository (linked) files should be updated to reflect their new location (default=true).
    • UpdateLinkedFilePaths - indicates whether non-repository (linked) files' locations should be updated to reflect their new location (default=true).
  • UserMapping
    • AutoMapUsers - indicates if archive users should be auto mapped by email address.
    • UserMappings - array of explicit user mappings from the archive to Relativity instance.
  • GroupMapping
    • AutoMapGroups - indicates if archive groups should be auto mapped by name.
    • GroupMappings - array of explicit group mappings from the archive to Relativity instance.
  • Applications - array of non-required/3rd party applications that should be installed to workspace. Required Relativity applications are automatically upgraded during Workspace upgrade stage and are not needed here.
  • NotificationOptions
    • NotifyJobCreator - indicates if email notifications are sent to the job creator.
    • NotifyJobExecutor - indicates if email notifications are sent to the job executor.

If job creation is successful, response is the artifact ID of the newly created job. If the job creation could not be completed, the response contains validation errors with more detailed information.

Restore Read

Use this endpoint to read Restore jobs.

To read Restore jobs, send a GET request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/restore-jobs/<jobID> 

Request body is empty, the job ID is passed in via the URL.

Response body parameters:

  • JobID - ID of the created Restore job. This is a generated field.
  • JobName - name of the Restore job created. This is a generated field.
  • JobExecutionID - ID of the execution of the created Restore Job. This is a generated field.
  • JobExecutionGuid - execution GUID of the created Restore Job. This is a generated field.
  • ArchivePath - path to the ARM archive that is restored.
  • ScheduledStartTime - the scheduled time when the job runs.
  • SourceWorkspace - name of the source workspace.
  • DestinationWorkspaceID - artifact ID of the restored workspace. This is a generated field and is null if the job has not started and created the new workspace.
  • ExistingTargetDatabase - target database in case the archive does not a have database backup bak file (also known as bakless archive).
  • JobDetails
    • CreatedOn - date and time of job creation. This is a generated field.
    • ModifiedTime - date and time of most recent job modification. This is a generated field.
    • SubmittedBy - the user responsible for the submission of the job. This is a generated field.
    • State - current job state. This is a read-only field.
    • Priority - priority of execution for the job.
    • ActionsHistory - list of job actions with the following details: date, type and username. This is a read-only field.
  • DestinationOptions
    • DatabaseServerID - artifact ID of the target database server to restore the workspace to.
    • ResourcePoolID - artifact ID of the target resource pool to restore the workspace to.
    • MatterID - artifact ID of the target matter to restore the workspace to.
    • CacheLocationID - artifact ID of the target cache location to restore the workspace to.
    • FileRepositoryID - artifact ID of the target file repository to restore the workspace to.
  • MigratorsDestinationOptions
    • StructuredAnalyticsServerID - artifact ID of the Structured Analytics server to restore the workspace to (if the archive contains Structured Analytics data). If the environment where the archive is being restored is a cloud environment, leave this field empty. For on-premise environments, this field is mandatory and its ID should be present in the resource pool.
    • ConceptualAnalyticsServerID - artifact ID of the Conceptual Analytics server to restore the workspace to (if the archive contains Conceptual Analytics data). If the environment where the archive is being restored is a cloud environment, leave this field empty. For on-premise environments, this field is mandatory and its ID should be present in the resource pool.
    • DtSearchLocationID - artifact ID of the dtSearch location (in case archive contains dtSearch indexes) to restore the workspace to.
  • AdvancedFileOptions
    • ReferenceFilesAsArchiveLinks - indicates whether files should remain in the archive directory and should be referenced from the workspace database (File table) as opposed to copying to workspace repository (default=false).
    • UpdateRepositoryFilePaths - indicates whether the locations of non-repository (linked) files should be updated to reflect their new location (default=true).
    • UpdateLinkedFilePaths - indicates whether non-repository (linked) files' locations should be updated to reflect their new location (default=true).
  • UserMapping
    • AutoMapUsers - indicates if archive users should be auto mapped by email address.
    • UserMappings - array of explicit user mappings from the archive to Relativity instance.
  • GroupMapping
    • AutoMapGroups - indicates if archive groups should be auto mapped by name.
    • GroupMappings - array of explicit group mappings from the archive to Relativity instance.
  • Applications - array of non-required/3rd party applications that should be installed to workspace.
  • NotificationOptions
    • NotifyJobCreator - indicates if email notifications are sent to the job creator.
    • NotifyJobExecutor - indicates if email notifications are sent to the job executor.

Restore Update

Use this endpoint to update Restore jobs.

To update Restore jobs, send a PUT request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/restore-jobs/<jobID> 

The request body is the same as Restore Create, and the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully updates a restore job. There's no response body.

Restore Delete

Use this endpoint to delete Restore jobs.

To delete Restore jobs, send a DELETE request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/restore-jobs/<jobID> 

Request body is empty, the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully deletes a restore job. There's no response body.

Database Restore Create

Use this endpoint to create Database Restore jobs.

To create Database Restore jobs, send a POST request to the following URL:

<host>/Relativity.REST/api/relativity-arm/V1/database-restore-jobs/ 

Request body parameters:

  • SourceDatabase- name of the database which is restored. This source database must be available and must not be in use by another ARM job.
  • JobPriority - priority of execution for the job. Possible options include "Low", "Medium", and "High".
  • ScheduledStartTime - the scheduled time when the job runs.
  • DestinationOptions
    • DatabaseServerID - artifact ID of the target database server to restore the workspace to.
    • ResourcePoolID - artifact ID of the target resource pool to restore the workspace to.
    • MatterID - artifact ID of the target matter to restore the workspace to.
    • CacheLocationID - artifact ID of the target cache location to restore the workspace to.
    • FileRepositoryID - artifact ID of the target file repository to restore the workspace to.
  • UserMapping
    • AutoMapUsers - indicates if archive users should be auto mapped by email address.
    • UserMappings - array of explicit user mappings from the archive to Relativity instance.
  • GroupMapping
    • AutoMapGroups - indicates if archive groups should be auto mapped by name.
    • GroupMappings - array of explicit group mappings from the archive to Relativity instance.
  • NotificationOptions
    • NotifyJobCreator - indicates if email notifications are sent to the job creator.
    • NotifyJobExecutor - indicates if email notifications are sent to the job executor.

If job creation is successful, response is the artifact ID of the newly created job. If the job creation could not be completed, the response contains validation errors with more detailed information.

Database Restore Read

Use this endpoint to read Database Restore jobs.

To read Database Restore jobs, send a GET request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/database-restore-jobs/<jobID> 

Request body is empty, the job ID is passed in via the URL.

Response body parameters:

  • JobID - ID of the created Database Restore job. This is a generated field.
  • JobName - name of the Database Restore job created. This is a generated field.
  • JobExecutionID - ID of the execution of the created Database Restore Job. This is a generated field.
  • JobExecutionGuid - execution GUID of the created Database Restore Job. This is a generated field.
  • ScheduledStartTime - the scheduled time when this job runs.
  • DestinationWorkspaceID - artifact ID of the restored workspace. This is a generated field and is null if the job has not started and created the new workspace.
  • JobDetails
    • CreatedOn - date and time of job creation. This is a generated field.
    • ModifiedTime - date and time of most recent job modification. This is a generated field.
    • SubmittedBy - the user responsible for the submission of the job. This is a generated field.
    • State - current job state. This is a read-only field.
    • Priority - priority of execution for the job.
    • ActionsHistory - list of job actions with the following details: date, type and username. This is a read-only field.
  • DestinationOptions
    • DatabaseServerID - artifact ID of the target database server to restore the workspace to.
    • ResourcePoolID - artifact ID of the target resource pool to restore the workspace to.
    • MatterID - artifact ID of the target matter to restore the workspace to.
    • CacheLocationID - artifact ID of the target cache location to restore the workspace to.
    • FileRepositoryID - artifact ID of the target file repository to restore the workspace to.
  • UserMapping
    • AutoMapUsers - indicates if archive users should be auto mapped by email address.
    • UserMappings - array of explicit user mappings from the archive to Relativity instance.
  • GroupMapping

    • AutoMapGroups - indicates if archive groups should be auto mapped by name.
    • GroupMappings - array of explicit group mappings from the archive to Relativity instance.
  • NotificationOptions
    • NotifyJobCreator - indicates if email notifications are sent to the job creator.
    • NotifyJobExecutor - indicates if email notifications are sent to the job executor.

Database Restore Update

Use this endpoint to update Database Restore jobs.

To update Database Restore jobs, send a PUT request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/database-restore-jobs/<jobID> 

The request body is the same as Database Restore Create, and the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully updates a database restore job. There's no response body.

Database Restore Delete

Use this endpoint to delete Database Restore jobs.

To create Database Restore jobs, send a DELETE request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/database-restore-jobs/<jobID> 

Request body is empty, the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully deletes a database restore job. There's no response body.

Move Create

Use this endpoint to create Move jobs.

To create Move jobs, send a POST request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/move-jobs 

Request body parameters:

  • SourceWorkspaceID - the artifact ID of the workspace for the move job. This Workspace must not be in the process of upgrading or currently in use by another ARM job.
  • JobPriority - priority of execution for the job. Possible options include "Low", "Medium", and "High".
  • ScheduledStartTime - the scheduled time to run the job.
  • FileOptions
    • LinkToExistingDocuments - indicates whether repository files should be moved to new location or stay in their current one.
    • MissingFileBehavior - indicates whether to skip ("SkipFile") or stop ("StopJob") when missing files are detected during the archiving process. If There's potential for any files to not be found while the job is running, skipping results in compiling a downloadable list of the files that were missing and allow the job to complete without error. Setting this to stop immediately stop on the first missing file and cannot resume until the file is placed in the expected location.
    • LinkedFileBehavior - indicates whether linked files should be moved/copied to new location or stay in their current one.
  • DatabaseOptions
    • IncludeDatabaseBackup - indicates whether the workspace database is backed up and used for the new workspace. Defaults to true.
    • CustomDatabasePath - the path to a custom database to apply to the new workspace. Required if IncludeDatabaseBackup is false.
  • DestinationOptions
    • DatabaseServerID - artifact ID of the target database server to move the workspace to.
    • ResourcePoolID - artifact ID of the target resource pool to move the workspace to.
    • CacheLocationID - artifact ID of the target cache location to move the workspace to.
    • FileRepositoryID - artifact ID of the target file repository to move the workspace to.
  • NotificationOptions
    • NotifyJobCreator - indicates if email notifications are sent to the job creator.
    • NotifyJobExecutor - indicates if email notifications are sent to the job executor.

If job creation is successful, the response is the artifact ID of the newly created job. If the job creation could not be completed, the response contains validation errors with more detailed information.

Move Read

Use this endpoint to read Move jobs.

To read Move jobs, send a GET request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/move-jobs/<jobID> 

Request body is empty, the job ID is passed in via the URL.

Response body parameters:

  • JobID - ID of the created Move job. This is a generated field.
  • JobName - name of the Move job created. This is a generated field.
  • JobExecutionID - ID of the execution of the created Move Job. This is a generated field.
  • JobExecutionGuid - execution GUID of the created Move Job. This is a generated field.
  • ScheduledStartTime - the scheduled time when the job runs.
  • JobDetails
    • CreatedOn - date and time of job creation. This is a generated field.
    • ModifiedTime - date and time of most recent job modification. This is a generated field.
    • SubmittedBy - the user responsible for the submission of the job. This is a generated field.
    • State - current job state. This is a read-only field.
    • Priority - priority of execution for the job.
    • ActionsHistory - list of job actions with the following details: date, type and username. This is a read-only field.
  • SourceOptions
    • WorkspaceID - artifact ID of the workspace that is moved.
    • DatabaseServerID - artifact ID of the database server for the moved workspace.
    • ResourcePoolID - artifact ID of the resource pool for the moved workspace.
    • CacheLocationID - artifact ID of the cache location for the moved workspace.
    • FileRepositoryID - artifact ID of the file repository for the moved workspace.
  • DestinationOptions
    • DatabaseServerID - artifact ID of the target database server to move the workspace to.
    • ResourcePoolID - artifact ID of the target resource pool to move the workspace to.
    • CacheLocationID - artifact ID of the target cache location to move the workspace to.
    • FileRepositoryID - artifact ID of the target file repository to move the workspace to.
  • FileOptions
    • LinkToExistingDocuments - indicates whether repository files should be moved to new location or stay in their current one.
    • MissingFileBehavior - indicates whether to skip ("SkipFile") or stop ("StopJob") when missing files are detected during the archiving process. If There's potential for any files to not be found while the job is running, skipping them results in compiling a downloadable list of the files that were missing and allow the job to complete without error. Setting this to stop immediately stops on the first missing file and cannot resume until the file is placed in the expected location.
    • LinkedFileBehavior - indicates whether linked files should be moved/copied to new location or stay in their current one.
  • DatabaseOptions
    • IncludeDatabaseBackup - indicates whether the workspace database is backed up and used for the new workspace. Defaults to true.
    • CustomDatabasePath - the path to a custom database to apply to the new workspace. Required if IncludeDatabaseBackup is false.
  • NotificationOptions
    • NotifyJobCreator - indicates if email notifications are sent to the job creator.
    • NotifyJobExecutor - indicates if email notifications are sent to the job executor.

Move Update

Use this endpoint to update Move jobs.

To update Move jobs, send a PUT request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/move-jobs/<jobID> 

The request body is the same as Move Create, and the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully updates a move job. There's no response body.

Move Delete

Use this endpoint to delete Move jobs.

To delete Move jobs, send a DELETE request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/move-jobs/<jobID> 

Request body is empty, the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully deletes a move job. There's no response body.

Job Run

Use this endpoint to run ARM jobs.

To run ARM jobs, send a POST request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/jobs/<jobID>/run 

Request body is empty, the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully executes an ARM job. There's no response body.

Job Cancel

Use this endpoint to cancel ARM jobs.

To cancel ARM jobs, send a POST request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/jobs/<jobID>/cancel 

Request body is empty, the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully cancels an ARM job. There's no response body.

Job Pause

Use this endpoint to pause ARM jobs.

To pause ARM jobs, send a POST request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/jobs/<jobID>/pause 

Request body is empty, the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully pauses an ARM job. There's no response body.

Terminate Job

Use this endpoint to terminate an ARM job.

To terminate ARM jobs, send a DELETE request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/jobs/<jobID>/terminate 

Request body is empty, the job ID is passed in via the URL.

The response returns a status code of 200 when the service successfully terminates an ARM job. There's no response body.

Job Status

Use this endpoint to read the execution status of an ARM job.

To read the execution status of an ARM job, send a GET request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/jobs/<jobID>/status 

Request body is empty, the job ID is passed in via the URL.

Response body parameters:

  • JobType - type of the job. Possible options include:
    • Archive
    • Restore 
    • DatabaseRestore
    • Move
  • JobState - state of the job. Possible options include:
    • ExecutionRequested
    • Pending
    • Processing
    • ProcessingWithErrors
    • Errored
    • Complete
    • CancellationRequested
    • CancellationPending
    • CancellationProcessing
    • CancellationProcessingWithErrors
    • CancellationErrored
    • CancellationComplete
    • Paused
    • NotStarted
    • PauseRequested
    • RecoveryRequested
    • CancellationRecoveryRequested
    • Scheduled
    • CleaningUp
  • CurrentJobStage - detailed information of current job's stage.
    • Name - stage name. 
    • Order - order of the stage. The numbering starts with 0.
    • NumberOfSucceededTasks - number of succeeded tasks.
    • NumberOfFailedTasks - number of failed tasks.
    • TotalNumberOfTasks - number of tasks.
    • TimeStarted - stage start time.
    • TimeElapsed - stage elapsed time.
    • PercentComplete - percentage of successfully completed or failed tasks.
  • TotalNumberOfStages - number of stages in the job.
  • TimeStarted - job start time.
  • TimeCompleted - job completion time.
  • TimeElapsed - job elapsed time.

Job Logs

Use this endpoint to retrieve ARM job logs.

To retrieve ARM job logs, send a GET request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/jobs/<jobID>/logs 

Request body is empty, the job ID is passed in via the URL.

Task Retry

Use this endpoint to retry a failed task (e.g. Processing Migrator).

To retry a failed task, send a POST request to the following URL:

<host>/Relativity.REST/api/relativity-arm/v1/tasks/<taskId>/retry 

Request body is empty, the task ID is passed in via the URL.

The response returns a status code of 200 when the service successfully retries a task. There's no response body.

Community Updates

Aero Developer FAQ Evolving the Platform Most recent release notes
Learn more Learn more Learn more

Additional Resources

   
Access Third-Party Tools with GitHub     Create .NET Apps Faster with NuGet
Visit github     visit nuget