Skip to main content
PATCH
/
agent
/
threads
/
{thread_id}
Update Thread
curl --request PATCH \
  --url https://app.aseed.ai/custdev/agent/threads/{thread_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "user_id": "<string>",
  "thread_name": "<string>",
  "state": {},
  "guide_content": "<string>",
  "research_context_content": "<string>",
  "is_deleted": false,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "message_count": 0
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

thread_id
string
required

Body

application/json

Request model for updating an agent thread.

name
string
required
Required string length: 1 - 255

Response

Successful Response

Data transfer object for an agent thread.

id
string
required
user_id
string
required
thread_name
string
required
state
State · object
guide_content
string | null
research_context_content
string | null
is_deleted
boolean
default:false
created_at
string<date-time> | null
updated_at
string<date-time> | null
message_count
integer
default:0