902 B
902 B
POST /vfs/skills/restore
Protected. Requires a valid session cookie (credentials: 'include').
Restore system default skills
Restores all shipped system default SKILL files into the active virtual filesystem (VFS) for the authenticated user's selected company, overwriting existing system skills with their upstream definitions.
Signals
On success, emits SSE signal: vfs (see GET /events).
Response 200
System skills restored successfully
{
"success": true,
"restored": [
"…"
],
"count": 1
}
Errors
| Status | Description |
|---|---|
| 400 | No company selected — {"error":"…"} |
| 401 | Unauthorized — {"error":"…"} |
| 403 | Not authorized — {"error":"…"} |
| 500 | Restore failed — {"error":"…"} |
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.