1---
2version: 2
3interactions:
4- id: 0
5 request:
6 proto: HTTP/1.1
7 proto_major: 1
8 proto_minor: 1
9 content_length: 564
10 host: ""
11 body: '{"max_output_tokens":4000,"store":false,"input":[{"content":[{"text":"Generate information about a person named Alice who is 30 years old and lives in Paris.","type":"input_text"}],"role":"user"}],"model":"gpt-5","text":{"format":{"name":"Person","schema":{"additionalProperties":false,"properties":{"age":{"description":"The person''s age","type":"integer"},"city":{"description":"The city where the person lives","type":"string"},"name":{"description":"The person''s name","type":"string"}},"required":["name","age","city"],"type":"object"},"type":"json_schema"}}}'
12 headers:
13 Accept:
14 - application/json
15 Content-Type:
16 - application/json
17 User-Agent:
18 - OpenAI/Go 2.7.1
19 url: https://api.openai.com/v1/responses
20 method: POST
21 response:
22 proto: HTTP/2.0
23 proto_major: 2
24 proto_minor: 0
25 content_length: -1
26 uncompressed: true
27 body: |-
28 {
29 "id": "resp_027d860ff8453c5c01690fb5e8b590819c98d4fefe82a2d697",
30 "object": "response",
31 "created_at": 1762637288,
32 "status": "completed",
33 "background": false,
34 "billing": {
35 "payer": "developer"
36 },
37 "error": null,
38 "incomplete_details": null,
39 "instructions": null,
40 "max_output_tokens": 4000,
41 "max_tool_calls": null,
42 "model": "gpt-5-2025-08-07",
43 "output": [
44 {
45 "id": "rs_027d860ff8453c5c01690fb5e90bf8819cafd2ab51156cc379",
46 "type": "reasoning",
47 "summary": []
48 },
49 {
50 "id": "msg_027d860ff8453c5c01690fb5fe2978819ca252f996006bf96e",
51 "type": "message",
52 "status": "completed",
53 "content": [
54 {
55 "type": "output_text",
56 "annotations": [],
57 "logprobs": [],
58 "text": "{\"age\":30,\"city\":\"Paris\",\"name\":\"Alice\"}"
59 }
60 ],
61 "role": "assistant"
62 }
63 ],
64 "parallel_tool_calls": true,
65 "previous_response_id": null,
66 "prompt_cache_key": null,
67 "prompt_cache_retention": null,
68 "reasoning": {
69 "effort": "medium",
70 "summary": null
71 },
72 "safety_identifier": null,
73 "service_tier": "default",
74 "store": false,
75 "temperature": 1.0,
76 "text": {
77 "format": {
78 "type": "json_schema",
79 "description": null,
80 "name": "Person",
81 "schema": {
82 "additionalProperties": false,
83 "properties": {
84 "age": {
85 "description": "The person's age",
86 "type": "integer"
87 },
88 "city": {
89 "description": "The city where the person lives",
90 "type": "string"
91 },
92 "name": {
93 "description": "The person's name",
94 "type": "string"
95 }
96 },
97 "required": [
98 "name",
99 "age",
100 "city"
101 ],
102 "type": "object"
103 },
104 "strict": true
105 },
106 "verbosity": "medium"
107 },
108 "tool_choice": "auto",
109 "tools": [],
110 "top_logprobs": 0,
111 "top_p": 1.0,
112 "truncation": "disabled",
113 "usage": {
114 "input_tokens": 80,
115 "input_tokens_details": {
116 "cached_tokens": 0
117 },
118 "output_tokens": 1238,
119 "output_tokens_details": {
120 "reasoning_tokens": 1216
121 },
122 "total_tokens": 1318
123 },
124 "user": null,
125 "metadata": {}
126 }
127 headers:
128 Content-Type:
129 - application/json
130 status: 200 OK
131 code: 200
132 duration: 22.08059475s