blob: 7f9886d59fb1f4a199fb1bc3d0b53899e8e695e6 [file] [log] [blame]
Earl Lee2e463fb2025-04-17 11:22:22 -07001httprr trace v1
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -07002455 1424
Earl Lee2e463fb2025-04-17 11:22:22 -07003POST https://api.anthropic.com/v1/messages HTTP/1.1
4Host: api.anthropic.com
5User-Agent: Go-http-client/1.1
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -07006Content-Length: 259
Earl Lee2e463fb2025-04-17 11:22:22 -07007Anthropic-Version: 2023-06-01
8Content-Type: application/json
9
10{
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070011 "model": "claude-sonnet-4-20250514",
Earl Lee2e463fb2025-04-17 11:22:22 -070012 "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
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070031Anthropic-Ratelimit-Input-Tokens-Reset: 2025-05-24T19:27:38Z
Earl Lee2e463fb2025-04-17 11:22:22 -070032Anthropic-Ratelimit-Output-Tokens-Limit: 80000
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070033Anthropic-Ratelimit-Output-Tokens-Remaining: 80000
34Anthropic-Ratelimit-Output-Tokens-Reset: 2025-05-24T19:27:38Z
Earl Lee2e463fb2025-04-17 11:22:22 -070035Anthropic-Ratelimit-Requests-Limit: 4000
36Anthropic-Ratelimit-Requests-Remaining: 3999
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070037Anthropic-Ratelimit-Requests-Reset: 2025-05-24T19:27:36Z
Earl Lee2e463fb2025-04-17 11:22:22 -070038Anthropic-Ratelimit-Tokens-Limit: 280000
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070039Anthropic-Ratelimit-Tokens-Remaining: 280000
40Anthropic-Ratelimit-Tokens-Reset: 2025-05-24T19:27:38Z
Earl Lee2e463fb2025-04-17 11:22:22 -070041Cf-Cache-Status: DYNAMIC
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070042Cf-Ray: 944f30fd0f0a15d4-SJC
Earl Lee2e463fb2025-04-17 11:22:22 -070043Content-Type: application/json
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070044Date: Sat, 24 May 2025 19:27:38 GMT
45Request-Id: req_011CPSuX337qwfNzNzGSwG3b
Earl Lee2e463fb2025-04-17 11:22:22 -070046Server: cloudflare
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070047Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Earl Lee2e463fb2025-04-17 11:22:22 -070048Via: 1.1 google
49X-Robots-Tag: none
50
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070051{"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 Lee2e463fb2025-04-17 11:22:22 -070052POST https://api.anthropic.com/v1/messages HTTP/1.1
53Host: api.anthropic.com
54User-Agent: Go-http-client/1.1
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070055Content-Length: 579
Earl Lee2e463fb2025-04-17 11:22:22 -070056Anthropic-Version: 2023-06-01
57Content-Type: application/json
58
59{
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070060 "model": "claude-sonnet-4-20250514",
Earl Lee2e463fb2025-04-17 11:22:22 -070061 "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 Snyderab6a8112025-05-24 12:22:00 -070076 "text": "Hello Cornelius! It's nice to meet you. How are you doing today? Is there anything I can help you with?"
Earl Lee2e463fb2025-04-17 11:22:22 -070077 }
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
95Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
96Anthropic-Ratelimit-Input-Tokens-Limit: 200000
97Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -070098Anthropic-Ratelimit-Input-Tokens-Reset: 2025-05-24T19:27:39Z
Earl Lee2e463fb2025-04-17 11:22:22 -070099Anthropic-Ratelimit-Output-Tokens-Limit: 80000
100Anthropic-Ratelimit-Output-Tokens-Remaining: 80000
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -0700101Anthropic-Ratelimit-Output-Tokens-Reset: 2025-05-24T19:27:40Z
Earl Lee2e463fb2025-04-17 11:22:22 -0700102Anthropic-Ratelimit-Requests-Limit: 4000
103Anthropic-Ratelimit-Requests-Remaining: 3999
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -0700104Anthropic-Ratelimit-Requests-Reset: 2025-05-24T19:27:38Z
Earl Lee2e463fb2025-04-17 11:22:22 -0700105Anthropic-Ratelimit-Tokens-Limit: 280000
106Anthropic-Ratelimit-Tokens-Remaining: 280000
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -0700107Anthropic-Ratelimit-Tokens-Reset: 2025-05-24T19:27:39Z
Earl Lee2e463fb2025-04-17 11:22:22 -0700108Cf-Cache-Status: DYNAMIC
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -0700109Cf-Ray: 944f31098c9e15d4-SJC
Earl Lee2e463fb2025-04-17 11:22:22 -0700110Content-Type: application/json
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -0700111Date: Sat, 24 May 2025 19:27:40 GMT
112Request-Id: req_011CPSuXBim8ntiKJDjvFUWG
Earl Lee2e463fb2025-04-17 11:22:22 -0700113Server: cloudflare
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -0700114Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Earl Lee2e463fb2025-04-17 11:22:22 -0700115Via: 1.1 google
116X-Robots-Tag: none
117
Josh Bleecher Snyderab6a8112025-05-24 12:22:00 -0700118{"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"}}