Creates a model response given a structured list of input messages using the Anthropic API.
model
: The supported models depend on the region, currently the following models are supported in the EU: claude-sonnet-4-20250514
, claude-3-7-sonnet-20250219
, claude-3-5-sonnet-20240620
and the following models are supported in the US: claude-sonnet-4-20250514
, claude-3-5-sonnet-20240620
, claude-3-5-haiku-20241022
, claude-3-opus-20240229
.429 Too Many Requests
response.
Please note that the rate limits are subject to change, refer to this documentation for the most up-to-date information.
In case you need a higher rate limit, please contact us at support@langdock.com.
API key as Bearer token. Format "Bearer YOUR_API_KEY"
The region of the API to use.
eu
, us
Message object.
The response is of type object
.