---
source: lib/components/fabro-llm/tests/it/wire/anthropic.rs
expression: rendered
---
{
  "method": "POST",
  "path": "/messages",
  "headers": [
    [
      "accept",
      "*/*"
    ],
    [
      "anthropic-version",
      "2023-06-01"
    ],
    [
      "content-length",
      "340"
    ],
    [
      "content-type",
      "application/json"
    ],
    [
      "host",
      "[host]"
    ],
    [
      "x-api-key",
      "test-key"
    ]
  ],
  "body": {
    "model": "claude-sonnet-4-20250514",
    "messages": [
      {
        "role": "user",
        "content": [
          {
            "type": "text",
            "text": "What is the capital of France?"
          }
        ]
      },
      {
        "role": "assistant",
        "content": [
          {
            "type": "text",
            "text": "Paris."
          }
        ]
      },
      {
        "role": "user",
        "content": [
          {
            "type": "text",
            "text": "And of Spain?"
          }
        ]
      }
    ],
    "max_tokens": 128,
    "system": "You are a terse assistant.",
    "stop_sequences": []
  }
}
