---
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:
      - OpenAI/Go 2.7.1
    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-CZkhj5CiURkaRRWO5hSOaz31x2Gfh","object":"chat.completion.chunk","created":1762637047,"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":"krULCx6FpP"}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      data: {"id":"chatcmpl-CZkhj5CiURkaRRWO5hSOaz31x2Gfh","object":"chat.completion.chunk","created":1762637047,"model":"gpt-5-2025-08-07","service_tier":"default","system_fingerprint":null,"choices":[],"usage":{"prompt_tokens":156,"completion_tokens":695,"total_tokens":851,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":640,"audio_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"obfuscation":"CpyYGx"}

      data: [DONE]

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