anthropic-messages.openapi_other
Create 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.
Example response
{
"content": [
{
"citations": null,
"text": "Hi! How can I help you today?",
"type": "text"
}
],
"id": "msg_013Zva2CMHLNnXjNJJKqJ2EF",
"model": "claude-opus-4-6",
"role": "assistant",
"stop_reason": "end_turn",
"stop_sequence": null,
"type": "message"
}Changes
Changed in 1 of the 27 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○