| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 1 | httprr trace v1 |
| 2 | 457 1329 |
| 3 | POST https://api.anthropic.com/v1/messages HTTP/1.1
|
| 4 | Host: api.anthropic.com
|
| 5 | User-Agent: Go-http-client/1.1
|
| 6 | Content-Length: 261
|
| 7 | Anthropic-Version: 2023-06-01
|
| 8 | Content-Type: application/json
|
| 9 |
|
| 10 | { |
| 11 | "model": "claude-3-7-sonnet-20250219", |
| 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
|
| 31 | Anthropic-Ratelimit-Input-Tokens-Reset: 2025-03-11T17:45:06Z
|
| 32 | Anthropic-Ratelimit-Output-Tokens-Limit: 80000
|
| 33 | Anthropic-Ratelimit-Output-Tokens-Remaining: 79000
|
| 34 | Anthropic-Ratelimit-Output-Tokens-Reset: 2025-03-11T17:45:07Z
|
| 35 | Anthropic-Ratelimit-Requests-Limit: 4000
|
| 36 | Anthropic-Ratelimit-Requests-Remaining: 3999
|
| 37 | Anthropic-Ratelimit-Requests-Reset: 2025-03-11T17:45:05Z
|
| 38 | Anthropic-Ratelimit-Tokens-Limit: 280000
|
| 39 | Anthropic-Ratelimit-Tokens-Remaining: 279000
|
| 40 | Anthropic-Ratelimit-Tokens-Reset: 2025-03-11T17:45:06Z
|
| 41 | Cf-Cache-Status: DYNAMIC
|
| 42 | Cf-Ray: 91ecdd10fdc3f97f-SJC
|
| 43 | Content-Type: application/json
|
| 44 | Date: Tue, 11 Mar 2025 17:45:07 GMT
|
| 45 | Request-Id: req_01LBtxMdNzxDcDVPGJSh7giv
|
| 46 | Server: cloudflare
|
| 47 | Via: 1.1 google
|
| 48 | X-Robots-Tag: none
|
| 49 |
|
| 50 | {"id":"msg_01S1uUyUsTaKPBKuDUGGX8J2","type":"message","role":"assistant","model":"claude-3-7-sonnet-20250219","content":[{"type":"text","text":"Hello, Cornelius! It's nice to meet you. How are you doing today? Is there something 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":31}}779 1286 |
| 51 | POST https://api.anthropic.com/v1/messages HTTP/1.1
|
| 52 | Host: api.anthropic.com
|
| 53 | User-Agent: Go-http-client/1.1
|
| 54 | Content-Length: 583
|
| 55 | Anthropic-Version: 2023-06-01
|
| 56 | Content-Type: application/json
|
| 57 |
|
| 58 | { |
| 59 | "model": "claude-3-7-sonnet-20250219", |
| 60 | "messages": [ |
| 61 | { |
| 62 | "role": "user", |
| 63 | "content": [ |
| 64 | { |
| 65 | "type": "text", |
| 66 | "text": "Hi, my name is Cornelius" |
| 67 | } |
| 68 | ] |
| 69 | }, |
| 70 | { |
| 71 | "role": "assistant", |
| 72 | "content": [ |
| 73 | { |
| 74 | "type": "text", |
| 75 | "text": "Hello, Cornelius! It's nice to meet you. How are you doing today? Is there something I can help you with?" |
| 76 | } |
| 77 | ] |
| 78 | }, |
| 79 | { |
| 80 | "role": "user", |
| 81 | "content": [ |
| 82 | { |
| 83 | "type": "text", |
| 84 | "text": "What is my name?", |
| 85 | "cache_control": { |
| 86 | "type": "ephemeral" |
| 87 | } |
| 88 | } |
| 89 | ] |
| 90 | } |
| 91 | ], |
| 92 | "max_tokens": 8192 |
| 93 | }HTTP/2.0 200 OK
|
| 94 | Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
|
| 95 | Anthropic-Ratelimit-Input-Tokens-Limit: 200000
|
| 96 | Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
|
| 97 | Anthropic-Ratelimit-Input-Tokens-Reset: 2025-03-11T17:45:07Z
|
| 98 | Anthropic-Ratelimit-Output-Tokens-Limit: 80000
|
| 99 | Anthropic-Ratelimit-Output-Tokens-Remaining: 80000
|
| 100 | Anthropic-Ratelimit-Output-Tokens-Reset: 2025-03-11T17:45:07Z
|
| 101 | Anthropic-Ratelimit-Requests-Limit: 4000
|
| 102 | Anthropic-Ratelimit-Requests-Remaining: 3999
|
| 103 | Anthropic-Ratelimit-Requests-Reset: 2025-03-11T17:45:07Z
|
| 104 | Anthropic-Ratelimit-Tokens-Limit: 280000
|
| 105 | Anthropic-Ratelimit-Tokens-Remaining: 280000
|
| 106 | Anthropic-Ratelimit-Tokens-Reset: 2025-03-11T17:45:07Z
|
| 107 | Cf-Cache-Status: DYNAMIC
|
| 108 | Cf-Ray: 91ecdd1ae9a6f97f-SJC
|
| 109 | Content-Type: application/json
|
| 110 | Date: Tue, 11 Mar 2025 17:45:07 GMT
|
| 111 | Request-Id: req_01MBf3RWXNfQgwhVRwwkBYSn
|
| 112 | Server: cloudflare
|
| 113 | Via: 1.1 google
|
| 114 | X-Robots-Tag: none
|
| 115 |
|
| 116 | {"id":"msg_01FGz6DeWeDpspJG8cuxyVE9","type":"message","role":"assistant","model":"claude-3-7-sonnet-20250219","content":[{"type":"text","text":"Your name is Cornelius, as you mentioned in your introduction."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":54,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":17}} |