Create a response
curl "$CCSIO_BASE_URL/responses" \
-H "Authorization: Bearer $CCSIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "your-responses-model",
"instructions": "Answer in one short sentence.",
"input": "What is an API gateway?"
}'input is a string or a list of input items; instructions is prepended as the system prompt. With "stream": true the answer is a stream of event-named server-sent events.
What is different from OpenAI
- The answer carries text output only: tool calls and reasoning items of the model do not come back. For tools, use Chat completions.
- The platform stores no response:
store,previous_response_idandbackgroundare passed on but have no effect. Send the context you need ininput. statusiscompleted, orincompletewithincomplete_details.reasonwhen the model stopped early (for example atmax_output_tokens).