when:
  path: /v1beta/interactions
  method: POST
  query_param: []
  header:
  - name: accept
    value: '*/*'
  - name: content-type
    value: application/json
  body: '{"input":[{"content":[{"text":"Give me one short fact about hummingbirds.","type":"text"}],"type":"user_input"}],"model":"gemini-3-flash-preview","store":true,"stream":false}'
then:
  status: 200
  header:
  - name: content-type
    value: application/json
  body: '{"created":"1970-01-01T00:00:00Z","id":"v1_REDACTED_1","model":"gemini-3-flash-preview","object":"interaction","service_tier":"standard","status":"completed","steps":[{"signature":"signature_REDACTED_1","type":"thought"},{"content":[{"text":"Hummingbirds are the only birds that can fly backward.","type":"text"}],"type":"model_output"}],"updated":"1970-01-01T00:00:00Z","usage":{"input_tokens_by_modality":[{"modality":"text","tokens":10}],"total_cached_tokens":0,"total_input_tokens":10,"total_output_tokens":12,"total_thought_tokens":164,"total_tokens":186,"total_tool_use_tokens":0}}'
---
when:
  path: /v1beta/interactions
  method: POST
  query_param: []
  header:
  - name: accept
    value: '*/*'
  - name: content-type
    value: application/json
  body: '{"input":[{"content":[{"text":"Now answer with a short analogy.","type":"text"}],"type":"user_input"}],"model":"gemini-3-flash-preview","previous_interaction_id":"v1_REDACTED_1","stream":false}'
then:
  status: 200
  header:
  - name: content-type
    value: application/json
  body: '{"created":"1970-01-01T00:00:00Z","id":"v1_REDACTED_2","model":"gemini-3-flash-preview","object":"interaction","service_tier":"standard","status":"completed","steps":[{"signature":"signature_REDACTED_2","type":"thought"},{"content":[{"text":"Hummingbirds are like the helicopters of the bird world.","type":"text"}],"type":"model_output"}],"updated":"1970-01-01T00:00:00Z","usage":{"input_tokens_by_modality":[{"modality":"text","tokens":8}],"total_cached_tokens":0,"total_input_tokens":8,"total_output_tokens":12,"total_thought_tokens":188,"total_tokens":208,"total_tool_use_tokens":0}}'
