platform-trust-archive-manage

Operate Salesforce Archive via the Connect API to search, unarchive, mask, and monitor archived records.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Build --skill platform-trust-archive-manage-padjei
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: platform-trust-archive-manage
Source: https://github.com/padjei/SF_Build/tree/main/.claude/skills/platform-trust-archive-manage
Command: npx skills add https://github.com/padjei/SF_Build --skill platform-trust-archive-manage-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Working with Salesforce Archive (Trusted Services Archive) requires navigating a Connect API with non-obvious contracts — misleading 404 paths, body-level success flags hidden behind HTTP 201 responses, and job logs that can only be resolved by correlating ArchiveActivity records. This Skill provides the exact operation contracts, permission requirements, and verification patterns so you can search, restore, erase, and monitor archived data without trial-and-error. ## Core Features & Use Cases - Archived Record Search & Restore: Search archived records with filters and date ranges, paginate results, and unarchive records back into live storage with verify-after-write checks. - RTBF & PII Masking: Submit Right-To-Be-Forgotten erasure and irreversible PII masking requests, then poll their status via request IDs. - Job Monitoring & Log Downloads: Query the ArchiveActivity object via SOQL to find failed or in-progress archive jobs, then download execution-detail and failed-records logs using each activity's Id and Type. - Use Case: An admin notices last night's archive job failed. Use this Skill to query ArchiveActivity for failed jobs in the last 7 days, read the FailureReason and record counts, then download the failed-records log to identify exactly which records did not archive. ## Quick Start Ask the assistant to find all failed Salesforce Archive jobs from the past week and download their failed-records logs.

Frequently Asked Questions about platform-trust-archive-manage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search archived records in Salesforce Archive?▼

Send a POST request to /platform/data-resilience/archive/search with sobjectName and at least one filter. Date filters must use the plural dateRanges array with full ISO-8601 datetimes, and pagination stops when scroll_id equals "-1".

How do I monitor failed Salesforce Archive jobs?▼

Query the ArchiveActivity object via SOQL filtering on Status values like Failed or In Progress. ArchiveActivity is not Flow-queryable, so use SOQL, Connect, or Reports, then read FailureReason, ProgressPercentage, and the count fields.

Why does the Salesforce Archive API return 404 NOT_FOUND?▼

A 404 usually means the path is wrong, not that Archive is disabled. Use the literal short paths like /search or /unarchive under /platform/data-resilience/archive, never the operation names, and do not insert a /connect segment.

What permissions are needed for Salesforce Archive operations?▼

Each operation requires a distinct user permission on top of org-level Archive enablement: ViewSearchPage for search, UnarchiveSdk for unarchive, Rtbf for both erasure and masking, ArchiveAnalyzer for the analyzer, and ViewActivitiesPage for log downloads.

Can I download logs for a failed archive job?▼

Yes, call the execution-details-stream-url or failed-records-stream-url endpoints with the ArchiveActivity Id as requestId and that activity's Type as reportType. Always check that the returned url is not null, since a null url means no log was resolved.

What are the limits of unarchiving and RTBF in Salesforce Archive?▼

Unarchive processes at most 1000 matched records per request and 50 requests per hour per org. RTBF and masking share a 10,000 root records per day limit, allow up to 10 criteria, and both are permanent with no rollback.