paperclip_export_company
Export a company configuration as a portable snapshot for backup or migration. Select which resource types to include and filter by IDs.
Instructions
⚠ Board-only: Export company package
Args:
companyId: string — Company UUID to export
include: object — Which resource types to bundle: { company, agents, projects, issues, skills } (booleans with defaults true/true/false/false/false)
skills: string[] (optional) — Filter to specific skill IDs
projects: string[] (optional) — Filter to specific project IDs
issues: string[] (optional) — Filter to specific issue IDs
projectIssues: string[] (optional) — Project IDs whose issues to include
expandReferencedSkills: boolean (optional) — Expand transitive skill references
Returns: Export bundle (JSON only): { rootPath, manifest, files (map of path → content), paperclipExtensionPath, warnings }. Files can be very large — response is truncated at 25k chars.
Examples:
Use when: creating a portable snapshot of a company configuration for backup or migration
Don't use when: you want to apply an import bundle — use paperclip_preview_company_import then paperclip_apply_company_import
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
403: board key required → this endpoint requires board-level authentication
404: company not found → verify ID with paperclip_list_companies
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | Company UUID to export | |
| include | Yes | Which resource types to include in the export package (company, agents, projects, issues, skills) | |
| skills | No | Filter export to specific skill IDs (omit for all skills) | |
| projects | No | Filter export to specific project IDs (omit for all projects) | |
| issues | No | Filter export to specific issue IDs (omit for all issues) | |
| projectIssues | No | Project IDs whose issues should be included in the export | |
| expandReferencedSkills | No | When true, expand transitive skill references into the export bundle |