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: 207
10 host: ""
11 body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant","role":"developer"},{"content":[{"text":"Say hi in Portuguese","type":"input_text"}],"role":"user"}],"model":"gpt-5"}'
12 headers:
13 Accept:
14 - application/json
15 Content-Type:
16 - application/json
17 User-Agent:
18 - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
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_02024dfc5f4dacc80169b319301db4819587c30653126df754",
30 "object": "response",
31 "created_at": 1773345072,
32 "status": "completed",
33 "background": false,
34 "billing": {
35 "payer": "developer"
36 },
37 "completed_at": 1773345074,
38 "error": null,
39 "frequency_penalty": 0.0,
40 "incomplete_details": null,
41 "instructions": null,
42 "max_output_tokens": 4000,
43 "max_tool_calls": null,
44 "model": "gpt-5-2025-08-07",
45 "output": [
46 {
47 "id": "rs_02024dfc5f4dacc80169b319307bc4819588310448b323625a",
48 "type": "reasoning",
49 "summary": []
50 },
51 {
52 "id": "msg_02024dfc5f4dacc80169b319326820819584d998f22e95c207",
53 "type": "message",
54 "status": "completed",
55 "content": [
56 {
57 "type": "output_text",
58 "annotations": [],
59 "logprobs": [],
60 "text": "Ol\u00e1!"
61 }
62 ],
63 "role": "assistant"
64 }
65 ],
66 "parallel_tool_calls": true,
67 "presence_penalty": 0.0,
68 "previous_response_id": null,
69 "prompt_cache_key": null,
70 "prompt_cache_retention": null,
71 "reasoning": {
72 "effort": "medium",
73 "summary": null
74 },
75 "safety_identifier": null,
76 "service_tier": "default",
77 "store": false,
78 "temperature": 1.0,
79 "text": {
80 "format": {
81 "type": "text"
82 },
83 "verbosity": "medium"
84 },
85 "tool_choice": "auto",
86 "tools": [],
87 "top_logprobs": 0,
88 "top_p": 1.0,
89 "truncation": "disabled",
90 "usage": {
91 "input_tokens": 19,
92 "input_tokens_details": {
93 "cached_tokens": 0
94 },
95 "output_tokens": 116,
96 "output_tokens_details": {
97 "reasoning_tokens": 64
98 },
99 "total_tokens": 135
100 },
101 "user": null,
102 "metadata": {}
103 }
104 headers:
105 Content-Type:
106 - application/json
107 status: 200 OK
108 code: 200
109 duration: 2.786829208s