Anthropic Messages API — native pass-through via litellm.
Documentation Index
Fetch the complete documentation index at: https://www.edenai.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List of fallback model IDs to try if the primary model fails. Models are tried in order. Example: ['anthropic/claude-3-opus', 'openai/gpt-4o']
3List of model candidates for dynamic routing when using model='@edenai'. Each entry should be 'provider/model', e.g. ['openai/gpt-4o', 'anthropic/claude-3-5-sonnet-20241022']. If not provided, defaults to all available models.
x >= 10 <= x <= 20 <= x <= 1Successful Response
Response body for POST /v1/messages (non-streaming).
Unique identifier for the message.
Model that generated the message.
Ordered list of content blocks produced by the model.
Token usage for the request.
Object type. Always 'message' for this endpoint.
"message"Conversational role of the response.
"assistant"Reason generation stopped, if known.
end_turn, max_tokens, stop_sequence, tool_use Custom stop sequence that triggered the stop, if any.