This site is currently undergoing maintenance, so instances of "RelativityOne" may still be present. You may also experience 404 errors, search disruptions, and temporary style changes.

Last date modified: 2026-Oct-07

Workspace Manager (REST)

  • The Workspace Manager API's UpdateAsync endpoint (PUT) is being deprecated December 9, 2026, as part of an effort to modernize and simplify the Relativity API surface. See this post in the developer group for more information this post in the developer group.
  • Several Workspace Manager API endpoints have already been deprecated as part of an effort to modernize and simplify the Relativity API surface. See this post in the developer group for more information.

In Relativity, a workspace acts as a secure data repository for documents. It supports customized views, layouts, fields, choices, and security settings. For more information, see Workspaces on the RelativityOne Documentation site.

The Workspace Manager service supports the following functionality:

  • CRUD operations on workspaces.
  • Helper endpoints for retrieving lists of available resources, such as matters, clients, and others.
  • Helper endpoints for retrieving information about advanced settings, such as workspace statuses, full text languages for the SQL Server, and others.

As a sample use case, you can simplify setting up reviews by using the Workspace Manager service to programmatically create multiple workspaces rather than manually adding them through the Relativity UI.

You can also use the Workspace Manager service through the .NET. For more information, see Workspace Manager (.NET).

Guidelines for the Workspace Manager service

Review the following guidelines for working with this service.

URLs

  • The URLs for REST endpoints contain path parameters that you need to set before making a call:
    • Set the {versionNumber} placeholder to the version of the REST API that you want to use, using the format lowercase v and the version number, for example v1.
    • Set other path parameters in the URLs to the Artifact ID of a given entity, for example setting {workspaceID} to the Artifact ID of a workspace.
    • To indicate the admin-level context, set the {workspaceID} path parameter to -1.
  • Ensure that the X-CSRF-Header is set.
  • If applicable, for more information on the retrieving the Artifact ID, see Relativity artifact identifiers.

For example, you can use the following URL to retrieve a workspace:

Copy
<host>/Relativity.Rest/API/relativity-environment/{versionNumber}/workspace/{workspaceID}

Set the path parameters as follows:

  • {versionNumber} to the version of the API, such as v1.
  • {workspaceID} to the Artifact ID of a specific workspace.

Client code sample

To use the Workspace Manager service, send requests by making calls with the required HTTP methods. Use the following base URL for this service:

Copy
<host>/Relativity.Rest/API/relativity-environment/{versionNumber}/workspace/

The following sample code is simple .NET client that illustrates how to use the Workspace Manager service to make REST calls.

Create operation helper methods

The following helper endpoints provide functionality to support the create operation.

Retrieve unsupported fields for a create operation

To retrieve unsupported fields on a WorkspaceRequest object for a create operation, send a GET request with a URL in the following general format:

Copy
<host>/Relativity.Rest/API/relativity-environment/{versionNumber}/workspace/meta

The request body is empty.

The response contains the following fields

Copy
{
    "Unsupported": [
        "AzureCredentials",
        "AzureFileSystemCredentials"
    ],
    "ReadOnly": []
}

Retrieve a workspace

To retrieve a workspace, send a GET request with a URL in the following general format:

Copy
<host>/Relativity.Rest/API/relativity-environment/{versionNumber}/workspace/{workspaceID}

The response for a read operation contains many of the same fields as those for a body of a create request. See Workspace Manager (REST).

Update a workspace

To modify the properties of a workspace, send a PUT request with a URL in the following general format:

Copy
<host>/Relativity.Rest/API/relativity-environment/{versionNumber}/workspace/{workspaceID}

The response for an update operation contains the same fields as those for a request. See the field descriptions for View field descriptions for an update request.

Retrieve workspace statistics

To retrieve a summary of workspace statistics, send a GET request to a URL in the following general format:

Copy
<host>/Relativity.Rest/API/relativity-environment/{versionNumber}/workspace/{workspaceID}/summary

The request body is empty.

The response contains the following fields:

  • DocumentCount - a long representing the number of documents in a workspace.
  • FileSize - a long representing the total size of the workspace files in bytes.
Copy
{
  "DocumentCount": 73973,
  "FileSize": 0
}

Advanced settings helper methods

The following helper methods correspond to the fields that you can set in the Advanced settings section of the Workspace form in the Relativity UI. For more information, see Workspaces on the RelativityOne Documentation site.

Retrieve available statuses for a workspace

To retrieve available statuses for a workspace, send a GET request with a URL in the following general format:

Copy
<host>/Relativity.Rest/API/relativity-environment/{versionNumber}/workspace/eligible-statuses

The request body is empty.

Retrieve full text languages for SQL Server

To retrieve a list of available full text languages for the SQL Server assigned to a workspace, send a GET request to a URL in the following general format:

Copy
<host>/Relativity.Rest/API/relativity-environment/{versionNumber}/workspace/eligible-sql-full-text-languages

Retrieve saved searches for production restrictions

You can retrieve saved searches for use with production restrictions. For more information, see Adding and editing production restrictions on the RelativityOne Documentation site.

Send a POST request with a URL in the following general format:

Copy
<host>/Relativity.Rest/API/relativity-environment/{versionNumber}/workspace/{workspaceID}/query-eligible-saved-searches

This endpoint uses the same format for requests and responses as the query for matters. For field descriptions and sample JSON, see Workspace Manager (REST).

Feedback