curl --request POST \
--url https://app.aseed.ai/custdev/agent/threads \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Thread"
}
'{
"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
}Create a new agent thread.
Request body:
Returns:
curl --request POST \
--url https://app.aseed.ai/custdev/agent/threads \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Thread"
}
'{
"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
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request model for creating an agent thread.
255Successful Response
Data transfer object for an agent thread.
Was this page helpful?