|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"model":"claude-3-5-sonnet-20241022","stream":false,"max_tokens":4096,"thinking":{"type":"disabled"},"messages":[{"role":"user","content":"Hello!"}]}' |
| 4 | + headers: |
| 5 | + ? !!python/object/apply:multidict._multidict.istr |
| 6 | + - Accept |
| 7 | + : - application/json |
| 8 | + ? !!python/object/apply:multidict._multidict.istr |
| 9 | + - Accept-Encoding |
| 10 | + : - gzip, deflate |
| 11 | + ? !!python/object/apply:multidict._multidict.istr |
| 12 | + - Accept-Language |
| 13 | + : - '*' |
| 14 | + ? !!python/object/apply:multidict._multidict.istr |
| 15 | + - Connection |
| 16 | + : - keep-alive |
| 17 | + Content-Length: |
| 18 | + - '150' |
| 19 | + ? !!python/object/apply:multidict._multidict.istr |
| 20 | + - Content-Type |
| 21 | + : - application/json |
| 22 | + ? !!python/object/apply:multidict._multidict.istr |
| 23 | + - User-Agent |
| 24 | + : - Anthropic/JS 0.65.0 |
| 25 | + ? !!python/object/apply:multidict._multidict.istr |
| 26 | + - X-Stainless-Arch |
| 27 | + : - arm64 |
| 28 | + ? !!python/object/apply:multidict._multidict.istr |
| 29 | + - X-Stainless-Lang |
| 30 | + : - js |
| 31 | + ? !!python/object/apply:multidict._multidict.istr |
| 32 | + - X-Stainless-OS |
| 33 | + : - MacOS |
| 34 | + ? !!python/object/apply:multidict._multidict.istr |
| 35 | + - X-Stainless-Package-Version |
| 36 | + : - 0.65.0 |
| 37 | + ? !!python/object/apply:multidict._multidict.istr |
| 38 | + - X-Stainless-Retry-Count |
| 39 | + : - '0' |
| 40 | + ? !!python/object/apply:multidict._multidict.istr |
| 41 | + - X-Stainless-Runtime |
| 42 | + : - node |
| 43 | + ? !!python/object/apply:multidict._multidict.istr |
| 44 | + - X-Stainless-Runtime-Version |
| 45 | + : - v22.17.0 |
| 46 | + ? !!python/object/apply:multidict._multidict.istr |
| 47 | + - X-Stainless-Timeout |
| 48 | + : - '600' |
| 49 | + ? !!python/object/apply:multidict._multidict.istr |
| 50 | + - anthropic-dangerous-direct-browser-access |
| 51 | + : - 'true' |
| 52 | + ? !!python/object/apply:multidict._multidict.istr |
| 53 | + - anthropic-version |
| 54 | + : - '2023-06-01' |
| 55 | + ? !!python/object/apply:multidict._multidict.istr |
| 56 | + - sec-fetch-mode |
| 57 | + : - cors |
| 58 | + method: POST |
| 59 | + uri: https://api.anthropic.com/v1/messages |
| 60 | + response: |
| 61 | + body: |
| 62 | + string: '{"model":"claude-3-5-sonnet-20241022","id":"msg_01LWSczDEYTJkFxkvGr4q1kc","type":"message","role":"assistant","content":[{"type":"text","text":"Hi |
| 63 | + there! How can I help you today?"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":9,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":0,"ephemeral_1h_input_tokens":0},"output_tokens":13,"service_tier":"standard"}}' |
| 64 | + headers: |
| 65 | + CF-RAY: |
| 66 | + - 9922ea6108b5d684-IAD |
| 67 | + Connection: |
| 68 | + - keep-alive |
| 69 | + Content-Encoding: |
| 70 | + - gzip |
| 71 | + Content-Type: |
| 72 | + - application/json |
| 73 | + Date: |
| 74 | + - Tue, 21 Oct 2025 18:46:04 GMT |
| 75 | + Server: |
| 76 | + - cloudflare |
| 77 | + Transfer-Encoding: |
| 78 | + - chunked |
| 79 | + X-Robots-Tag: |
| 80 | + - none |
| 81 | + anthropic-organization-id: |
| 82 | + - 4257e925-ee99-4ee8-9c62-8e53716d5203 |
| 83 | + anthropic-ratelimit-input-tokens-limit: |
| 84 | + - '5000000' |
| 85 | + anthropic-ratelimit-input-tokens-remaining: |
| 86 | + - '5000000' |
| 87 | + anthropic-ratelimit-input-tokens-reset: |
| 88 | + - '2025-10-21T18:46:04Z' |
| 89 | + anthropic-ratelimit-output-tokens-limit: |
| 90 | + - '1000000' |
| 91 | + anthropic-ratelimit-output-tokens-remaining: |
| 92 | + - '1000000' |
| 93 | + anthropic-ratelimit-output-tokens-reset: |
| 94 | + - '2025-10-21T18:46:04Z' |
| 95 | + anthropic-ratelimit-requests-limit: |
| 96 | + - '10000' |
| 97 | + anthropic-ratelimit-requests-remaining: |
| 98 | + - '9999' |
| 99 | + anthropic-ratelimit-requests-reset: |
| 100 | + - '2025-10-21T18:46:03Z' |
| 101 | + anthropic-ratelimit-tokens-limit: |
| 102 | + - '6000000' |
| 103 | + anthropic-ratelimit-tokens-remaining: |
| 104 | + - '6000000' |
| 105 | + anthropic-ratelimit-tokens-reset: |
| 106 | + - '2025-10-21T18:46:04Z' |
| 107 | + cf-cache-status: |
| 108 | + - DYNAMIC |
| 109 | + request-id: |
| 110 | + - req_011CULqgdUBEuBvMTzJvKKFM |
| 111 | + strict-transport-security: |
| 112 | + - max-age=31536000; includeSubDomains; preload |
| 113 | + via: |
| 114 | + - 1.1 google |
| 115 | + x-envoy-upstream-service-time: |
| 116 | + - '1000' |
| 117 | + status: |
| 118 | + code: 200 |
| 119 | + message: OK |
| 120 | +version: 1 |
0 commit comments