Claude Messages
API Reference
Claude Messages
POST
Claude Messages
التفويضات
API token from https://platform.acedata.cloud
الجسم
application/json
The model that will complete your prompt.
مثال:
"claude-sonnet-4-6"
Input messages.
The maximum number of tokens to generate before stopping.
مثال:
1024
Custom text sequences that will cause the model to stop generating.
Whether to incrementally stream the response using server-sent events.
System prompt.
Amount of randomness injected into the response.
النطاق المطلوب:
0 <= x <= 1مثال:
1
How the model should use the provided tools.
Definitions of tools that the model may use.
Only sample from the top K options for each subsequent token.
Use nucleus sampling.
الاستجابة
OK
Unique object identifier.
الخيارات المتاحة:
message الخيارات المتاحة:
assistant The model that handled the request.
الخيارات المتاحة:
end_turn, max_tokens, stop_sequence, tool_use 
