Create an Anthropic message
Changed onSend native Anthropic Messages requests through Respan using provider credentials configured in Respan. Authenticate with your Respan key in x-api-key for Anthropic SDKs or Authorization: Bearer for bearer clients.
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/anthropic/v1/messages
- Authnone required
Headers
Your Respan API key in Anthropic's native authentication header. Bearer authentication is also accepted.
Request body
Response
Anthropic response or event stream.
Changes
- breaking
request body became required
- breaking
the
request property's minItems was increased to1 - info
api operation id
anthropicGateway_api_anthropic_v1_messages_createremoved and replaced withapi_anthropic_v1_messages_create - info
api tag
Anthropic Gatewayadded - info
api tag
anthropicGatewayremoved - info
added the media type
text/event-streamfor the response with the status
- breaking
- info
the
headerrequest parameteranthropic-versionbecame optional - info
added the non-success response with the status
- info
removed the non-success response with the status
- info