Create an Anthropic Message

Use Anthropic-native Messages through AnyInt Gateway.

Send the Anthropic Messages request shape without translating it to an OpenAI-compatible payload.

POST/anthropic/v1/messages

Request Body

FieldTypeRequiredDescription
modelstringYesAnthropic-compatible model identifier.
messagesarrayYesAnthropic message content blocks.
max_tokensintegerYesMaximum tokens to generate.
systemstring or arrayNoSystem instructions.
  • POST /anthropic/v1/messages/count_tokens counts input tokens.
  • GET /anthropic/v1/models lists available Anthropic models.