The run step delta object (v1)
Legacy

Represents a run step delta i.e. any changed fields on a run step during streaming.source

The identifier of the run step, which can be referenced in API endpoints.source

The object type, which is always thread.run.step.delta.source

The delta containing the fields that have changed on the run step.source

OBJECT The run step delta object (v1)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  "id": "step_123",
  "object": "thread.run.step.delta",
  "delta": {
    "step_details": {
      "type": "tool_calls",
      "tool_calls": [
        {
          "index": 0,
          "id": "call_123",
          "type": "code_interpreter",
          "code_interpreter": { "input": "", "outputs": [] }
        }
      ]
    }
  }
}