Anthropic · AI & LLMs

Anthropic Claude Live

The Messages API with a system prompt and user turn. Switch between Sonnet, Opus and Haiku by changing one field.

Endpoints

POST/v1/anthropic/messages— Send a system prompt and user message, get the assistant reply.
POSTapi.apirunner.dev/v1/anthropic/messages
sandbox · sign up for your own key
idle
0 ms
Press Run to send the request.
curl -X POST "https://api.apirunner.dev/v1/anthropic/messages" \
  -H "Authorization: Bearer YOUR_RUNNER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-3-5-sonnet",
    "system": "You are a terse senior engineer.",
    "prompt": "Explain what a 429 means and how to back off.",
    "max_tokens": 300
  }'

Parameters

NameInTypeDefaultNotes
modelbodyclaude-3-5-sonnet | claude-3-opus | claude-3-5-haikuclaude-3-5-sonnet—
systembodystringYou are a terse senior engineer.—
promptrequiredbodystringExplain what a 429 means and how to back off.—
max_tokensbodynumber300—