when:
  path: /v1/responses
  method: POST
  query_param: []
  header:
  - name: accept
    value: '*/*'
  - name: content-type
    value: application/json
  body: '{"include":["reasoning.encrypted_content"],"input":[{"content":[{"text":"You are a helpful math tutor. Be concise.","type":"input_text"}],"role":"system","type":"message"},{"content":[{"text":"A train leaves Station A at 60 km/h. Another train leaves Station B (300 km away) 30 minutes later at 90 km/h heading toward Station A. At what time do they meet, and how far from Station A? Show your work.","type":"input_text"}],"role":"user","type":"message"}],"model":"gpt-5.2","reasoning":{"effort":"medium"}}'
then:
  status: 200
  header:
  - name: content-type
    value: application/json
  body: '{"background":false,"billing":{"payer":"developer"},"completed_at":0,"created_at":0,"error":null,"frequency_penalty":0.0,"id":"resp_REDACTED_1","incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"metadata":{},"model":"gpt-5.2-2025-12-11","moderation":null,"object":"response","output":[{"encrypted_content":"encrypted_content_REDACTED_1","id":"rs_REDACTED_1","summary":[],"type":"reasoning"},{"content":[{"annotations":[],"logprobs":[],"text":"Let \\(t\\) = time in hours **after the train leaves Station A** until they meet.\n\n- Train from A travels at \\(60\\) km/h for \\(t\\) hours:\n\\[\nd_A = 60t\n\\]\n- Train from B leaves \\(0.5\\) hour later, so it travels for \\((t-0.5)\\) hours at \\(90\\) km/h:\n\\[\nd_B = 90(t-0.5)\n\\]\n\nThey meet when the total distance adds to 300 km:\n\\[\n60t + 90(t-0.5) = 300\n\\]\n\\[\n60t + 90t - 45 = 300\n\\]\n\\[\n150t = 345\n\\]\n\\[\nt = \\frac{345}{150} = 2.3\\text{ hours}\n\\]\n\nConvert \\(2.3\\) hours:\n\\[\n0.3\\text{ hr} = 0.3 \\times 60 = 18\\text{ minutes}\n\\]\nSo they meet **2 hours 18 minutes after** the train leaves Station A.\n\nDistance from Station A:\n\\[\nd_A = 60t = 60(2.3) = 138\\text{ km}\n\\]\n\n**Answer:** They meet **2 hr 18 min after the first train leaves Station A**, at a point **138 km from Station A** (toward B).","type":"output_text"}],"id":"msg_REDACTED_1","role":"assistant","status":"completed","type":"message"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"effort":"medium","summary":null},"safety_identifier":null,"service_tier":"default","status":"completed","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":0.98,"truncation":"disabled","usage":{"input_tokens":73,"input_tokens_details":{"cached_tokens":0},"output_tokens":451,"output_tokens_details":{"reasoning_tokens":142},"total_tokens":524},"user":null}'
---
when:
  path: /v1/responses
  method: POST
  query_param: []
  header:
  - name: accept
    value: '*/*'
  - name: content-type
    value: application/json
  body: '{"include":["reasoning.encrypted_content"],"input":[{"content":[{"text":"You are a helpful math tutor. Be concise.","type":"input_text"}],"role":"system","type":"message"},{"content":[{"text":"A train leaves Station A at 60 km/h. Another train leaves Station B (300 km away) 30 minutes later at 90 km/h heading toward Station A. At what time do they meet, and how far from Station A? Show your work.","type":"input_text"}],"role":"user","type":"message"},{"encrypted_content":"encrypted_content_REDACTED_1","id":"rs_REDACTED_1","summary":[],"type":"reasoning"},{"content":[{"text":"Let \\(t\\) = time in hours **after the train leaves Station A** until they meet.\n\n- Train from A travels at \\(60\\) km/h for \\(t\\) hours:\n\\[\nd_A = 60t\n\\]\n- Train from B leaves \\(0.5\\) hour later, so it travels for \\((t-0.5)\\) hours at \\(90\\) km/h:\n\\[\nd_B = 90(t-0.5)\n\\]\n\nThey meet when the total distance adds to 300 km:\n\\[\n60t + 90(t-0.5) = 300\n\\]\n\\[\n60t + 90t - 45 = 300\n\\]\n\\[\n150t = 345\n\\]\n\\[\nt = \\frac{345}{150} = 2.3\\text{ hours}\n\\]\n\nConvert \\(2.3\\) hours:\n\\[\n0.3\\text{ hr} = 0.3 \\times 60 = 18\\text{ minutes}\n\\]\nSo they meet **2 hours 18 minutes after** the train leaves Station A.\n\nDistance from Station A:\n\\[\nd_A = 60t = 60(2.3) = 138\\text{ km}\n\\]\n\n**Answer:** They meet **2 hr 18 min after the first train leaves Station A**, at a point **138 km from Station A** (toward B).","type":"output_text"}],"id":"msg_REDACTED_1","role":"assistant","status":"completed","type":"message"},{"content":[{"text":"Now suppose both trains slow down by 10 km/h after traveling half the original distance. When do they meet now?","type":"input_text"}],"role":"user","type":"message"}],"model":"gpt-5.2","reasoning":{"effort":"medium"}}'
then:
  status: 200
  header:
  - name: content-type
    value: application/json
  body: '{"background":false,"billing":{"payer":"developer"},"completed_at":0,"created_at":0,"error":null,"frequency_penalty":0.0,"id":"resp_REDACTED_2","incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"metadata":{},"model":"gpt-5.2-2025-12-11","moderation":null,"object":"response","output":[{"encrypted_content":"encrypted_content_REDACTED_2","id":"rs_REDACTED_2","summary":[],"type":"reasoning"},{"content":[{"annotations":[],"logprobs":[],"text":"Let \\(t\\) = hours after the train leaves Station A.\n\n**Speed changes:**\n- Train A: \\(60\\) km/h until it has gone \\(150\\) km, then \\(50\\) km/h.\n  \\[\n  \\text{Time for A to reach 150 km}=\\frac{150}{60}=2.5\\text{ h}\n  \\]\n- Train B (starts at \\(t=0.5\\)): \\(90\\) km/h until it has gone \\(150\\) km, then \\(80\\) km/h.\n  \\[\n  \\text{Time after B starts to reach 150 km}=\\frac{150}{90}=\\frac{5}{3}=1.\\overline{6}\\text{ h}\n  \\]\n  So B slows down at\n  \\[\n  t = 0.5+\\frac{5}{3}=\\frac{13}{6}=2.166\\overline{6}\\text{ h}\n  \\]\n\n### Step 1: How far apart are they when B slows?\nAt \\(t=\\frac{13}{6}\\):\n- A has traveled (still at 60 km/h since \\(2.166\\overline{6}<2.5\\)):\n  \\[\n  d_A = 60\\cdot\\frac{13}{6}=130\\text{ km}\n  \\]\n- B has traveled \\(150\\) km.\n\nTotal covered toward each other: \\(130+150=280\\) km, so remaining distance:\n\\[\n300-280=20\\text{ km}\n\\]\n\n### Step 2: Close the remaining 20 km with new speeds\nAfter \\(t=\\frac{13}{6}\\):\n- A is still at \\(60\\) km/h (has not reached 150 km yet),\n- B is now at \\(80\\) km/h.\n\nClosing speed:\n\\[\n60+80=140\\text{ km/h}\n\\]\nTime to close 20 km:\n\\[\n\\Delta t=\\frac{20}{140}=\\frac{1}{7}=0.142857\\text{ h}\n\\]\n\n### Meeting time\n\\[\nt=\\frac{13}{6}+\\frac{1}{7}=\\frac{97}{42}=2.309523\\text{ h}\n\\]\nConvert to hours/minutes/seconds:\n- \\(2.309523\\text{ h} = 2\\text{ h} + 0.309523\\text{ h}\\)\n- \\(0.309523\\cdot 60 = 18.5714\\text{ min}\\)\n- \\(0.5714\\cdot 60 \\approx 34.3\\text{ s}\\)\n\n**They meet \\(\\boxed{2\\text{ h }18\\text{ min }34\\text{ s}}\\) after the train leaves Station A.**","type":"output_text"}],"id":"msg_REDACTED_2","role":"assistant","status":"completed","type":"message"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"effort":"medium","summary":null},"safety_identifier":null,"service_tier":"default","status":"completed","store":true,"temperature":1.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":0.98,"truncation":"disabled","usage":{"input_tokens":410,"input_tokens_details":{"cached_tokens":0},"output_tokens":1208,"output_tokens_details":{"reasoning_tokens":596},"total_tokens":1618},"user":null}'
