Get Current User
Automatically get Current User on linear.app. Report which Linear account this browser is signed in as: name, email and the workspace slug, from Personal Profile settings. Optionally pass `workspaceUrl` to read a specific workspace. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Linear scripts.
Input
workspaceUrl optionalWorkspace slug (from its Linear URL). Defaults to whatever workspace the account lands on.
Output
loggedIn requiredname optionalemail optionalworkspace optionalWorkspace slug the profile page opened in
FAQ
List Linear invoices
List the invoices on a Linear workspace's billing page (linear.app/<workspace>/settings/billing, "Recent invoices" section). Requires you to already be logged in to Linear in your browser. Each invoice row exposes a public Stripe hosted-invoice URL ("View" link). Returns workspace + invoices[{date, description, amount, url}] exactly as displayed (amount is the shown string e.g. "$12.00"); empty list is a valid result for a workspace with no invoices.
List Linear workspace members and roles
List the workspace's members (name, username, email, role/status, teams, joined, last seen) from the Members settings page, including pending invites, suspended accounts, and app installs. Defaults to the currently active workspace; pass workspaceUrl to target another. Requires login.
Linear login (Google SSO)
Log into Linear via "Continue with Google", using your browser's own signed-in Google account. Drives the account chooser and consent screen, then lands you on your workspace. Requires the local browser extension — not available in cloud/managed runs.
