When To Use This
Usetm infer responses when you want the /v1/responses endpoint from the CLI.
Provide the request body as JSON and either include model in the body or pass --model to override it.
Usage
Examples
Send a serverless responses request.
Stream response output text over SSE and fail a stalled stream after 30 seconds of upstream silence.
Options
Inherited Global Options
Auth Scope
- inference-api-key
Caveats
--modeloverrides themodelfield inside the JSON request body.--streamcurrently supports only--output text.

