curl --location --request GET 'https://api.openai.com/v1/threads' \
--header 'Authorization: Bearer $OPENAI_API_KEY' \
--header 'OpenAI-Beta: assistants=v1' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "text-davinci-edit-001",
"input": "What day of the wek is it?",
"instruction": "Fix the spelling mistakes"
}'
{
"id": "thread_abc123",
"object": "thread",
"created_at": 1699012949,
"metadata": {}
}