v1
protected
access-control
Sync Grants
Mirror existing grants into the graph backend and seed a starter collection.
Idempotent: safe to call repeatedly. Steps:
- Mirror workspace members into the graph.
- If no collections exist, create "All skills" containing every workspace skill and grant workspace-member access to the collection.
- Mirror each collection membership relationship.
- Mirror each direct agent-to-skill grant.
post/v1/access-control/sync
Response
Successful Response