Last date modified: 2026-May-21

Claude

This topic provides details on how to capture Anthropic's Claude Enterprise with Collect.

Considerations

Note the following considerations about this data source:

  • This connector requires a Claude Enterprise account. The Anthropic Compliance API is only available with an Enterprise subscription.
  • Relativity collects deleted data only if Anthropic still retains the content.
    • Anthropic does not keep the content of deleted conversations, but it may keep records that the conversation occurred.
    • Your organization sets the retention policy. For more information on retention policies, see Anthropic's documentation.
  • If you have multiple Claude organizations, you must configure a separate data source for each organization. We recommend clearly naming each data source.
  • Relativity automatically converts collected conversation prompts and responses to Relativity's short message format (RSMF). For more information, see the The Relativity Short Message Format (RSMF).
  • Relativity collects Claude metadata. For more information, see Collected metadata.

Prerequisites

Complete the following before setting up the Claude data source in Relativity:

You must enable the Compliance API on Anthropic's side to obtain an API key. You must do this before configuring your Claude data source in Collect.

For more information about the Compliance API, see Anthropic's documentation.

Once you complete the prerequisites, you can begin creating the data source.

Collected metadata

Relativity collects metadata from Anthropic’s Compliance API as part of activity logs. For each action, like sending a prompt, getting a response, or uploading a file, Relativity collects all related metadata.

As of the current integration with Anthropic's Compliance API, Relativity captures the following metadata fields in collections:

Metadata Collected
Conversation ID Always
Conversation title Always
User ID Always
User name Always
User email Always
Timestamp of prompt Always
Timestamp of response Always
Prompt text Always
Response text Always
Edit history Captures updates when a user edits and re-runs a prompt.
Attachments Claude generated files, and user uploaded files submitted by users during the conversation.

Creating the data source

Use the following procedure to connect the Claude data source to Collect.

In RelativityOne:

  1. Navigate to Collection Admin.
  2. Click the New Collection Source Instance button.
  3. Complete the following fields:
    • Name—enter a unique name for the data source.
    • Type—select the Anthropic (Claude) data source.
    • Settings—enter the required information in the Settings fields. For more information, see Settings fields.
  4. Click Save.

After clicking Save, Relativity verifies the parameters and connectivity to the data source instance.

  • When verification is successful, Relativity saves the data source. If the connection fails, Relativity displays a message indicating that the connection failed.
  • When verification fails, verify that the values are correct. Relativity can only save the data source when the values are correct and verified.

The data source displays on the Collection Admin page.

Settings fields

To connect Relativity to an Anthropic (Claude) workspace, you need to gather and enter the information for the following fields:

  • API Key—enter the API key that Anthropic provided to your organization. You can use the same API key when configuring multiple Claude data sources from which you want to collect.
  • Organization ID—enter the Claude Organization ID.

Configuring the data source

Each data source used in Collect has different search criteria on the Collection Details step when creating a collection job. The criteria needs to be configured in this step.

Relativity collects Claude chat data in Relativity's short message format (RSMF). For more information, see The Relativity Short Message Format (RSMF).

Add search criteria to collect specific data. To configure the data source, complete the following fields:

  • Select and unselected tabs—choose the data sources to collect from by moving unselected data sources to the selected list.
  • Field—choose the field to filter on within the data source. You must set a Start Date to complete the Data Sources step.
  • Operator—choose an operator. For example, equals or greater than.
  • Value—enter a value to find in the selected field.

The following table lists the filter criteria supported for Claude collections:

Criteria Operators Description Example
Created Date Greater Than, Greater Than or Equals, Less Than, Less Than or Equals

When you use the Created Date property in a query, the search returns prompts and responses that exist the day of and after the entered date.

When you search a Created Date of 1/1/2026 to 12/31/2026, Relativity collects all prompts and responses from that date to the end of 2026.
Updated Date Greater Than, Greater Than or Equals, Less than or Equals When you use the Updated Date property in a query, the search returns prompts and responses that exist the day of and after the entered date. When you search a Updated Date of 1/1/2026 to 12/31/2026, Relativity collects all prompts and responses from that date to the end of 2026.
Return to top of the page
Feedback