curl --location --request GET 'https://api.openai.com/' \
--header 'Authorization: Bearer $OPENAI_API_KEY' \
--header 'OpenAI-Beta: assistants=v1' \
--header 'Content-Type: application/json'
{
"object": "string",
"data": [
{
"id": "string",
"object": "string",
"created_at": 0,
"thread_id": "string",
"role": "string",
"content": [
{
"type": "string",
"text": {
"value": "string",
"annotations": [
"string"
]
}
}
],
"file_ids": [
"string"
],
"assistant_id": null,
"run_id": null,
"metadata": {}
}
],
"first_id": "string",
"last_id": "string",
"has_more": true
}