httprr trace v1
457 1329
POST https://api.anthropic.com/v1/messages HTTP/1.1
Host: api.anthropic.com
User-Agent: Go-http-client/1.1
Content-Length: 261
Anthropic-Version: 2023-06-01
Content-Type: application/json

{
 "model": "claude-3-7-sonnet-20250219",
 "messages": [
  {
   "role": "user",
   "content": [
    {
     "type": "text",
     "text": "Hi, my name is Cornelius",
     "cache_control": {
      "type": "ephemeral"
     }
    }
   ]
  }
 ],
 "max_tokens": 8192
}HTTP/2.0 200 OK
Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
Anthropic-Ratelimit-Input-Tokens-Limit: 200000
Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
Anthropic-Ratelimit-Input-Tokens-Reset: 2025-03-11T17:45:06Z
Anthropic-Ratelimit-Output-Tokens-Limit: 80000
Anthropic-Ratelimit-Output-Tokens-Remaining: 79000
Anthropic-Ratelimit-Output-Tokens-Reset: 2025-03-11T17:45:07Z
Anthropic-Ratelimit-Requests-Limit: 4000
Anthropic-Ratelimit-Requests-Remaining: 3999
Anthropic-Ratelimit-Requests-Reset: 2025-03-11T17:45:05Z
Anthropic-Ratelimit-Tokens-Limit: 280000
Anthropic-Ratelimit-Tokens-Remaining: 279000
Anthropic-Ratelimit-Tokens-Reset: 2025-03-11T17:45:06Z
Cf-Cache-Status: DYNAMIC
Cf-Ray: 91ecdd10fdc3f97f-SJC
Content-Type: application/json
Date: Tue, 11 Mar 2025 17:45:07 GMT
Request-Id: req_01LBtxMdNzxDcDVPGJSh7giv
Server: cloudflare
Via: 1.1 google
X-Robots-Tag: none

{"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
POST https://api.anthropic.com/v1/messages HTTP/1.1
Host: api.anthropic.com
User-Agent: Go-http-client/1.1
Content-Length: 583
Anthropic-Version: 2023-06-01
Content-Type: application/json

{
 "model": "claude-3-7-sonnet-20250219",
 "messages": [
  {
   "role": "user",
   "content": [
    {
     "type": "text",
     "text": "Hi, my name is Cornelius"
    }
   ]
  },
  {
   "role": "assistant",
   "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?"
    }
   ]
  },
  {
   "role": "user",
   "content": [
    {
     "type": "text",
     "text": "What is my name?",
     "cache_control": {
      "type": "ephemeral"
     }
    }
   ]
  }
 ],
 "max_tokens": 8192
}HTTP/2.0 200 OK
Anthropic-Organization-Id: 3c473a21-7208-450a-a9f8-80aebda45c1b
Anthropic-Ratelimit-Input-Tokens-Limit: 200000
Anthropic-Ratelimit-Input-Tokens-Remaining: 200000
Anthropic-Ratelimit-Input-Tokens-Reset: 2025-03-11T17:45:07Z
Anthropic-Ratelimit-Output-Tokens-Limit: 80000
Anthropic-Ratelimit-Output-Tokens-Remaining: 80000
Anthropic-Ratelimit-Output-Tokens-Reset: 2025-03-11T17:45:07Z
Anthropic-Ratelimit-Requests-Limit: 4000
Anthropic-Ratelimit-Requests-Remaining: 3999
Anthropic-Ratelimit-Requests-Reset: 2025-03-11T17:45:07Z
Anthropic-Ratelimit-Tokens-Limit: 280000
Anthropic-Ratelimit-Tokens-Remaining: 280000
Anthropic-Ratelimit-Tokens-Reset: 2025-03-11T17:45:07Z
Cf-Cache-Status: DYNAMIC
Cf-Ray: 91ecdd1ae9a6f97f-SJC
Content-Type: application/json
Date: Tue, 11 Mar 2025 17:45:07 GMT
Request-Id: req_01MBf3RWXNfQgwhVRwwkBYSn
Server: cloudflare
Via: 1.1 google
X-Robots-Tag: none

{"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}}