---
version: 2
interactions:
- id: 0
  request:
    proto: HTTP/1.1
    proto_major: 1
    proto_minor: 1
    content_length: 1027
    host: ""
    body: '{"messages":[{"content":"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).","role":"user"}],"model":"gpt-5","max_completion_tokens":4000,"stream_options":{"include_usage":true},"response_format":{"json_schema":{"name":"Book","strict":true,"description":"A book with title, author, genres, and publication year","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/chat/completions
    method: POST
  response:
    proto: HTTP/2.0
    proto_major: 2
    proto_minor: 0
    content_length: -1
    body: |+
      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"role":"assistant","content":"","refusal":null},"finish_reason":null}],"usage":null,"obfuscation":"jtZzStUrJQ"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"{\""},"finish_reason":null}],"usage":null,"obfuscation":"pkv3TISjd"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"author"},"finish_reason":null}],"usage":null,"obfuscation":"yI7Zgt"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":{\""},"finish_reason":null}],"usage":null,"obfuscation":"h7jkrY"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"name"},"finish_reason":null}],"usage":null,"obfuscation":"YM3hV81L"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":\""},"finish_reason":null}],"usage":null,"obfuscation":"cIUl3vm"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"J"},"finish_reason":null}],"usage":null,"obfuscation":"B7zAieqCa0H"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"finish_reason":null}],"usage":null,"obfuscation":"t7ArwJZzVhF"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" R"},"finish_reason":null}],"usage":null,"obfuscation":"QosJSoBWig"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"finish_reason":null}],"usage":null,"obfuscation":"CnGeuKKIu0a"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" R"},"finish_reason":null}],"usage":null,"obfuscation":"blQnlX0tKm"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"."},"finish_reason":null}],"usage":null,"obfuscation":"CktihyaAa5t"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Tolkien"},"finish_reason":null}],"usage":null,"obfuscation":"iV6K"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\",\""},"finish_reason":null}],"usage":null,"obfuscation":"2JLNFjz"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"national"},"finish_reason":null}],"usage":null,"obfuscation":"ktML"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"ity"},"finish_reason":null}],"usage":null,"obfuscation":"QafW1HUxI"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":\""},"finish_reason":null}],"usage":null,"obfuscation":"7g32GME"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"British"},"finish_reason":null}],"usage":null,"obfuscation":"YN1t8"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\"}"},"finish_reason":null}],"usage":null,"obfuscation":"H7Y9zkTsY"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":",\""},"finish_reason":null}],"usage":null,"obfuscation":"bR54nPU59"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"genres"},"finish_reason":null}],"usage":null,"obfuscation":"5DOyxp"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":[\""},"finish_reason":null}],"usage":null,"obfuscation":"44oyQx"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Fantasy"},"finish_reason":null}],"usage":null,"obfuscation":"uW58w"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\",\""},"finish_reason":null}],"usage":null,"obfuscation":"3yaXqNY"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"Adventure"},"finish_reason":null}],"usage":null,"obfuscation":"YvO"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\"],"},"finish_reason":null}],"usage":null,"obfuscation":"czgi4JCE"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\""},"finish_reason":null}],"usage":null,"obfuscation":"ft3wPBCT5F"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"published"},"finish_reason":null}],"usage":null,"obfuscation":"u73"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"_year"},"finish_reason":null}],"usage":null,"obfuscation":"P4mw8m4"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":"},"finish_reason":null}],"usage":null,"obfuscation":"aXKcGHdGb"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"195"},"finish_reason":null}],"usage":null,"obfuscation":"ab16Bv1wO"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"4"},"finish_reason":null}],"usage":null,"obfuscation":"34LDzpsW1d2"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":",\""},"finish_reason":null}],"usage":null,"obfuscation":"X4VUJSp2h"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"title"},"finish_reason":null}],"usage":null,"obfuscation":"vjzEjDX"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\":\""},"finish_reason":null}],"usage":null,"obfuscation":"eWBgr9m"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"The"},"finish_reason":null}],"usage":null,"obfuscation":"OpQ1PFbcM"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Lord"},"finish_reason":null}],"usage":null,"obfuscation":"jWGq4QI"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" of"},"finish_reason":null}],"usage":null,"obfuscation":"MyAVo1FJp"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" the"},"finish_reason":null}],"usage":null,"obfuscation":"rgqfF81t"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":" Rings"},"finish_reason":null}],"usage":null,"obfuscation":"124SQ6"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{"content":"\"}"},"finish_reason":null}],"usage":null,"obfuscation":"ArLindDOg"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[{"index":0,"delta":{},"finish_reason":"stop"}],"usage":null,"obfuscation":"3fBo5e"}

      data: {"id":"chatcmpl-DIgT8uutnE74Hkbz58UQlsTBXbznJ","object":"chat.completion.chunk","created":1773345526,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":156,"completion_tokens":820,"total_tokens":976,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":768,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"QnyalC"}

      data: [DONE]

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