---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 578
    host: ""
    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"}},"stream":true}'
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - Charm-Fantasy/0.12.2 (https://charm.land/fantasy)
    url: https://api.openai.com/v1/responses
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      event: response.created
      data: {"type":"response.created","response":{"id":"resp_00e5598d16a351e30169b319a3a0bc8197874d8782f3f32ed7","object":"response","created_at":1773345187,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-5-2025-08-07","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":"medium","summary":null},"safety_identifier":null,"service_tier":"auto","store":false,"temperature":1.0,"text":{"format":{"type":"json_schema","description":null,"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"},"strict":true},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":0}

      event: response.in_progress
      data: {"type":"response.in_progress","response":{"id":"resp_00e5598d16a351e30169b319a3a0bc8197874d8782f3f32ed7","object":"response","created_at":1773345187,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-5-2025-08-07","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":"medium","summary":null},"safety_identifier":null,"service_tier":"auto","store":false,"temperature":1.0,"text":{"format":{"type":"json_schema","description":null,"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"},"strict":true},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":1}

      event: response.output_item.added
      data: {"type":"response.output_item.added","item":{"id":"rs_00e5598d16a351e30169b319a411c08197b734b9940390d5b8","type":"reasoning","summary":[]},"output_index":0,"sequence_number":2}

      event: response.output_item.done
      data: {"type":"response.output_item.done","item":{"id":"rs_00e5598d16a351e30169b319a411c08197b734b9940390d5b8","type":"reasoning","summary":[]},"output_index":0,"sequence_number":3}

      event: response.output_item.added
      data: {"type":"response.output_item.added","item":{"id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","type":"message","status":"in_progress","content":[],"role":"assistant"},"output_index":1,"sequence_number":4}

      event: response.content_part.added
      data: {"type":"response.content_part.added","content_index":0,"item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","output_index":1,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":""},"sequence_number":5}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"{\"","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"vEVJQtLyJQau6r","output_index":1,"sequence_number":6}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"age","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"PlxabgUtRX0oD","output_index":1,"sequence_number":7}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\":","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"kjUHAdo15xMzTO","output_index":1,"sequence_number":8}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"30","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"arKEK1Tzej1nyV","output_index":1,"sequence_number":9}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":",\"","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"JKOwcqXINty5OM","output_index":1,"sequence_number":10}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"city","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"8Yjx92xWQ9Cl","output_index":1,"sequence_number":11}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\":\"","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"6fQO4TyQWCxOb","output_index":1,"sequence_number":12}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"Paris","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"5Wb7hVOg9SW","output_index":1,"sequence_number":13}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\",\"","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"o7M2FKbuiBjLg","output_index":1,"sequence_number":14}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"name","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"JmOX040u5qHj","output_index":1,"sequence_number":15}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\":\"","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"rRTqASIxxsEDE","output_index":1,"sequence_number":16}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"Alice","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"hZYg4mpvpdI","output_index":1,"sequence_number":17}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\"}","item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"obfuscation":"msL6XoEeQHczST","output_index":1,"sequence_number":18}

      event: response.output_text.done
      data: {"type":"response.output_text.done","content_index":0,"item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","logprobs":[],"output_index":1,"sequence_number":19,"text":"{\"age\":30,\"city\":\"Paris\",\"name\":\"Alice\"}"}

      event: response.content_part.done
      data: {"type":"response.content_part.done","content_index":0,"item_id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","output_index":1,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":"{\"age\":30,\"city\":\"Paris\",\"name\":\"Alice\"}"},"sequence_number":20}

      event: response.output_item.done
      data: {"type":"response.output_item.done","item":{"id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"{\"age\":30,\"city\":\"Paris\",\"name\":\"Alice\"}"}],"role":"assistant"},"output_index":1,"sequence_number":21}

      event: response.completed
      data: {"type":"response.completed","response":{"id":"resp_00e5598d16a351e30169b319a3a0bc8197874d8782f3f32ed7","object":"response","created_at":1773345187,"status":"completed","background":false,"completed_at":1773345194,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":4000,"max_tool_calls":null,"model":"gpt-5-2025-08-07","output":[{"id":"rs_00e5598d16a351e30169b319a411c08197b734b9940390d5b8","type":"reasoning","summary":[]},{"id":"msg_00e5598d16a351e30169b319aa536481979273eaee69058d63","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"{\"age\":30,\"city\":\"Paris\",\"name\":\"Alice\"}"}],"role":"assistant"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":null,"reasoning":{"effort":"medium","summary":null},"safety_identifier":null,"service_tier":"default","store":false,"temperature":1.0,"text":{"format":{"type":"json_schema","description":null,"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"},"strict":true},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":80,"input_tokens_details":{"cached_tokens":0},"output_tokens":314,"output_tokens_details":{"reasoning_tokens":256},"total_tokens":394},"user":null,"metadata":{}},"sequence_number":22}

    headers:
      Content-Type:
      - text/event-stream; charset=utf-8
    status: 200 OK
    code: 200
    duration: 296.034458ms
