interactions:
- request:
    body: '{"input":[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"Who
      won the world series in 2020?"},{"role":"assistant","content":"The Los Angeles
      Dodgers won the World Series in 2020."},{"role":"user","content":"Where was
      it played?"}],"model":"gpt-4.1","tools":[{"type":"web_search_preview"}]}'
    headers:
      accept:
      - application/json
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '326'
      content-type:
      - application/json
      host:
      - api.openai.com
      user-agent:
      - OpenAI/Python 1.76.2
      x-stainless-arch:
      - arm64
      x-stainless-async:
      - 'false'
      x-stainless-lang:
      - python
      x-stainless-os:
      - MacOS
      x-stainless-package-version:
      - 1.76.2
      x-stainless-read-timeout:
      - '600'
      x-stainless-retry-count:
      - '0'
      x-stainless-runtime:
      - CPython
      x-stainless-runtime-version:
      - 3.12.10
    method: POST
    uri: https://api.openai.com/v1/responses
  response:
    content: "{\n  \"id\": \"resp_681e3471ea308191a929653c389c7f950bfa0984efc6f706\",\n
      \ \"object\": \"response\",\n  \"created_at\": 1746809969,\n  \"status\": \"completed\",\n
      \ \"error\": null,\n  \"incomplete_details\": null,\n  \"instructions\": null,\n
      \ \"max_output_tokens\": null,\n  \"model\": \"gpt-4.1-2025-04-14\",\n  \"output\":
      [\n    {\n      \"id\": \"msg_681e347272308191980d9483ef4957850bfa0984efc6f706\",\n
      \     \"type\": \"message\",\n      \"status\": \"completed\",\n      \"content\":
      [\n        {\n          \"type\": \"output_text\",\n          \"annotations\":
      [],\n          \"text\": \"The 2020 World Series was played at **Globe Life
      Field** in Arlington, Texas. This was the first time the entire World Series
      was held at a neutral site, due to the COVID-19 pandemic.\"\n        }\n      ],\n
      \     \"role\": \"assistant\"\n    }\n  ],\n  \"parallel_tool_calls\": true,\n
      \ \"previous_response_id\": null,\n  \"reasoning\": {\n    \"effort\": null,\n
      \   \"summary\": null\n  },\n  \"service_tier\": \"default\",\n  \"store\":
      false,\n  \"temperature\": 1.0,\n  \"text\": {\n    \"format\": {\n      \"type\":
      \"text\"\n    }\n  },\n  \"tool_choice\": \"auto\",\n  \"tools\": [\n    {\n
      \     \"type\": \"web_search_preview\",\n      \"search_context_size\": \"medium\",\n
      \     \"user_location\": {\n        \"type\": \"approximate\",\n        \"city\":
      null,\n        \"country\": \"US\",\n        \"region\": null,\n        \"timezone\":
      null\n      }\n    }\n  ],\n  \"top_p\": 1.0,\n  \"truncation\": \"disabled\",\n
      \ \"usage\": {\n    \"input_tokens\": 347,\n    \"input_tokens_details\": {\n
      \     \"cached_tokens\": 0\n    },\n    \"output_tokens\": 46,\n    \"output_tokens_details\":
      {\n      \"reasoning_tokens\": 0\n    },\n    \"total_tokens\": 393\n  },\n
      \ \"user\": null,\n  \"metadata\": {}\n}"
    headers:
      CF-RAY:
      - 93d2bf646f66c99b-IAD
      Connection:
      - keep-alive
      Content-Encoding:
      - gzip
      Content-Type:
      - application/json
      Date:
      - Fri, 09 May 2025 16:59:32 GMT
      Server:
      - cloudflare
      Set-Cookie:
      - __cf_bm=j0FvTCo4cccEEuNvNNxu7vSz3awWgMaFbwimfUGu2_4-1746809972-1.0.1.1-1LKl_TWyM7b6HCu_ZKkljjfi6R_9oAxKxukzmF_T5A5uv2SFpywmMPT5S.8VKhEgmUo0Wo7G2SglYYjbBE6rDdrjlgv9uszKaACsrlmGaPI;
        path=/; expires=Fri, 09-May-25 17:29:32 GMT; domain=.api.openai.com; HttpOnly;
        Secure; SameSite=None
      - _cfuvid=XJMwB81RiUlY90S5XSl0zb9e9VRS.5Qe8noXNKxSSg8-1746809972017-0.0.1.1-604800000;
        path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
      Transfer-Encoding:
      - chunked
      X-Content-Type-Options:
      - nosniff
      alt-svc:
      - h3=":443"; ma=86400
      cf-cache-status:
      - DYNAMIC
      openai-organization:
      - datadog-staging
      openai-processing-ms:
      - '2094'
      openai-version:
      - '2020-10-01'
      strict-transport-security:
      - max-age=31536000; includeSubDomains; preload
      x-ratelimit-limit-requests:
      - '10000'
      x-ratelimit-limit-tokens:
      - '30000000'
      x-ratelimit-remaining-requests:
      - '9999'
      x-ratelimit-remaining-tokens:
      - '29999634'
      x-ratelimit-reset-requests:
      - 6ms
      x-ratelimit-reset-tokens:
      - 0s
      x-request-id:
      - req_deb3a667de09709a7506ae4181382c4a
    http_version: HTTP/1.1
    status_code: 200
version: 1
