interactions:
- request:
    body: '{"input":[{"content":"What is the capital of France?","role":"user"}],"model":"gpt-4o","include":[],"instructions":"You
      are a helpful assistant who answers questions concisely and accurately.","stream":true,"tools":[]}'
    headers:
      accept:
      - application/json
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '218'
      content-type:
      - application/json
      host:
      - api.openai.com
      user-agent:
      - Agents/Python 0.0.0
      x-stainless-arch:
      - arm64
      x-stainless-async:
      - async:asyncio
      x-stainless-lang:
      - python
      x-stainless-os:
      - MacOS
      x-stainless-package-version:
      - 1.66.5
      x-stainless-read-timeout:
      - '600'
      x-stainless-retry-count:
      - '0'
      x-stainless-runtime:
      - CPython
      x-stainless-runtime-version:
      - 3.10.13
    method: POST
    uri: https://api.openai.com/v1/responses
  response:
    body:
      string: 'event: response.created

        data: {"type":"response.created","response":{"id":"resp_67e1642e83b481919be68dac076aa4ed02d0aa1feb13fbfe","object":"response","created_at":1742824494,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You
        are a helpful assistant who answers questions concisely and accurately.","max_output_tokens":null,"model":"gpt-4o-2024-08-06","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"generate_summary":null},"store":false,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}


        event: response.in_progress

        data: {"type":"response.in_progress","response":{"id":"resp_67e1642e83b481919be68dac076aa4ed02d0aa1feb13fbfe","object":"response","created_at":1742824494,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You
        are a helpful assistant who answers questions concisely and accurately.","max_output_tokens":null,"model":"gpt-4o-2024-08-06","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"generate_summary":null},"store":false,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}


        event: response.output_item.added

        data: {"type":"response.output_item.added","output_index":0,"item":{"type":"message","id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","status":"in_progress","role":"assistant","content":[]}}


        event: response.content_part.added

        data: {"type":"response.content_part.added","item_id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","output_index":0,"content_index":0,"part":{"type":"output_text","text":"","annotations":[]}}


        event: response.output_text.delta

        data: {"type":"response.output_text.delta","item_id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","output_index":0,"content_index":0,"delta":"The"}


        event: response.output_text.delta

        data: {"type":"response.output_text.delta","item_id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","output_index":0,"content_index":0,"delta":"
        capital"}


        event: response.output_text.delta

        data: {"type":"response.output_text.delta","item_id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","output_index":0,"content_index":0,"delta":"
        of"}


        event: response.output_text.delta

        data: {"type":"response.output_text.delta","item_id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","output_index":0,"content_index":0,"delta":"
        France"}


        event: response.output_text.delta

        data: {"type":"response.output_text.delta","item_id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","output_index":0,"content_index":0,"delta":"
        is"}


        event: response.output_text.delta

        data: {"type":"response.output_text.delta","item_id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","output_index":0,"content_index":0,"delta":"
        Paris"}


        event: response.output_text.delta

        data: {"type":"response.output_text.delta","item_id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","output_index":0,"content_index":0,"delta":"."}


        event: response.output_text.done

        data: {"type":"response.output_text.done","item_id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","output_index":0,"content_index":0,"text":"The
        capital of France is Paris."}


        event: response.content_part.done

        data: {"type":"response.content_part.done","item_id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","output_index":0,"content_index":0,"part":{"type":"output_text","text":"The
        capital of France is Paris.","annotations":[]}}


        event: response.output_item.done

        data: {"type":"response.output_item.done","output_index":0,"item":{"type":"message","id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The
        capital of France is Paris.","annotations":[]}]}}


        event: response.completed

        data: {"type":"response.completed","response":{"id":"resp_67e1642e83b481919be68dac076aa4ed02d0aa1feb13fbfe","object":"response","created_at":1742824494,"status":"completed","error":null,"incomplete_details":null,"instructions":"You
        are a helpful assistant who answers questions concisely and accurately.","max_output_tokens":null,"model":"gpt-4o-2024-08-06","output":[{"type":"message","id":"msg_67e1642f00c481919045abc0c444972002d0aa1feb13fbfe","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The
        capital of France is Paris.","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"generate_summary":null},"store":false,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":50,"input_tokens_details":{"cached_tokens":0},"output_tokens":8,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":58},"user":null,"metadata":{}}}


        '
    headers:
      CF-RAY:
      - 9256a9c148e18e3e-EWR
      Connection:
      - keep-alive
      Content-Type:
      - text/event-stream; charset=utf-8
      Date:
      - Mon, 24 Mar 2025 13:54:54 GMT
      Server:
      - cloudflare
      Set-Cookie:
      - __cf_bm=WlFPgiTWkt9sRr2R9..ugCo1OCPZdzuO_FJIgi9HUzQ-1742824494-1.0.1.1-Kaer3IaemiEPcI0fnaE9oF59Q_jMrMilL2hHHjGORoOh577OtrEIail6OvxCEhK1noUU6ce.kCGsxjDbY3jUiG6dIqqqc7JK6pjJG4YtKps;
        path=/; expires=Mon, 24-Mar-25 14:24:54 GMT; domain=.api.openai.com; HttpOnly;
        Secure; SameSite=None
      - _cfuvid=MNMwZvy3K4wNnPxElv0dTRYOEni9bXOnzKsfGp2Nx6U-1742824494594-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:
      - '89'
      openai-version:
      - '2020-10-01'
      strict-transport-security:
      - max-age=31536000; includeSubDomains; preload
      x-request-id:
      - req_3c2c75e4a88890e2f6f57b23d1f72739
    status:
      code: 200
      message: OK
version: 1
