Get current Neon console user
Automatically get current Neon console user on console.neon.tech. Report which Neon console account this browser is signed in as: email, first name and last name. When the browser is signed out of the Neon console, the run fails with a signed-out error asking you to sign in to console.neon.tech.
Input
None
Output
loggedIn requiredemail optionallastName optionalfirstName optionalFAQ
Invite Neon organization member
Invite (create) a member on the current Neon organization by email and role. Role is free-text matched case-insensitively against Neon's own invite role picker (Admin, Member). Membership is invite-based; the invitee starts as Pending until they accept (or may auto-join if their Neon account already exists, per Neon's own behavior). Returns the invitation's email, role, id and invited-at timestamp.
List Neon invoices
List the signed-in Neon organization's billing invoices. Returns org, total, and invoices (reference, issued, total, status, pdfUrl). Each pdfUrl is a public link to the invoice PDF, so treat it as sensitive. Reads the default organization the console opens on; an account with several organizations sees only that one.
Remove Neon organization member
Remove a member, or cancel a pending invite, from the current Neon organization, identified by email. Checks the org's members and invitations lists to determine which branch applies: joined members are removed via "Remove from organization" (plain confirm, no re-typing required); pending invites are cancelled via "Cancel invite". Returns the removed email and whether it was a pending invite.
