App Logo
chat.mistral.ai

Get current user

Automatically get current user on chat.mistral.ai. Report which Mistral (Le Chat) account this browser is signed in as: email and name, from Mistral's own session service. 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 Le Chat scripts.

Input

None

Output

loggedIn required
name optional
email optional

FAQ

Report which Mistral (Le Chat) account this browser is signed in as: email and name, from Mistral's own session service. 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 Le Chat scripts.
Ask an AI agent connected to Reduck to run reduck/chat.mistral.ai/get_current_user, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/chat.mistral.ai/get_current_user
You do not need one. "Get current user" drives the real chat.mistral.ai pages in a browser, so it works whether or not chat.mistral.ai offers an API for this.
Nothing. It takes no input.
It returns name, email, loggedIn.
Yes. It acts as you on chat.mistral.ai: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the chat.mistral.ai cookies saved by the Reduck extension.
It only reads. It looks things up on chat.mistral.ai and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/chat.mistral.ai/get_current_user, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/chat.mistral.ai/get_current_user
It is part of Reduck's official curated catalogue.

Start building not clicking