blob: 663de8d6e1a189166c838483c2257dc6110241da [file] [log] [blame]
Earl Lee2e463fb2025-04-17 11:22:22 -07001httprr trace v1
2457 1329
3POST https://api.anthropic.com/v1/messages HTTP/1.1
4Host: api.anthropic.com
5User-Agent: Go-http-client/1.1
6Content-Length: 261
7Anthropic-Version: 2023-06-01
8Content-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
28Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
29Anthropic-Ratelimit-Input-Tokens-Limit: 200000
30Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
31Anthropic-Ratelimit-Input-Tokens-Reset: 2025-03-11T17:45:06Z
32Anthropic-Ratelimit-Output-Tokens-Limit: 80000
33Anthropic-Ratelimit-Output-Tokens-Remaining: 79000
34Anthropic-Ratelimit-Output-Tokens-Reset: 2025-03-11T17:45:07Z
35Anthropic-Ratelimit-Requests-Limit: 4000
36Anthropic-Ratelimit-Requests-Remaining: 3999
37Anthropic-Ratelimit-Requests-Reset: 2025-03-11T17:45:05Z
38Anthropic-Ratelimit-Tokens-Limit: 280000
39Anthropic-Ratelimit-Tokens-Remaining: 279000
40Anthropic-Ratelimit-Tokens-Reset: 2025-03-11T17:45:06Z
41Cf-Cache-Status: DYNAMIC
42Cf-Ray: 91ecdd10fdc3f97f-SJC
43Content-Type: application/json
44Date: Tue, 11 Mar 2025 17:45:07 GMT
45Request-Id: req_01LBtxMdNzxDcDVPGJSh7giv
46Server: cloudflare
47Via: 1.1 google
48X-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
51POST https://api.anthropic.com/v1/messages HTTP/1.1
52Host: api.anthropic.com
53User-Agent: Go-http-client/1.1
54Content-Length: 583
55Anthropic-Version: 2023-06-01
56Content-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
94Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
95Anthropic-Ratelimit-Input-Tokens-Limit: 200000
96Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
97Anthropic-Ratelimit-Input-Tokens-Reset: 2025-03-11T17:45:07Z
98Anthropic-Ratelimit-Output-Tokens-Limit: 80000
99Anthropic-Ratelimit-Output-Tokens-Remaining: 80000
100Anthropic-Ratelimit-Output-Tokens-Reset: 2025-03-11T17:45:07Z
101Anthropic-Ratelimit-Requests-Limit: 4000
102Anthropic-Ratelimit-Requests-Remaining: 3999
103Anthropic-Ratelimit-Requests-Reset: 2025-03-11T17:45:07Z
104Anthropic-Ratelimit-Tokens-Limit: 280000
105Anthropic-Ratelimit-Tokens-Remaining: 280000
106Anthropic-Ratelimit-Tokens-Reset: 2025-03-11T17:45:07Z
107Cf-Cache-Status: DYNAMIC
108Cf-Ray: 91ecdd1ae9a6f97f-SJC
109Content-Type: application/json
110Date: Tue, 11 Mar 2025 17:45:07 GMT
111Request-Id: req_01MBf3RWXNfQgwhVRwwkBYSn
112Server: cloudflare
113Via: 1.1 google
114X-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}}