Skip to main content

Create a message

POST 

/v1/messages

Anthropic Messages, on any model in the catalog. Authenticate with Authorization: Bearer (the SDK's auth_token), never x-api-key. model takes a catalog alias or a real Claude model name. Set stream: true for the Anthropic event sequence. The response's model echoes what you sent.

Request

Responses

The message.

Response Headers
    X-MindsHub-Clamped-Params

    Parameters adjusted to the model's range, as name=requested>applied. Absent when nothing was clamped.

    X-MindsHub-Dropped-Params

    Comma-separated parameters the target model could not take and that were dropped. Absent when nothing was dropped.