Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.
Event emitted when a response is in progress

Fields

FieldTypeRequiredDescriptionExample
Responsecomponents.OpenResponsesResult:heavy_check_mark:Complete non-streaming response from the Responses API{"created_at": 1704067200,"error": null,"id": "resp-abc123","incomplete_details": null,"instructions": null,"max_output_tokens": null,"metadata": null,"model": "gpt-4","object": "response","output": [{"content": [{"annotations": [],"text": "Hello! How can I help you today?","type": "output_text"}
],
“id”: “msg-abc123”,
“role”: “assistant”,
“status”: “completed”,
“type”: “message”
}
],
“parallel_tool_calls”: true,
“status”: “completed”,
“temperature”: null,
“tool_choice”: “auto”,
“tools”: [],
“top_p”: null,
“usage”: {"input_tokens": 10,"input_tokens_details": {"cached_tokens": 0},
“output_tokens”: 25,
“output_tokens_details”: {"reasoning_tokens": 0},
“total_tokens”: 35<br/>}
}
SequenceNumberint64:heavy_check_mark:N/A
Typecomponents.OpenResponsesInProgressEventType:heavy_check_mark:N/A