Rename a thread

Change a thread's display title. Returns 404 if the thread does not exist. Threads are auto-titled from the first question; a long question gets a short generated title.

Body·
required
application/json
  • thread_id
    Type: string Format: uuid
    required

    The thread, which is the id of its root question.

  • title
    Type: string
    max length:  
    1000
    required

    New display title.

  • user_id
    Type: string
    required
Responses
  • application/json
  • application/json
  • 500

    Miso could not read or write the history store. Retry, and keep what you have on screen — this is no longer reported as an empty list.

Request Example for post/v1/ask/user_history/thread/rename
curl 'https://api.askmiso.com/v1/ask/user_history/thread/rename?api_key=YOUR_SECRET_TOKEN' \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "question_id": "0e1f2a3b-4c5d-6e7f-8a9b-0c1d2e3f4a5b",
  "user_id": "alice",
  "title": "Mortgage research"
}'
{
  "message": "success",
  "data": {
    "thread_id": "0e1f2a3b-4c5d-6e7f-8a9b-0c1d2e3f4a5b",
    "title": "Rocky Linux — renamed"
  }
}