/datto-saas-protection:api-patternsfrom datto-saas-protection
Documents the Datto SaaS Protection (Backupify) REST API patterns: authentication, object model, and the six datto_saas_* tools for managing customer domains, seats, and backup stats.
Ships in datto-saas-protection. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Datto SaaS Protection (rebranded Backupify) provides cloud-to-cloud backup for Microsoft 365 and Google Workspace tenants. Conduit brokers it through the datto-saas-protection-mcp sidecar (vendor slug datto-saas-protection), which wraps the documented Datto REST API at https://api.datto.com/v1/saas.
spanning-api-patterns.datto-bcdr-api-patterns.The Datto REST API uses HTTP Basic auth with the public/secret API key pair from the Datto Partner Portal (Admin → Integrations → API Keys). Both are stored on the Datto SaaS Protection connection in Conduit, which injects them on every request; nothing is set on the client.
There is a single API host, api.datto.com. The connection's Region field is accepted for backward compatibility but has no effect: Datto publishes no EU SaaS Protection API host.
| Tool | Tier | What it returns | REST call |
|---|---|---|---|
datto_saas_list_domains | read | Every customer domain (M365 tenant or Google Workspace domain): saasCustomerId, customer name, domain, productType, externalSubscriptionId, retention, seatsUsed, backup stats. Optional search filter. Start here. | GET /v1/saas/domains |
datto_saas_list_seats | read | Seats for one customer with seatType, seatState, billable flag and remoteId. Optional seatType and seatState filters. | GET /v1/saas/{saasCustomerId}/seats |
datto_saas_get_seat | read | One seat by remoteId or mainId (email or site URL), rendered as a seat card. Datto has no single-seat endpoint; this filters the seat list. | GET /v1/saas/{saasCustomerId}/seats |
datto_saas_list_applications | read | Backup history per suite/application (Exchange, OneDrive, SharePoint, Teams, Gmail, Drive) with per-window status. daysUntil (up to about 30), includeRemoteID. | GET /v1/saas/{saasCustomerId}/applications |
datto_saas_get_backup_stats | read | Detailed per-service backup statistics: last-7-day status, last backups, storage. | GET /v1/saas/{saasCustomerId}/detailedBackupStats |
datto_saas_bulk_seat_change | write | License, Pause or Unlicense up to 100 seats of one type. Confirm-gated (see below). | PUT /v1/saas/{saasCustomerId}/{externalSubscriptionId}/bulkSeatChange |
saasCustomerId is optional on the read tools: if it is omitted and the client supports prompts, the server asks the user to pick a customer.
There is no restore tool and no activity-log tool. Restores are started in the SaaS Protection portal. Do not tell a user that a restore can be queued or polled from here.
Partner (API key pair)
└── Customer domain (saasCustomerId, externalSubscriptionId)
└── Seat (remoteId / mainId, seatType, seatState, billable)
└── Application backup history (per suite, per window)
| Seat types (case-sensitive) | User, SharedMailbox, SharedDrive, Site, TeamSite, Team |
|---|---|
| Seat states | Active, Paused, Archived, Unprotected |
| Bulk actions (case-sensitive) | License, Pause, Unlicense |
datto_saas_bulk_seat_change requires saasCustomerId, externalSubscriptionId (both from datto_saas_list_domains, e.g. Classic:Office365:123456), seatType, actionType and ids (1-100 remoteId values from datto_saas_list_seats).
The server asks the user to confirm the exact change. On clients that cannot show a prompt it refuses unless confirm: true is passed, and that flag may only be set after the user has explicitly approved this exact change. Seat Management 2.0 tenants only.
{
"saasCustomerId": 123456,
"externalSubscriptionId": "Classic:Office365:123456",
"seatType": "User",
"actionType": "License",
"ids": ["00000000-0000-0000-0000-000000000001", "00000000-0000-0000-0000-000000000002"]
}
Add "confirm": true only after the user has approved this exact list.
/domains and /seats return bare arrays. Endpoints that answer with Datto's paged envelope ({ pagination: { page, perPage, totalPages }, items }) are followed automatically. List tools return a flat array, so there is no cursor to manage; datto_saas_get_seat returns a single seat object.
| HTTP | Meaning | Action |
|---|---|---|
| 401 | Bad or inactive key pair | Re-check the key pair on the Conduit connection |
| 403 | Key lacks access to this customer | Verify the key's scope in the Partner Portal |
| 404 | Unknown saasCustomerId or externalSubscriptionId | Re-run datto_saas_list_domains |
| 429 | Rate limited | Back off per Retry-After |
| 500-503 | Transient | Exponential backoff |
Unprotected. Coverage gaps are seats in that state, not missing rows.Archived; filter with seatState rather than assuming the list is active-only.datto-saas-protection-seat-coverage — seat-coverage and backup-health sweep across customers.What SKILL.md sets; muted values are Claude Code's defaults
When working with the Datto SaaS Protection (Backupify) tools or REST API. Use when: datto saas protection, backupify, saas backup, m365 backup, google workspace backup, saas protection api, datto_saas tools, seat license, or pause seat.
Three short reads, in order
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin datto-saas-protection2 skills in this plugin
Other plugins' skills for the same job