Spy Search persists conversation history as named sessions. Each conversation is identified by a unique title string. The endpoints below allow you to list all saved titles, load a full conversation, add new messages to an existing one, and delete conversations you no longer need.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/JasonHonKL/spy-search/llms.txt
Use this file to discover all available pages before exploring further.
GET /get_titles
Returns a list of all saved conversation titles. Use this to discover which conversations are stored before loading or deleting one. Response format:application/json
Response
An array of title strings representing all saved conversations.
Example
POST /load_message
Loads the full conversation associated with a given title, including all stored messages. Request format:application/json
Response format: application/json
Request Body
The title of the conversation to load. Must match a title returned by
GET /get_titles.Example: "Renewable Energy Research"Response
Returns the stored conversation content object. The exact shape is determined by how the conversation was originally saved viaPOST /append_message, but will include all message history.
Example
POST /append_message
Appends a single message to an existing saved conversation. If the conversation title does not yet exist, a new one is created. Request format:application/json
Response format: application/json
Request Body
The title of the conversation to append the message to.Example:
"Renewable Energy Research"A Nested fields:
Message object to append. Must contain both role and content fields.role(string, required) — the message role:"user","assistant", or"system"content(string, required) — the text content of the message
Response
The string
"success" when the message was appended successfully.A human-readable confirmation string indicating which conversation was updated.Example:
"Appended message to title 'Renewable Energy Research'"Example
POST /delete_message
Deletes a saved conversation by its title. If no conversation with the given title exists, a404 error is returned.
Request format: application/json
Response format: application/json
Request Body
The title of the conversation to delete.Example:
"Nobel Prize 2024"Response
The string
"success" when the conversation was deleted.A human-readable confirmation string.Example:
"Message with title 'Nobel Prize 2024' deleted"