curl--location--request GET 'https://oapi.czl.net/v1/threads//messages?limit=&order=&after=&before='
返回响应
🟢200成功
application/json
Body
object
string
必需
data
array [object {10}]
必需
id
string
必需
object
string
必需
created_at
integer
必需
thread_id
string
必需
role
string
必需
content
array [object {2}]
必需
file_ids
array[string]
必需
assistant_id
null
必需
run_id
null
必需
metadata
object
必需
first_id
string
必需
last_id
string
必需
has_more
boolean
必需
示例
{"object":"list","data":[{"id":"msg_abc123","object":"thread.message","created_at":1699016383,"thread_id":"thread_abc123","role":"user","content":[{"type":"text","text":{"value":"How does AI work? Explain it in simple terms.","annotations":[]}}],"file_ids":[],"assistant_id":null,"run_id":null,"metadata":{}},{"id":"msg_abc456","object":"thread.message","created_at":1699016383,"thread_id":"thread_abc123","role":"user","content":[{"type":"text","text":{"value":"Hello, what is AI?","annotations":[]}}],"file_ids":["file-abc123"],"assistant_id":null,"run_id":null,"metadata":{}}],"first_id":"msg_abc123","last_id":"msg_abc456","has_more":false}