API Reference
Create an Anthropic Messages-compatible response
POST
Create an Anthropic Messages-compatible response
Headers
Bearer API key.
API key alternative for Anthropic-compatible clients. Authorization takes precedence when both headers are present.
Body
application/json
Anthropic Messages-compatible request.
Minimum string length:
1Required range:
1 <= x <= 999990Minimum array length:
1Required range:
0 <= x <= 1Required range:
0 <= x <= 1Required range:
x >= 0Supported beta context-management subset.
keep=all does not remove any replayed thinking blocks, so it can be
safely consumed at the compatibility boundary and omitted from the vLLM
provider payload.
Available options:
auto, standard_only Available options:
harassment, harassment/threatening, hate, hate/threatening, illicit, illicit/violent, self-harm, self-harm/intent, self-harm/instructions, sexual, sexual/minors, violence, violence/graphic Response
Successful Response
Pattern:
^msg_Available options:
end_turn, max_tokens, stop_sequence, tool_use Allowed value:
"message"Allowed value:
"assistant"Last modified on August 11, 2026
Create an Anthropic Messages-compatible response