POST /v1/responses with Authorization: Bearer YOUR_API_KEY.
Parameters
| Parameter | Required | Meaning |
|---|---|---|
model | Yes | Exact currently available model ID. |
input | No | Text or supported multimodal input. |
instructions | No | System-level instructions controlling the model’s role or behavior. |
previous_response_id | No | Previous response ID, only where the selected model and route support continuation. Context billing also depends on that route. |
truncation | No | Truncation policy: auto or disabled, where supported. |
Newer Claude models ignore sampling parameters
When you call the Claude Sonnet 5 family, Claude Opus 5 family, Claude Opus 4.7, Claude Opus 4.8, Claude Haiku 5.5 and Claude Fable 5 family through this endpoint,temperature and top_p have no effect: Infistar removes them before forwarding the request, and the request succeeds without an error. These models do not support custom sampling parameters; describe the style you want in the prompt instead.
Through Claude Messages (POST /v1/messages), Infistar forwards these parameters unchanged; they are still not guaranteed to take effect, and some lines reject the request, so leave them out.