thread.completed

⚠️
Preview — this feature is being built; the design below is the spec.

Received on the stream and in the event list. A delegate thread ended.

Example

id: evt_01JC7M3B
data: {"type": "thread.completed", "thread_id": "thr_01JCC2E4G6J8L0N2Q4S6", "status": "completed", "usage": {"input_tokens": 6120, "output_tokens": 388, "cost_usd": "0.0112"}}

Fields

FieldMeaning
statuscompleted, failed or interrupted.

Handling

The parent thread receives the delegate’s result as a tool result next.

Was this page helpful?