Endpoint
POST https://api.uniontoken.ai/v1/responses
Request Example
{
"model": "anthropic/claude-opus-4-6",
"instructions": "You are a professional assistant. Answer concisely.",
"input": [{"type": "message", "role": "user", "content": [{"type": "text", "text": "What is a large language model?"}]}],
"max_output_tokens": 1024,
"temperature": 0.7
}
Main Parameters
| Parameter | Type | Description |
|---|
| model | string | Model identifier (required) |
| instructions | string | System instructions, equivalent to system prompt |
| input | array | Input content, supports message or text type |
| max_output_tokens | int | Max output tokens |
| temperature | float | Randomness, 0-2 |