Refreshes latest SHA from GitHub for the connected repo and updates sync metadata (admin only).
cURL
curl --request POST \ --url https://app.usechar.ai/api/org-script-repos/current/sync \ --header 'Authorization: Bearer <token>'
{ "success": "<unknown>", "github_repo": "<string>", "latest_sha": "<string>", "synced_at": 123 }
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
OK