App Logo
muse.ai

Search Muse chats (muse.ai)

Automatically search Muse chats (muse.ai) on muse.ai. Search the messages of the signed-in Muse account (Meta's personal agent at muse.ai) with Muse's own search, and return one page of the messages that match, newest first: each message (from the user or from Muse) with its text as markdown, its time and its sources, the chat it is in, and the extract Muse shows for the match. All chats are searched, archived chats included, or only the main chat with main_chat_only: true. A page holds up to 100 messages. When has_more is true, run the same search again with before set to next_before to get the next page. A search that matches nothing returns an empty list. Pass a hit's chat id to muse.ai/get_chat to read the whole chat, or to muse.ai/send_message to continue it. Requires a signed-in session: a signed-out browser fails at once with an error that says so.

Inputs

query required

The words to search for, as typed in Muse's search box. It must hold at least one character that is not a space.

before optional

The next_before of the previous page, to get the page after it. Omit it for the first page.

main_chat_only optional

true searches only the account's main chat. false (the default) searches every chat.

Default: false

Output

hits required

The messages of this page that match, newest first. Empty when nothing matches.

has_more required

True when older messages also match: pass next_before as before to get them.

next_before required

The value of before for the next page. Null when has_more is false.

FAQ

Search the messages of the signed-in Muse account (Meta's personal agent at muse.ai) with Muse's own search, and return one page of the messages that match, newest first: each message (from the user or from Muse) with its text as markdown, its time and its sources, the chat it is in, and the extract Muse shows for the match. All chats are searched, archived chats included, or only the main chat with main_chat_only: true. A page holds up to 100 messages. When has_more is true, run the same search again with before set to next_before to get the next page. A search that matches nothing returns an empty list. Pass a hit's chat id to muse.ai/get_chat to read the whole chat, or to muse.ai/send_message to continue it. Requires a signed-in session: a signed-out browser fails at once with an error that says so.
Ask an AI agent connected to Reduck to run reduck/muse.ai/search_chats, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/muse.ai/search_chats
You do not need one. "Search Muse chats (muse.ai)" drives the real muse.ai pages in a browser, so it works whether or not muse.ai offers an API for this.
Required: query. Optional: before, main_chat_only.
It returns hits, has_more, next_before.
Yes. It acts as you on muse.ai: in your browser it reuses your session, and on a cloud browser it loads your Auth session cookies for muse.ai.
It only reads. It looks things up on muse.ai and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/muse.ai/search_chats, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/muse.ai/search_chats
It is one of Reduck's official scripts.

Start building not clicking