when:
  path: /v1/responses
  method: POST
  query_param: []
  header:
  - name: accept
    value: text/event-stream
  - name: content-type
    value: application/json
  body: '{"input":[{"content":"You are a concise assistant. Answer directly in plain text.","role":"system","type":"message"},{"content":"In one short paragraph, explain what a solar eclipse is.","role":"user","type":"message"}],"model":"grok-3-mini","stream":true}'
then:
  status: 200
  header:
  - name: content-type
    value: text/event-stream
  body: |+
    event: response.created
    data: {"response":{"background":false,"completed_at":null,"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":{"system_fingerprint":"fp_REDACTED_1"},"model":"grok-4.3","object":"response","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","status":"in_progress","store":true,"temperature":0.699999988079071,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":0.949999988079071,"truncation":"disabled","usage":null,"user":null},"sequence_number":0,"type":"response.created"}

    event: response.in_progress
    data: {"response":{"background":false,"completed_at":null,"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":{"system_fingerprint":"fp_REDACTED_1"},"model":"grok-4.3","object":"response","output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","status":"in_progress","store":true,"temperature":0.699999988079071,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":0.949999988079071,"truncation":"disabled","usage":null,"user":null},"sequence_number":1,"type":"response.in_progress"}

    event: response.output_item.added
    data: {"item":{"id":"rs_REDACTED_1","status":"in_progress","summary":[],"type":"reasoning"},"output_index":0,"sequence_number":2,"type":"response.output_item.added"}

    event: response.reasoning_summary_part.added
    data: {"item_id":"rs_REDACTED_1","output_index":0,"part":{"text":"","type":"summary_text"},"sequence_number":3,"summary_index":0,"type":"response.reasoning_summary_part.added"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"The","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":4,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" question","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":5,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" is","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":6,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":":","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":7,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" \"","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":8,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":"In","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":9,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" one","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":10,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" short","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":11,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" paragraph","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":12,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":",","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":13,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" explain","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":14,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" what","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":15,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" a","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":16,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" solar","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":17,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" eclipse","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":18,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":" is","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":19,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.delta
    data: {"delta":".\"\n","item_id":"rs_REDACTED_1","output_index":0,"sequence_number":20,"summary_index":0,"type":"response.reasoning_summary_text.delta"}

    event: response.reasoning_summary_text.done
    data: {"item_id":"rs_REDACTED_1","output_index":0,"sequence_number":21,"summary_index":0,"text":"The question is: \"In one short paragraph, explain what a solar eclipse is.\"\n","type":"response.reasoning_summary_text.done"}

    event: response.reasoning_summary_part.done
    data: {"item_id":"rs_REDACTED_1","output_index":0,"part":{"text":"The question is: \"In one short paragraph, explain what a solar eclipse is.\"\n","type":"summary_text"},"sequence_number":22,"summary_index":0,"type":"response.reasoning_summary_part.done"}

    event: response.output_item.done
    data: {"item":{"id":"rs_REDACTED_1","status":"completed","summary":[{"text":"The question is: \"In one short paragraph, explain what a solar eclipse is.\"\n","type":"summary_text"}],"type":"reasoning"},"output_index":0,"sequence_number":23,"type":"response.output_item.done"}

    event: response.output_item.added
    data: {"item":{"content":[],"id":"msg_REDACTED_1","role":"assistant","status":"in_progress","type":"message"},"output_index":1,"sequence_number":24,"type":"response.output_item.added"}

    event: response.content_part.added
    data: {"content_index":0,"item_id":"msg_REDACTED_1","output_index":1,"part":{"annotations":[],"logprobs":[],"text":"","type":"output_text"},"sequence_number":25,"type":"response.content_part.added"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"A","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":26,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" solar","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":27,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" eclipse","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":28,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" occurs","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":29,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" when","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":30,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" the","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":31,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" Moon","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":32,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" passes","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":33,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" directly","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":34,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" between","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":35,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" the","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":36,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" Earth","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":37,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" and","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":38,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" the","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":39,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" Sun","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":40,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":",","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":41,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" blocking","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":42,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" all","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":43,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" or","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":44,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" part","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":45,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" of","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":46,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" the","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":47,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" Sun","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":48,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"'s","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":49,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" light","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":50,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" and","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":51,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" casting","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":52,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" a","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":53,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" shadow","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":54,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" on","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":55,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" Earth","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":56,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":".","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":57,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" This","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":58,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" alignment","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":59,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" happens","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":60,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" only","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":61,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" during","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":62,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" a","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":63,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" new","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":64,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" moon","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":65,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":",","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":66,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" producing","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":67,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" total","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":68,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":",","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":69,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" partial","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":70,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":",","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":71,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" or","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":72,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" annular","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":73,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" ecl","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":74,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":"ipses","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":75,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" based","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":76,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" on","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":77,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" the","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":78,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" exact","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":79,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" positions","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":80,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" and","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":81,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":" distances","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":82,"type":"response.output_text.delta"}

    event: response.output_text.delta
    data: {"content_index":0,"delta":".","item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":83,"type":"response.output_text.delta"}

    event: response.output_text.done
    data: {"content_index":0,"item_id":"msg_REDACTED_1","logprobs":[],"output_index":1,"sequence_number":84,"text":"A solar eclipse occurs when the Moon passes directly between the Earth and the Sun, blocking all or part of the Sun's light and casting a shadow on Earth. This alignment happens only during a new moon, producing total, partial, or annular eclipses based on the exact positions and distances.","type":"response.output_text.done"}

    event: response.content_part.done
    data: {"content_index":0,"item_id":"msg_REDACTED_1","output_index":1,"part":{"annotations":[],"logprobs":[],"text":"A solar eclipse occurs when the Moon passes directly between the Earth and the Sun, blocking all or part of the Sun's light and casting a shadow on Earth. This alignment happens only during a new moon, producing total, partial, or annular eclipses based on the exact positions and distances.","type":"output_text"},"sequence_number":85,"type":"response.content_part.done"}

    event: response.output_item.done
    data: {"item":{"content":[{"annotations":[],"logprobs":[],"text":"A solar eclipse occurs when the Moon passes directly between the Earth and the Sun, blocking all or part of the Sun's light and casting a shadow on Earth. This alignment happens only during a new moon, producing total, partial, or annular eclipses based on the exact positions and distances.","type":"output_text"}],"id":"msg_REDACTED_1","role":"assistant","status":"completed","type":"message"},"output_index":1,"sequence_number":86,"type":"response.output_item.done"}

    event: response.completed
    data: {"response":{"background":false,"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":{"system_fingerprint":"fp_REDACTED_1"},"model":"grok-4.3","object":"response","output":[{"id":"rs_REDACTED_1","status":"completed","summary":[{"text":"The question is: \"In one short paragraph, explain what a solar eclipse is.\"\n","type":"summary_text"}],"type":"reasoning"},{"content":[{"annotations":[],"logprobs":[],"text":"A solar eclipse occurs when the Moon passes directly between the Earth and the Sun, blocking all or part of the Sun's light and casting a shadow on Earth. This alignment happens only during a new moon, producing total, partial, or annular eclipses based on the exact positions and distances.","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,"reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"default","status":"completed","store":true,"temperature":0.699999988079071,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":0.949999988079071,"truncation":"disabled","usage":{"context_details":{"input_tokens":157,"output_tokens":273},"cost_in_usd_ticks":7443500,"input_tokens":157,"input_tokens_details":{"cached_tokens":128},"num_server_side_tools_used":0,"num_sources_used":0,"output_tokens":273,"output_tokens_details":{"reasoning_tokens":215},"total_tokens":430},"user":null},"sequence_number":87,"type":"response.completed"}

