---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 923
    host: ""
    body: '{"max_output_tokens":4000,"store":false,"input":[{"content":[{"text":"Generate information about ''The Lord of the Rings'' book by J.R.R. Tolkien, including genres like fantasy and adventure, and its publication year (1954).","type":"input_text"}],"role":"user"}],"model":"gpt-5","text":{"format":{"name":"Book","schema":{"additionalProperties":false,"properties":{"author":{"additionalProperties":false,"properties":{"name":{"description":"Author''s name","type":"string"},"nationality":{"description":"Author''s nationality","type":"string"}},"required":["name","nationality"],"type":"object"},"genres":{"description":"List of genres","items":{"type":"string"},"type":"array"},"published_year":{"description":"Year the book was published","type":"integer"},"title":{"description":"The book title","type":"string"}},"required":["title","author","genres","published_year"],"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_00db60b68c4972bf0169b319b78f0481a2a15be9e54af5f589","object":"response","created_at":1773345207,"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":"Book","schema":{"additionalProperties":false,"properties":{"author":{"additionalProperties":false,"properties":{"name":{"description":"Author's name","type":"string"},"nationality":{"description":"Author's nationality","type":"string"}},"required":["name","nationality"],"type":"object"},"genres":{"description":"List of genres","items":{"type":"string"},"type":"array"},"published_year":{"description":"Year the book was published","type":"integer"},"title":{"description":"The book title","type":"string"}},"required":["title","author","genres","published_year"],"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_00db60b68c4972bf0169b319b78f0481a2a15be9e54af5f589","object":"response","created_at":1773345207,"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":"Book","schema":{"additionalProperties":false,"properties":{"author":{"additionalProperties":false,"properties":{"name":{"description":"Author's name","type":"string"},"nationality":{"description":"Author's nationality","type":"string"}},"required":["name","nationality"],"type":"object"},"genres":{"description":"List of genres","items":{"type":"string"},"type":"array"},"published_year":{"description":"Year the book was published","type":"integer"},"title":{"description":"The book title","type":"string"}},"required":["title","author","genres","published_year"],"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_00db60b68c4972bf0169b319b7fa0481a2a86eba479d45cd2c","type":"reasoning","summary":[]},"output_index":0,"sequence_number":2}

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

      event: response.output_item.added
      data: {"type":"response.output_item.added","item":{"id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","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_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","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_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"PyN7MG3XPdmbsf","output_index":1,"sequence_number":6}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"author","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"LMQvyLCNhj","output_index":1,"sequence_number":7}

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

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"name","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"ci6uWr5Ra2P4","output_index":1,"sequence_number":9}

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

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"J","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"7V2gO9gSnGvfPZ2","output_index":1,"sequence_number":11}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":".R","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"dVTposfiYbyivC","output_index":1,"sequence_number":12}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":".R","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"ulzKtSW2aABQmf","output_index":1,"sequence_number":13}

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

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" Tolkien","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"dhCuLRYV","output_index":1,"sequence_number":15}

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

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"national","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"nnWExxIv","output_index":1,"sequence_number":17}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"ity","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"8pdcTtMtVavzd","output_index":1,"sequence_number":18}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\":\"","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"ZJ0vafrYpikPR","output_index":1,"sequence_number":19}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"British","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"WDMWKiW5H","output_index":1,"sequence_number":20}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\"}","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"skIAQ1fcq1MAgy","output_index":1,"sequence_number":21}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":",\"","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"R28agKoV4z1Kfv","output_index":1,"sequence_number":22}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"genres","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"AhlQ3mcN2t","output_index":1,"sequence_number":23}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\":[\"","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"PwPaSwMM8e4C","output_index":1,"sequence_number":24}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"Fantasy","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"MHY5jUGap","output_index":1,"sequence_number":25}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\",\"","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"zYWKP38vrBZEp","output_index":1,"sequence_number":26}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"Adventure","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"Prq4j47","output_index":1,"sequence_number":27}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\",\"","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"r0lUBqwYNCUpM","output_index":1,"sequence_number":28}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"High","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"bOjsfT1zPYzm","output_index":1,"sequence_number":29}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" fantasy","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"OUmvBrxk","output_index":1,"sequence_number":30}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\",\"","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"x4JuREg52bYZS","output_index":1,"sequence_number":31}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"Epic","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"iWr8VD4uBJJx","output_index":1,"sequence_number":32}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\"],","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"dwOQ9waLvIUWK","output_index":1,"sequence_number":33}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\"","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"OGOFh3SlbIeCXYt","output_index":1,"sequence_number":34}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"published","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"1Z8Dr5i","output_index":1,"sequence_number":35}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"_year","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"Iyx0OKISxOf","output_index":1,"sequence_number":36}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\":","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"lc4qAYjeFHjAN3","output_index":1,"sequence_number":37}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"195","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"f2GhQzAVM0gET","output_index":1,"sequence_number":38}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"4","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"kL2PFFjC7xXvr2u","output_index":1,"sequence_number":39}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":",\"","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"CEfJeFl48P9AQT","output_index":1,"sequence_number":40}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"title","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"4X3jDhBPUUw","output_index":1,"sequence_number":41}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\":\"","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"zlqmIyMc9eNoM","output_index":1,"sequence_number":42}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"The","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"trA02qrZTpzNl","output_index":1,"sequence_number":43}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" Lord","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"yLl9PT6dvoI","output_index":1,"sequence_number":44}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" of","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"m27GQ6tCtQOCv","output_index":1,"sequence_number":45}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" the","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"arcchXKF3nsl","output_index":1,"sequence_number":46}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":" Rings","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"MI8ea8JzZ2","output_index":1,"sequence_number":47}

      event: response.output_text.delta
      data: {"type":"response.output_text.delta","content_index":0,"delta":"\"}","item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"obfuscation":"K3WuddjL95DQC5","output_index":1,"sequence_number":48}

      event: response.output_text.done
      data: {"type":"response.output_text.done","content_index":0,"item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","logprobs":[],"output_index":1,"sequence_number":49,"text":"{\"author\":{\"name\":\"J.R.R. Tolkien\",\"nationality\":\"British\"},\"genres\":[\"Fantasy\",\"Adventure\",\"High fantasy\",\"Epic\"],\"published_year\":1954,\"title\":\"The Lord of the Rings\"}"}

      event: response.content_part.done
      data: {"type":"response.content_part.done","content_index":0,"item_id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","output_index":1,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":"{\"author\":{\"name\":\"J.R.R. Tolkien\",\"nationality\":\"British\"},\"genres\":[\"Fantasy\",\"Adventure\",\"High fantasy\",\"Epic\"],\"published_year\":1954,\"title\":\"The Lord of the Rings\"}"},"sequence_number":50}

      event: response.output_item.done
      data: {"type":"response.output_item.done","item":{"id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"{\"author\":{\"name\":\"J.R.R. Tolkien\",\"nationality\":\"British\"},\"genres\":[\"Fantasy\",\"Adventure\",\"High fantasy\",\"Epic\"],\"published_year\":1954,\"title\":\"The Lord of the Rings\"}"}],"role":"assistant"},"output_index":1,"sequence_number":51}

      event: response.completed
      data: {"type":"response.completed","response":{"id":"resp_00db60b68c4972bf0169b319b78f0481a2a15be9e54af5f589","object":"response","created_at":1773345207,"status":"completed","background":false,"completed_at":1773345216,"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_00db60b68c4972bf0169b319b7fa0481a2a86eba479d45cd2c","type":"reasoning","summary":[]},{"id":"msg_00db60b68c4972bf0169b319c0130881a2bc4ac835da33e396","type":"message","status":"completed","content":[{"type":"output_text","annotations":[],"logprobs":[],"text":"{\"author\":{\"name\":\"J.R.R. Tolkien\",\"nationality\":\"British\"},\"genres\":[\"Fantasy\",\"Adventure\",\"High fantasy\",\"Epic\"],\"published_year\":1954,\"title\":\"The Lord of the Rings\"}"}],"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":"Book","schema":{"additionalProperties":false,"properties":{"author":{"additionalProperties":false,"properties":{"name":{"description":"Author's name","type":"string"},"nationality":{"description":"Author's nationality","type":"string"}},"required":["name","nationality"],"type":"object"},"genres":{"description":"List of genres","items":{"type":"string"},"type":"array"},"published_year":{"description":"Year the book was published","type":"integer"},"title":{"description":"The book title","type":"string"}},"required":["title","author","genres","published_year"],"type":"object"},"strict":true},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":138,"input_tokens_details":{"cached_tokens":0},"output_tokens":444,"output_tokens_details":{"reasoning_tokens":384},"total_tokens":582},"user":null,"metadata":{}},"sequence_number":52}

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