simple.yaml

  1---
  2version: 2
  3interactions:
  4- id: 0
  5  request:
  6    proto: HTTP/1.1
  7    proto_major: 1
  8    proto_minor: 1
  9    content_length: 209
 10    host: ""
 11    body: '{"max_output_tokens":4000,"store":false,"input":[{"content":"You are a helpful assistant","role":"developer"},{"content":[{"text":"Say hi in Portuguese","type":"input_text"}],"role":"user"}],"model":"o4-mini"}'
 12    headers:
 13      Accept:
 14      - application/json
 15      Content-Type:
 16      - application/json
 17      User-Agent:
 18      - OpenAI/Go 2.3.0
 19    url: https://api.openai.com/v1/responses
 20    method: POST
 21  response:
 22    proto: HTTP/2.0
 23    proto_major: 2
 24    proto_minor: 0
 25    content_length: -1
 26    uncompressed: true
 27    body: |-
 28      {
 29        "id": "resp_05edda4810c41de00168f23812e34481909c921eeab19085a0",
 30        "object": "response",
 31        "created_at": 1760704531,
 32        "status": "completed",
 33        "background": false,
 34        "billing": {
 35          "payer": "developer"
 36        },
 37        "error": null,
 38        "incomplete_details": null,
 39        "instructions": null,
 40        "max_output_tokens": 4000,
 41        "max_tool_calls": null,
 42        "model": "o4-mini-2025-04-16",
 43        "output": [
 44          {
 45            "id": "rs_05edda4810c41de00168f2381383e08190b96c0313059265a9",
 46            "type": "reasoning",
 47            "summary": []
 48          },
 49          {
 50            "id": "msg_05edda4810c41de00168f23814db48819083a54f56411e35a5",
 51            "type": "message",
 52            "status": "completed",
 53            "content": [
 54              {
 55                "type": "output_text",
 56                "annotations": [],
 57                "logprobs": [],
 58                "text": "Oi!"
 59              }
 60            ],
 61            "role": "assistant"
 62          }
 63        ],
 64        "parallel_tool_calls": true,
 65        "previous_response_id": null,
 66        "prompt_cache_key": null,
 67        "reasoning": {
 68          "effort": "medium",
 69          "summary": null
 70        },
 71        "safety_identifier": null,
 72        "service_tier": "default",
 73        "store": false,
 74        "temperature": 1.0,
 75        "text": {
 76          "format": {
 77            "type": "text"
 78          },
 79          "verbosity": "medium"
 80        },
 81        "tool_choice": "auto",
 82        "tools": [],
 83        "top_logprobs": 0,
 84        "top_p": 1.0,
 85        "truncation": "disabled",
 86        "usage": {
 87          "input_tokens": 19,
 88          "input_tokens_details": {
 89            "cached_tokens": 0
 90          },
 91          "output_tokens": 136,
 92          "output_tokens_details": {
 93            "reasoning_tokens": 128
 94          },
 95          "total_tokens": 155
 96        },
 97        "user": null,
 98        "metadata": {}
 99      }
100    headers:
101      Content-Type:
102      - application/json
103    status: 200 OK
104    code: 200
105    duration: 2.327569333s