Messages
claude-opus-4-6 Messages API
The model parameter is fixed to claude-opus-4-6.
Authorization
BearerAuth
Model relay interface recognition. Request heading: Autoration: Bearer .
In: header
Request Body
application/json
Claude Model Name.
"claude-opus-4-6"Message arrays, usually containing only _FD_PROTECT_0 _ and _FD_PROTECT_1 __. Dialogue message list. Scope: At least 1 message.
System tip. Can be a string or block array. system string fields. Scope: Non-empty string or verification by business configuration.
Max output Token. Maximum output number of Tokens. Scope: 1 to the maximum of the context of the model.
1 <= valueSample temperature. Sample temperature. Range: 0 to 2; the larger the value, the more random.
0 <= value <= 2Enables flowback. Whether or not to enable flow output. Scope: True or false.
Claude Tool Definition. . Scope: The length of arrays and the complexity of schema are based on upstream limits.
Response Body
application/json
curl -X POST "https://api.tokaify.com/v1/messages" \ -H "Content-Type: application/json" \ -d '{ "model": "claude-opus-4-6", "messages": [ { "role": "user", "content": "Hello, please introduce yourself in one sentence." } ], "max_tokens": 1024 }'{
"id": "task_01JZ8M9Q4R7V2K8N9P0Q",
"type": "text",
"role": "user",
"content": "Hello, please introduce yourself in one sentence.",
"model": "claude-opus-4-6",
"usage": {
"prompt_tokens": 1,
"completion_tokens": 1,
"total_tokens": 1,
"input_tokens": 1,
"output_tokens": 1
},
"stop_reason": "string"
}How is this guide?
Last updated on