Create a message
POST/v1/messages
Answers a conversation in the shape of the Anthropic Messages API, so Anthropic SDKs and
tools work by pointing their base URL at Spice. model names any chat model in the
Spicepod: a model with from: anthropic receives the request as sent, and any other model
receives it translated into a chat completion. The request and the response, streamed
("stream": true) or not, follow the Messages API reference:
<https://docs.claude.com/en/api/messages>.
Request​
Responses​
- 200
- 400
- 404
- 503
The model's message, or with "stream": true, its stream of server-sent events
The request is invalid, or asks for something the model cannot serve
The model was not found
The model failed to load
