http_interactions:
- request:
    method: POST
    uri: https://api.anthropic.com/v1/files
    body:
      fields:
        file:
          path: apples.pdf
          type: application/pdf
          name: ~
  response:
    status: 200
    headers:
      date: Fri, 07 Nov 2025 18:18:52 GMT
      content-type: application/json
      content-encoding: gzip
      request-id: req_011CUtzMwVXdeQh86KFegqQa
      strict-transport-security: max-age=31536000; includeSubDomains; preload
      anthropic-organization-id: bf3687d8-1b59-41eb-9761-a1fd70b24e7e
      x-envoy-upstream-service-time: '415'
      cf-cache-status: DYNAMIC
      x-robots-tag: none
      server: cloudflare
      cf-ray: 99aed5ecabad6731-DFW
    body:
      string: '{"type":"file","id":"file_011CUtzMwynzSjg9DgLxeUgT","size_bytes":14560,"created_at":"2025-11-07T18:18:52.447000Z","filename":"apples.pdf","mime_type":"application/pdf","downloadable":false}'
  recorded_at: 2025-11-07 18:18:52
- request:
    method: POST
    uri: https://api.anthropic.com/v1/messages
    body:
      string: '{"model":"claude-sonnet-4-5-20250929","messages":[{"role":"user","content":[{"type":"text","text":"What''s
        the title of this document?"},{"type":"document","source":{"type":"file","file_id":"file_011CUtzMwynzSjg9DgLxeUgT"},"cache_control":{"type":"ephemeral","ttl":"5m"}}]}],"stream":false,"temperature":0,"max_tokens":4096}'
  response:
    status: 200
    headers:
      date: Fri, 07 Nov 2025 18:18:56 GMT
      content-type: application/json
      content-encoding: gzip
      anthropic-ratelimit-input-tokens-limit: '2000000'
      anthropic-ratelimit-input-tokens-remaining: '1998000'
      anthropic-ratelimit-input-tokens-reset: '2025-11-07T18:18:55Z'
      anthropic-ratelimit-output-tokens-limit: '400000'
      anthropic-ratelimit-output-tokens-remaining: '400000'
      anthropic-ratelimit-output-tokens-reset: '2025-11-07T18:18:55Z'
      anthropic-ratelimit-requests-limit: '4000'
      anthropic-ratelimit-requests-remaining: '3999'
      anthropic-ratelimit-requests-reset: '2025-11-07T18:18:52Z'
      retry-after: '5'
      anthropic-ratelimit-tokens-limit: '2400000'
      anthropic-ratelimit-tokens-remaining: '2398000'
      anthropic-ratelimit-tokens-reset: '2025-11-07T18:18:55Z'
      request-id: req_011CUtzMyudnuuVHTSnnbXkh
      strict-transport-security: max-age=31536000; includeSubDomains; preload
      anthropic-organization-id: bf3687d8-1b59-41eb-9761-a1fd70b24e7e
      x-envoy-upstream-service-time: '3139'
      cf-cache-status: DYNAMIC
      x-robots-tag: none
      server: cloudflare
      cf-ray: 99aed5f079786731-DFW
    body:
      string: '{"model":"claude-sonnet-4-5-20250929","id":"msg_01Fki5kssYHhER4jUzZgNeFK","type":"message","role":"assistant","content":[{"type":"text","text":"The
        title of this document is **\"Apples are tasty\"**."}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":3,"cache_creation_input_tokens":1636,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":1636,"ephemeral_1h_input_tokens":0},"output_tokens":19,"service_tier":"standard"}}'
  recorded_at: 2025-11-07 18:18:56
- request:
    method: POST
    uri: https://api.anthropic.com/v1/messages
    body:
      string: '{"model":"claude-sonnet-4-5-20250929","messages":[{"role":"user","content":[{"type":"text","text":"What''s
        the title of this document?"},{"type":"document","source":{"type":"file","file_id":"file_011CUtzMwynzSjg9DgLxeUgT"}}]},{"role":"assistant","content":[{"type":"text","text":"The
        title of this document is **\"Apples are tasty\"**."}]},{"role":"user","content":[{"type":"text","text":"What
        apple is not tasty? State only the name","cache_control":{"type":"ephemeral","ttl":"5m"}}]}],"stream":false,"temperature":0,"max_tokens":4096}'
  response:
    status: 200
    headers:
      date: Fri, 07 Nov 2025 18:18:59 GMT
      content-type: application/json
      content-encoding: gzip
      anthropic-ratelimit-input-tokens-limit: '2000000'
      anthropic-ratelimit-input-tokens-remaining: '2000000'
      anthropic-ratelimit-input-tokens-reset: '2025-11-07T18:18:58Z'
      anthropic-ratelimit-output-tokens-limit: '400000'
      anthropic-ratelimit-output-tokens-remaining: '400000'
      anthropic-ratelimit-output-tokens-reset: '2025-11-07T18:18:59Z'
      anthropic-ratelimit-requests-limit: '4000'
      anthropic-ratelimit-requests-remaining: '3999'
      anthropic-ratelimit-requests-reset: '2025-11-07T18:18:56Z'
      retry-after: '2'
      anthropic-ratelimit-tokens-limit: '2400000'
      anthropic-ratelimit-tokens-remaining: '2400000'
      anthropic-ratelimit-tokens-reset: '2025-11-07T18:18:58Z'
      request-id: req_011CUtzNEVUhi3NXLHv1C6YM
      strict-transport-security: max-age=31536000; includeSubDomains; preload
      anthropic-organization-id: bf3687d8-1b59-41eb-9761-a1fd70b24e7e
      x-envoy-upstream-service-time: '3032'
      cf-cache-status: DYNAMIC
      x-robots-tag: none
      server: cloudflare
      cf-ray: 99aed605ad6e6731-DFW
    body:
      string: '{"model":"claude-sonnet-4-5-20250929","id":"msg_01RT7MjagPvpTRVVgviG5us3","type":"message","role":"assistant","content":[{"type":"text","text":"Red
        delicious"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":3,"cache_creation_input_tokens":33,"cache_read_input_tokens":1636,"cache_creation":{"ephemeral_5m_input_tokens":33,"ephemeral_1h_input_tokens":0},"output_tokens":6,"service_tier":"standard"}}'
  recorded_at: 2025-11-07 18:18:59
- request:
    method: POST
    uri: https://api.anthropic.com/v1/messages
    body:
      string: '{"model":"claude-sonnet-4-5-20250929","messages":[{"role":"user","content":[{"type":"text","text":"What''s
        the title of this document?"},{"type":"document","source":{"type":"file","file_id":"file_011CUtzMwynzSjg9DgLxeUgT"}}]},{"role":"assistant","content":[{"type":"text","text":"The
        title of this document is **\"Apples are tasty\"**."}]},{"role":"user","content":[{"type":"text","text":"What
        apple is not tasty? State only the name"}]},{"role":"assistant","content":[{"type":"text","text":"Red
        delicious"}]},{"role":"user","content":[{"type":"text","text":"What apple
        is not tasty? State only the name","cache_control":{"type":"ephemeral","ttl":"5m"}}]}],"stream":false,"temperature":0,"max_tokens":4096}'
  response:
    status: 200
    headers:
      date: Fri, 07 Nov 2025 18:19:02 GMT
      content-type: application/json
      content-encoding: gzip
      anthropic-ratelimit-input-tokens-limit: '2000000'
      anthropic-ratelimit-input-tokens-remaining: '2000000'
      anthropic-ratelimit-input-tokens-reset: '2025-11-07T18:19:02Z'
      anthropic-ratelimit-output-tokens-limit: '400000'
      anthropic-ratelimit-output-tokens-remaining: '400000'
      anthropic-ratelimit-output-tokens-reset: '2025-11-07T18:19:02Z'
      anthropic-ratelimit-requests-limit: '4000'
      anthropic-ratelimit-requests-remaining: '3999'
      anthropic-ratelimit-requests-reset: '2025-11-07T18:18:59Z'
      retry-after: '59'
      anthropic-ratelimit-tokens-limit: '2400000'
      anthropic-ratelimit-tokens-remaining: '2400000'
      anthropic-ratelimit-tokens-reset: '2025-11-07T18:19:02Z'
      request-id: req_011CUtzNUjyfa4EiN4CaYFFY
      strict-transport-security: max-age=31536000; includeSubDomains; preload
      anthropic-organization-id: bf3687d8-1b59-41eb-9761-a1fd70b24e7e
      x-envoy-upstream-service-time: '2865'
      cf-cache-status: DYNAMIC
      x-robots-tag: none
      server: cloudflare
      cf-ray: 99aed61a89676731-DFW
    body:
      string: '{"model":"claude-sonnet-4-5-20250929","id":"msg_016PoxjHH7bV3jJjVm8gKYTv","type":"message","role":"assistant","content":[{"type":"text","text":"Red
        delicious"}],"stop_reason":"end_turn","stop_sequence":null,"usage":{"input_tokens":3,"cache_creation_input_tokens":20,"cache_read_input_tokens":1669,"cache_creation":{"ephemeral_5m_input_tokens":20,"ephemeral_1h_input_tokens":0},"output_tokens":6,"service_tier":"standard"}}'
  recorded_at: 2025-11-07 18:19:02
- request:
    method: GET
    uri: https://api.anthropic.com/v1/files/file_011CUtzMwynzSjg9DgLxeUgT/content
  response:
    status: 400
    headers:
      date: Fri, 07 Nov 2025 18:19:02 GMT
      content-type: application/json
      content-length: '170'
      cf-ray: 99aed62e4a076731-DFW
      x-should-retry: 'false'
      request-id: req_011CUtzNiEauXYWPs8EcBgja
      strict-transport-security: max-age=31536000; includeSubDomains; preload
      anthropic-organization-id: bf3687d8-1b59-41eb-9761-a1fd70b24e7e
      x-envoy-upstream-service-time: '79'
      cf-cache-status: DYNAMIC
      x-robots-tag: none
      server: cloudflare
    body:
      string: '{"type":"error","error":{"type":"invalid_request_error","message":"File
        ''file_011CUtzMwynzSjg9DgLxeUgT'' is not downloadable"},"request_id":"req_011CUtzNiEauXYWPs8EcBgja"}'
  recorded_at: 2025-11-07 18:19:02
- request:
    method: GET
    uri: https://api.anthropic.com/v1/files
  response:
    status: 200
    headers:
      date: Fri, 07 Nov 2025 18:19:03 GMT
      content-type: application/json
      content-encoding: gzip
      request-id: req_011CUtzNixk9q8mEpDipLUyD
      strict-transport-security: max-age=31536000; includeSubDomains; preload
      anthropic-organization-id: bf3687d8-1b59-41eb-9761-a1fd70b24e7e
      x-envoy-upstream-service-time: '115'
      cf-cache-status: DYNAMIC
      x-robots-tag: none
      server: cloudflare
      cf-ray: 99aed62f5df36731-DFW
    body:
      string: '{"data":[{"type":"file","id":"file_011CUtzMwynzSjg9DgLxeUgT","size_bytes":14560,"created_at":"2025-11-07T18:18:52.447000Z","filename":"apples.pdf","mime_type":"application/pdf","downloadable":false},{"type":"file","id":"file_011CUtz1KtLwE47MEGA6wyXb","size_bytes":14560,"created_at":"2025-11-07T18:14:12.687000Z","filename":"apples.pdf","mime_type":"application/pdf","downloadable":false},{"type":"file","id":"file_011CUsToD2kzLe1fexsvUrZ1","size_bytes":14560,"created_at":"2025-11-06T22:57:27.998000Z","filename":"apples.pdf","mime_type":"application/pdf","downloadable":false}],"has_more":false,"first_id":"file_011CUtzMwynzSjg9DgLxeUgT","last_id":"file_011CUsToD2kzLe1fexsvUrZ1"}'
  recorded_at: 2025-11-07 18:19:03
- request:
    method: DELETE
    uri: https://api.anthropic.com/v1/files/file_011CUtzMwynzSjg9DgLxeUgT
  response:
    status: 200
    headers:
      date: Fri, 07 Nov 2025 18:19:03 GMT
      content-type: application/json
      content-encoding: gzip
      request-id: req_011CUtzNjnbZ5Q8DKXpYyHXM
      strict-transport-security: max-age=31536000; includeSubDomains; preload
      anthropic-organization-id: bf3687d8-1b59-41eb-9761-a1fd70b24e7e
      x-envoy-upstream-service-time: '329'
      cf-cache-status: DYNAMIC
      x-robots-tag: none
      server: cloudflare
      cf-ray: 99aed6309a5a6731-DFW
    body:
      string: '{"id":"file_011CUtzMwynzSjg9DgLxeUgT","type":"file_deleted"}'
  recorded_at: 2025-11-07 18:19:03
recorded_with: VCR-vcr/2.0.0
