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: 566
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":"o4-mini","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 - 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_0b8e7fbe916f887a0169b319c0e72081959f3678e0d01d94c6",
30 "object": "response",
31 "created_at": 1773345216,
32 "status": "completed",
33 "background": false,
34 "billing": {
35 "payer": "developer"
36 },
37 "completed_at": 1773345219,
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": "o4-mini-2025-04-16",
45 "output": [
46 {
47 "id": "rs_0b8e7fbe916f887a0169b319c154c48195909e62b0bcf16793",
48 "type": "reasoning",
49 "summary": []
50 },
51 {
52 "id": "msg_0b8e7fbe916f887a0169b319c318ec819599c017171a4ac949",
53 "type": "message",
54 "status": "completed",
55 "content": [
56 {
57 "type": "output_text",
58 "annotations": [],
59 "logprobs": [],
60 "text": "{\"age\":30,\"city\":\"Paris\",\"name\":\"Alice\"}"
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": "json_schema",
82 "description": null,
83 "name": "Person",
84 "schema": {
85 "additionalProperties": false,
86 "properties": {
87 "age": {
88 "description": "The person's age",
89 "type": "integer"
90 },
91 "city": {
92 "description": "The city where the person lives",
93 "type": "string"
94 },
95 "name": {
96 "description": "The person's name",
97 "type": "string"
98 }
99 },
100 "required": [
101 "name",
102 "age",
103 "city"
104 ],
105 "type": "object"
106 },
107 "strict": true
108 },
109 "verbosity": "medium"
110 },
111 "tool_choice": "auto",
112 "tools": [],
113 "top_logprobs": 0,
114 "top_p": 1.0,
115 "truncation": "disabled",
116 "usage": {
117 "input_tokens": 80,
118 "input_tokens_details": {
119 "cached_tokens": 0
120 },
121 "output_tokens": 239,
122 "output_tokens_details": {
123 "reasoning_tokens": 192
124 },
125 "total_tokens": 319
126 },
127 "user": null,
128 "metadata": {}
129 }
130 headers:
131 Content-Type:
132 - application/json
133 status: 200 OK
134 code: 200
135 duration: 2.714006208s