Messages
Create a message
Creates a response message for the provided conversation. Compatible with the Anthropic Messages API, so the Anthropic SDK works against this endpoint by changing base_url and overriding the default x-api-key header with Authorization. Support is in beta; behavior may change before general availability.
post/v1/messages
Request
- Base URLhttps://model-{model_id}.api.baseten.co
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.