| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 1 | httprr trace v1 |
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 2 | 455 1424 |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 3 | POST https://api.anthropic.com/v1/messages HTTP/1.1
|
| 4 | Host: api.anthropic.com
|
| 5 | User-Agent: Go-http-client/1.1
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 6 | Content-Length: 259
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 7 | Anthropic-Version: 2023-06-01
|
| 8 | Content-Type: application/json
|
| 9 |
|
| 10 | { |
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 11 | "model": "claude-sonnet-4-20250514", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 12 | "messages": [ |
| 13 | { |
| 14 | "role": "user", |
| 15 | "content": [ |
| 16 | { |
| 17 | "type": "text", |
| 18 | "text": "Hi, my name is Cornelius", |
| 19 | "cache_control": { |
| 20 | "type": "ephemeral" |
| 21 | } |
| 22 | } |
| 23 | ] |
| 24 | } |
| 25 | ], |
| 26 | "max_tokens": 8192 |
| 27 | }HTTP/2.0 200 OK
|
| 28 | Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
|
| 29 | Anthropic-Ratelimit-Input-Tokens-Limit: 200000
|
| 30 | Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 31 | Anthropic-Ratelimit-Input-Tokens-Reset: 2025-05-24T19:27:38Z
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 32 | Anthropic-Ratelimit-Output-Tokens-Limit: 80000
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 33 | Anthropic-Ratelimit-Output-Tokens-Remaining: 80000
|
| 34 | Anthropic-Ratelimit-Output-Tokens-Reset: 2025-05-24T19:27:38Z
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 35 | Anthropic-Ratelimit-Requests-Limit: 4000
|
| 36 | Anthropic-Ratelimit-Requests-Remaining: 3999
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 37 | Anthropic-Ratelimit-Requests-Reset: 2025-05-24T19:27:36Z
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 38 | Anthropic-Ratelimit-Tokens-Limit: 280000
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 39 | Anthropic-Ratelimit-Tokens-Remaining: 280000
|
| 40 | Anthropic-Ratelimit-Tokens-Reset: 2025-05-24T19:27:38Z
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 41 | Cf-Cache-Status: DYNAMIC
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 42 | Cf-Ray: 944f30fd0f0a15d4-SJC
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 43 | Content-Type: application/json
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 44 | Date: Sat, 24 May 2025 19:27:38 GMT
|
| 45 | Request-Id: req_011CPSuX337qwfNzNzGSwG3b
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 46 | Server: cloudflare
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 47 | Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 48 | Via: 1.1 google
|
| 49 | X-Robots-Tag: none
|
| 50 |
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 51 | {"id":"msg_01L127Hi3H8X613Fh8HojDgk","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"Hello Cornelius! It's nice to meet you. How are you doing today? Is there anything I can help you with?"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":15,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":30,"service_tier":"standard"}}775 1394 |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 52 | POST https://api.anthropic.com/v1/messages HTTP/1.1
|
| 53 | Host: api.anthropic.com
|
| 54 | User-Agent: Go-http-client/1.1
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 55 | Content-Length: 579
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 56 | Anthropic-Version: 2023-06-01
|
| 57 | Content-Type: application/json
|
| 58 |
|
| 59 | { |
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 60 | "model": "claude-sonnet-4-20250514", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 61 | "messages": [ |
| 62 | { |
| 63 | "role": "user", |
| 64 | "content": [ |
| 65 | { |
| 66 | "type": "text", |
| 67 | "text": "Hi, my name is Cornelius" |
| 68 | } |
| 69 | ] |
| 70 | }, |
| 71 | { |
| 72 | "role": "assistant", |
| 73 | "content": [ |
| 74 | { |
| 75 | "type": "text", |
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 76 | "text": "Hello Cornelius! It's nice to meet you. How are you doing today? Is there anything I can help you with?" |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 77 | } |
| 78 | ] |
| 79 | }, |
| 80 | { |
| 81 | "role": "user", |
| 82 | "content": [ |
| 83 | { |
| 84 | "type": "text", |
| 85 | "text": "What is my name?", |
| 86 | "cache_control": { |
| 87 | "type": "ephemeral" |
| 88 | } |
| 89 | } |
| 90 | ] |
| 91 | } |
| 92 | ], |
| 93 | "max_tokens": 8192 |
| 94 | }HTTP/2.0 200 OK
|
| 95 | Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
|
| 96 | Anthropic-Ratelimit-Input-Tokens-Limit: 200000
|
| 97 | Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 98 | Anthropic-Ratelimit-Input-Tokens-Reset: 2025-05-24T19:27:39Z
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 99 | Anthropic-Ratelimit-Output-Tokens-Limit: 80000
|
| 100 | Anthropic-Ratelimit-Output-Tokens-Remaining: 80000
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 101 | Anthropic-Ratelimit-Output-Tokens-Reset: 2025-05-24T19:27:40Z
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 102 | Anthropic-Ratelimit-Requests-Limit: 4000
|
| 103 | Anthropic-Ratelimit-Requests-Remaining: 3999
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 104 | Anthropic-Ratelimit-Requests-Reset: 2025-05-24T19:27:38Z
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 105 | Anthropic-Ratelimit-Tokens-Limit: 280000
|
| 106 | Anthropic-Ratelimit-Tokens-Remaining: 280000
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 107 | Anthropic-Ratelimit-Tokens-Reset: 2025-05-24T19:27:39Z
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 108 | Cf-Cache-Status: DYNAMIC
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 109 | Cf-Ray: 944f31098c9e15d4-SJC
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 110 | Content-Type: application/json
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 111 | Date: Sat, 24 May 2025 19:27:40 GMT
|
| 112 | Request-Id: req_011CPSuXBim8ntiKJDjvFUWG
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 113 | Server: cloudflare
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 114 | Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
|
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 115 | Via: 1.1 google
|
| 116 | X-Robots-Tag: none
|
| 117 |
|
| Josh Bleecher Snyder | ab6a811 | 2025-05-24 12:22:00 -0700 | [diff] [blame] | 118 | {"id":"msg_01TiEuRrzLgJEfBUNhZ9Am3B","type":"message","role":"assistant","model":"claude-sonnet-4-20250514","content":[{"type":"text","text":"Your name is Cornelius, as you introduced yourself in your first message."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":53,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":19,"service_tier":"standard"}} |