-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
retrieve_run_step.json
40 lines (40 loc) · 999 Bytes
/
retrieve_run_step.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"title": "Retrieves a run step.",
"parameters": {
"endpoint": "{endpoint}",
"api-version": "2024-05-01-preview",
"thread_id": "thread_abc123",
"run_id": "run_abc123",
"step_id": "step_abc123"
},
"responses": {
"200": {
"body": {
"id": "step_abc123",
"object": "thread.run.step",
"created_at": 1699063291,
"run_id": "run_abc123",
"assistant_id": "asst_abc123",
"thread_id": "thread_abc123",
"type": "message_creation",
"status": "completed",
"cancelled_at": null,
"completed_at": 1699063291,
"expired_at": null,
"failed_at": null,
"last_error": null,
"step_details": {
"type": "message_creation",
"message_creation": {
"message_id": "msg_abc123"
}
},
"usage": {
"prompt_tokens": 123,
"completion_tokens": 456,
"total_tokens": 579
}
}
}
}
}