Skip to content
forcedotcom avatar

Platform Trust Archive Manage

Operate Salesforce Archive through its Connect API, including search, unarchive, RTBF, masking, and job status checks.

CCM score
77 of 100
skills.sh installs
5.2K
GitHub stars
1.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers search, view, unarchive, analyze, mask, and RTBF erasure of archived records via the Archive Connect API
  • Includes ArchiveActivity job-status reads and log-availability checks, with per-operation contracts in reference files
  • Enforces per-capability user permissions (ViewSearchPage, UnarchiveSdk, Rtbf, ArchiveAnalyzer) on top of the org-level Archive gate
  • Designed for admins and developers handling archive restores, failed jobs, and erasure requests in Salesforce orgs with Archive enabled

Install

$ npx -y skills add forcedotcom/sf-skills --skill platform-trust-archive-manage -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Salesforce Archive

Operate Salesforce Archive (also called Trusted Services Archive) through its Connect API and the ArchiveActivity job-metadata object. This skill covers how to search and restore archived records, run the analyzer, handle RTBF erasure and PII masking, check storage, and — the part most often missed — how to read archive job status from ArchiveActivity and use a job's Id + Type to check whether its logs exist.

Scope

  • In scope: Calling the Archive Connect API operations under /platform/data-resilience/archive/; querying the ArchiveActivity object via SOQL/Connect; correlating a job's ArchiveActivity record with its log-availability endpoints; the verify-after-write pattern for each async operation.
  • Out of scope: Defining archive policies / ArchivePolicyDefinition metadata; building UI; generating Flows over archive data (ArchiveActivity is not Flow-queryable — see Gotchas); generic backup/export tooling unrelated to the add-on.

Required Inputs

Gather or infer before acting:

Details

Repository
github.com/forcedotcom/sf-skills
Category
Backend & APIs
First seen
Jul 14, 2026

Questions

What does the platform-trust-archive-manage skill do?

It operates Salesforce Archive, also called Trusted Services Archive, through the Archive Connect API and the ArchiveActivity job object. It covers searching and unarchiving records, running the analyzer, handling RTBF erasure and PII masking, checking archive storage, and reading archive job status and failure logs.

When should I use the platform-trust-archive-manage skill?

Use it when you need to find or restore archived Salesforce records, check why an archive job failed, download an archive failure log, monitor archive jobs, or handle right to be forgotten requests on archived data. It also applies when you want guidance or a runbook on these topics rather than code.

How do I install the platform-trust-archive-manage skill?

Run npx -y skills add forcedotcom/sf-skills --skill platform-trust-archive-manage -y in your project. The skill then lets your agent call the Archive Connect API and read ArchiveActivity job status for Salesforce Archive tasks.

What do I need before using this skill?

Your Salesforce org must have Salesforce Archive enabled, and each operation needs its own user permission, such as ViewSearchPage for archive search, UnarchiveSdk for unarchiving, Rtbf for erasure and masking, or ArchiveAnalyzer for the analyzer. A not-permitted error usually means the matching permission is missing.

More from forcedotcom/sf-skills

All 78

Similar to Platform Trust Archive Manage

More Backend & APIs