|
| 1 | +interactions: |
| 2 | + - request: |
| 3 | + body: |
| 4 | + '{"model": "claude-haiku-4-5-20251001", "messages": [{"role": "user", "content": |
| 5 | + [{"type": "text", "text": "Say hello"}]}], "temperature": 1.0, "max_tokens": |
| 6 | + 64000, "stream": true}' |
| 7 | + headers: |
| 8 | + accept: |
| 9 | + - application/json |
| 10 | + accept-encoding: |
| 11 | + - gzip, deflate |
| 12 | + anthropic-version: |
| 13 | + - "2023-06-01" |
| 14 | + connection: |
| 15 | + - keep-alive |
| 16 | + content-length: |
| 17 | + - "179" |
| 18 | + content-type: |
| 19 | + - application/json |
| 20 | + host: |
| 21 | + - api.anthropic.com |
| 22 | + user-agent: |
| 23 | + - litellm/1.81.12 |
| 24 | + method: POST |
| 25 | + uri: https://api.anthropic.com/v1/messages |
| 26 | + response: |
| 27 | + body: |
| 28 | + string: |
| 29 | + "event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"model\":\"claude-haiku-4-5-20251001\",\"id\":\"msg_01VrWiiNHrKEEqsq4LF723wu\",\"type\":\"message\",\"role\":\"assistant\",\"content\":[],\"stop_reason\":null,\"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\":3,\"service_tier\":\"standard\",\"inference_geo\":\"not_available\"}} |
| 30 | + \ }\n\nevent: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\",\"text\":\"\"} |
| 31 | + \ }\n\nevent: ping\ndata: {\"type\": \"ping\"}\n\nevent: content_block_delta\ndata: |
| 32 | + {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"Hello! |
| 33 | + \"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"\U0001F44B |
| 34 | + How can I help you\"} }\n\nevent: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\" |
| 35 | + today?\"} }\n\nevent: content_block_stop\ndata: {\"type\":\"content_block_stop\",\"index\":0 |
| 36 | + \ }\n\nevent: message_delta\ndata: {\"type\":\"message_delta\",\"delta\":{\"stop_reason\":\"end_turn\",\"stop_sequence\":null},\"usage\":{\"input_tokens\":9,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":16} |
| 37 | + }\n\nevent: message_stop\ndata: {\"type\":\"message_stop\" }\n\n" |
| 38 | + headers: |
| 39 | + CF-RAY: |
| 40 | + - 9d0905195e7112a1-SJC |
| 41 | + Cache-Control: |
| 42 | + - no-cache |
| 43 | + Connection: |
| 44 | + - keep-alive |
| 45 | + Content-Security-Policy: |
| 46 | + - default-src 'none'; frame-ancestors 'none' |
| 47 | + Content-Type: |
| 48 | + - text/event-stream; charset=utf-8 |
| 49 | + Date: |
| 50 | + - Thu, 19 Feb 2026 21:57:27 GMT |
| 51 | + Server: |
| 52 | + - cloudflare |
| 53 | + Transfer-Encoding: |
| 54 | + - chunked |
| 55 | + X-Robots-Tag: |
| 56 | + - none |
| 57 | + anthropic-organization-id: |
| 58 | + - f2c99ed9-038a-406f-9cb5-1f840b758a20 |
| 59 | + anthropic-ratelimit-input-tokens-limit: |
| 60 | + - "4000000" |
| 61 | + anthropic-ratelimit-input-tokens-remaining: |
| 62 | + - "4000000" |
| 63 | + anthropic-ratelimit-input-tokens-reset: |
| 64 | + - "2026-02-19T21:57:26Z" |
| 65 | + anthropic-ratelimit-output-tokens-limit: |
| 66 | + - "800000" |
| 67 | + anthropic-ratelimit-output-tokens-remaining: |
| 68 | + - "800000" |
| 69 | + anthropic-ratelimit-output-tokens-reset: |
| 70 | + - "2026-02-19T21:57:26Z" |
| 71 | + anthropic-ratelimit-requests-limit: |
| 72 | + - "4000" |
| 73 | + anthropic-ratelimit-requests-remaining: |
| 74 | + - "3999" |
| 75 | + anthropic-ratelimit-requests-reset: |
| 76 | + - "2026-02-19T21:57:26Z" |
| 77 | + anthropic-ratelimit-tokens-limit: |
| 78 | + - "4800000" |
| 79 | + anthropic-ratelimit-tokens-remaining: |
| 80 | + - "4800000" |
| 81 | + anthropic-ratelimit-tokens-reset: |
| 82 | + - "2026-02-19T21:57:26Z" |
| 83 | + cf-cache-status: |
| 84 | + - DYNAMIC |
| 85 | + request-id: |
| 86 | + - req_011CYJB9t9onN3ScnKEPtAC7 |
| 87 | + strict-transport-security: |
| 88 | + - max-age=31536000; includeSubDomains; preload |
| 89 | + x-envoy-upstream-service-time: |
| 90 | + - "449" |
| 91 | + status: |
| 92 | + code: 200 |
| 93 | + message: OK |
| 94 | +version: 1 |
0 commit comments