Example Usage
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
response | models.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/>}} |
sequenceNumber | number | :heavy_check_mark: | N/A | |
type | âresponse.completedâ | :heavy_check_mark: | N/A |