Messages (Anthropic-compatible)

Anthropic-native Messages API. Drop-in endpoint for Claude SDKs, Claude Code, and Anthropic-compatible clients. Supports streaming, tool use, and vision.

post/v1/messages

Request

  • Base URL: https://api.jarvisclaw.ai
  • URL: https://api.jarvisclaw.ai/v1/messages
  • Auth: HTTP x402

Request body

max_tokensinteger required

Maximum tokens to generate (required by Anthropic API)

modelstring required

Model ID (e.g. claude-sonnet-4-6, claude-opus-4-1)

streamboolean

Enable streaming responses

systemstring

System prompt

Response

Successful response

dataobject

Changes

No recorded changes to this operation across all 1 revision of this API.