v1
protected
access-control

Sync Grants

Mirror existing grants into the graph backend and seed a starter collection.

Idempotent: safe to call repeatedly. Steps:

  1. Mirror workspace members into the graph.
  2. If no collections exist, create "All skills" containing every workspace skill and grant workspace-member access to the collection.
  3. Mirror each collection membership relationship.
  4. Mirror each direct agent-to-skill grant.
post/v1/access-control/sync

Response

Successful Response

collectionsinteger required
writteninteger required

Changes