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.POST
api.apirunner.dev/v1/anthropic/messagesidle
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
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| model | body | claude-3-5-sonnet | claude-3-opus | claude-3-5-haiku | claude-3-5-sonnet | — |
| system | body | string | You are a terse senior engineer. | — |
| promptrequired | body | string | Explain what a 429 means and how to back off. | — |
| max_tokens | body | number | 300 | — |