একটি অ্যানথ্রপিক মেসেজ তৈরি করুন

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.