User Snapshots
Create a user snapshot
Captures a user-level snapshot (automations, prompts, templates, and pipeline-stage/agent references) for the specified source user in a source organization. Admins can only snapshot their own organization.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/user-snapshots" \ -H "Content-Type: application/json" \ -d '{ "name": "Top performer baseline 2026-05", "description": "Senior AE automations and prompts for Q2 rollout.", "sourceOrgId": "64ee9a8b1e7f2a0011223344", "sourceUserId": "64ee9a8b1e7f2a0011223399" }'{ "message": "Snapshot created", "snapshot": { "_id": "665f1a0c0e0a4b001a2c9f80", "name": "Top performer baseline 2026-05", "counts": { "automations": 5, "prompts": 8, "templates": 12 }, "isGlobal": false }}