when:
  path: /api/v1/responses
  method: POST
  query_param: []
  header:
  - name: accept
    value: text/event-stream
  - name: content-type
    value: application/json
  body: '{"input":[{"content":[{"text":"You are concise. Answer directly.","type":"input_text"}],"role":"system","type":"message"},{"content":[{"text":"In one sentence, confirm this streaming response works.","type":"input_text"}],"role":"user","type":"message"}],"model":"google/gemini-3-flash-preview","stream":true}'
then:
  status: 200
  header:
  - name: content-type
    value: text/event-stream
  body: ": \n\ndata: {\"response\":{\"background\":false,\"completed_at\":null,\"created_at\":0,\"error\":null,\"frequency_penalty\":0,\"id\":\"resp_REDACTED_1\",\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"metadata\":{},\"model\":\"google/gemini-3-flash-preview-20251217\",\"object\":\"response\",\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"reasoning\":null,\"safety_identifier\":null,\"service_tier\":\"auto\",\"status\":\"in_progress\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1,\"truncation\":\"disabled\",\"usage\":null},\"sequence_number\":0,\"type\":\"response.created\"}\n\ndata: {\"response\":{\"background\":false,\"completed_at\":null,\"created_at\":0,\"error\":null,\"frequency_penalty\":0,\"id\":\"resp_REDACTED_1\",\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"metadata\":{},\"model\":\"google/gemini-3-flash-preview-20251217\",\"object\":\"response\",\"output\":[],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"reasoning\":null,\"safety_identifier\":null,\"service_tier\":\"auto\",\"status\":\"in_progress\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1,\"truncation\":\"disabled\",\"usage\":null},\"sequence_number\":1,\"type\":\"response.in_progress\"}\n\ndata: {\"item\":{\"content\":[],\"id\":\"msg_REDACTED_1\",\"role\":\"assistant\",\"status\":\"in_progress\",\"type\":\"message\"},\"output_index\":0,\"sequence_number\":2,\"type\":\"response.output_item.added\"}\n\ndata: {\"content_index\":0,\"item_id\":\"msg_REDACTED_1\",\"output_index\":0,\"part\":{\"annotations\":[],\"logprobs\":[],\"text\":\"\",\"type\":\"output_text\"},\"sequence_number\":3,\"type\":\"response.content_part.added\"}\n\ndata: {\"content_index\":0,\"delta\":\"Yes, this streaming response is working perfectly.\",\"item_id\":\"msg_REDACTED_1\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":4,\"type\":\"response.output_text.delta\"}\n\ndata: {\"item\":{\"id\":\"rs_REDACTED_1\",\"status\":\"in_progress\",\"summary\":[],\"type\":\"reasoning\"},\"output_index\":1,\"sequence_number\":5,\"type\":\"response.output_item.added\"}\n\ndata: {\"content_index\":0,\"item_id\":\"msg_REDACTED_1\",\"logprobs\":[],\"output_index\":0,\"sequence_number\":6,\"text\":\"Yes, this streaming response is working perfectly.\",\"type\":\"response.output_text.done\"}\n\ndata: {\"content_index\":0,\"item_id\":\"msg_REDACTED_1\",\"output_index\":0,\"part\":{\"annotations\":[],\"logprobs\":[],\"text\":\"Yes, this streaming response is working perfectly.\",\"type\":\"output_text\"},\"sequence_number\":7,\"type\":\"response.content_part.done\"}\n\ndata: {\"item\":{\"content\":[{\"annotations\":[],\"logprobs\":[],\"text\":\"Yes, this streaming response is working perfectly.\",\"type\":\"output_text\"}],\"id\":\"msg_REDACTED_1\",\"role\":\"assistant\",\"status\":\"completed\",\"type\":\"message\"},\"output_index\":0,\"sequence_number\":8,\"type\":\"response.output_item.done\"}\n\ndata: {\"item\":{\"encrypted_content\":\"encrypted_content_REDACTED_1\",\"format\":\"google-gemini-v1\",\"id\":\"rs_REDACTED_1\",\"status\":\"completed\",\"summary\":[],\"type\":\"reasoning\"},\"output_index\":1,\"sequence_number\":9,\"type\":\"response.output_item.done\"}\n\ndata: {\"response\":{\"background\":false,\"completed_at\":0,\"created_at\":0,\"error\":null,\"frequency_penalty\":0,\"id\":\"resp_REDACTED_1\",\"incomplete_details\":null,\"instructions\":null,\"max_output_tokens\":null,\"max_tool_calls\":null,\"metadata\":{},\"model\":\"google/gemini-3-flash-preview-20251217\",\"object\":\"response\",\"output\":[{\"content\":[{\"annotations\":[],\"logprobs\":[],\"text\":\"Yes, this streaming response is working perfectly.\",\"type\":\"output_text\"}],\"id\":\"msg_REDACTED_1\",\"role\":\"assistant\",\"status\":\"completed\",\"type\":\"message\"},{\"encrypted_content\":\"encrypted_content_REDACTED_1\",\"format\":\"google-gemini-v1\",\"id\":\"rs_REDACTED_1\",\"status\":\"completed\",\"summary\":[],\"type\":\"reasoning\"}],\"parallel_tool_calls\":true,\"presence_penalty\":0,\"previous_response_id\":null,\"prompt_cache_key\":null,\"reasoning\":null,\"safety_identifier\":null,\"service_tier\":\"provisioned\",\"status\":\"completed\",\"store\":false,\"temperature\":1,\"text\":{\"format\":{\"type\":\"text\"}},\"tool_choice\":\"auto\",\"tools\":[],\"top_logprobs\":0,\"top_p\":1,\"truncation\":\"disabled\",\"usage\":{\"cost\":0.0000355,\"cost_details\":{\"upstream_inference_cost\":0.0000355,\"upstream_inference_input_cost\":8.5e-6,\"upstream_inference_output_cost\":0.000027},\"input_tokens\":17,\"input_tokens_details\":{\"cached_tokens\":0},\"is_byok\":false,\"output_tokens\":9,\"output_tokens_details\":{\"reasoning_tokens\":0},\"total_tokens\":26}},\"sequence_number\":10,\"type\":\"response.completed\"}\n\ndata: [DONE]\n\n"
