v1
latestOpenAPI 3.1.02026-07-26106201349.6 KBCreate a Message
Anthropic-compatible endpoint.
Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation.
The Messages API can be used for either single queries or stateless multi-turn conversations.
Fireworks Quickstarts:
- Serverless Quickstart
- Deployments Quickstart
post/v1/messages
Request body
Example request
{
"max_tokens": 1024,
"messages": [
{
"content": "Hello, world",
"role": "user"
}
],
"model": "claude-opus-4-6"
}Response
Message object.
{"stackTrail":"components:schemas:AnthropicMessage","oasType":"schema","type":"unknown","description":"Referenced by this API but not published in the vendor's docs pages."}