Skip to content

Claude Messages

This section lists the implemented endpoints under this capability.

Claude chat

POST /v1/messages

Anthropic Claude Messages API compatible request. The request must include the anthropic-version header.

Authentication

  • Bearer Token (Authorization: Bearer <token>)

Parameters

Name In Type Required Description
anthropic-version header string yes Anthropic API version
x-api-key header string no Anthropic API key (optional, Bearer token can also be used)

Request Body

  • Content-Type: application/json
  • Schema: ClaudeRequest
Field Type Required Description
model string yes -
messages array[ClaudeMessage] yes -
system - no -
max_tokens integer yes -
temperature number no -
top_p number no -
top_k integer no -
stream boolean no -
stop_sequences array[string] no -
tools array[object] no -
tool_choice - no -
thinking object no -
metadata object no -

Responses

Status Description Schema
200 Response created successfully ClaudeResponse