App Logo
linear.app

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 optional

Workspace slug (from its Linear URL). Defaults to whatever workspace the account lands on.

Output

loggedIn required
name optional
email optional
workspace optional

Workspace slug the profile page opened in

FAQ

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.
Ask an AI agent connected to Reduck to run reduck/linear.app/get_current_user, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/linear.app/get_current_user
You do not need one. "Get Current User" drives the real linear.app pages in a browser, so it works whether or not linear.app offers an API for this.
Optional: workspaceUrl.
It returns name, email, loggedIn, workspace.
Yes. It acts as you on linear.app: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the linear.app cookies saved by the Reduck extension.
It only reads. It looks things up on linear.app and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/linear.app/get_current_user, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/linear.app/get_current_user
It is part of Reduck's official curated catalogue.

Start building not clicking