Sign in

Send messages

documented

Send messages to Claude for conversational interactions.

POST /v1/messagesMessagesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.anthropic.com/v1/messages" \
  -X POST \
  -H "x-api-key: {{ANTHROPIC_API_KEY}}" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model": "{{$model}}", "max_tokens": {{$max_tokens}}, "messages": [{"role": "user", "content": "{{$content}}"}]}'