Responses
Updated: Nov 26, 2026
POST
See API Guide - Authentication.
See API Guide - Common Request Headers.
application/json- body
model*stringModel ID.
input?|array<>Input content, either a string or an array of messages.
instructions?stringSystem instructions (equivalent to the system message in Chat Completions).
max_output_tokens?integerMaximum number of output tokens.
temperature?numberSampling temperature.
top_p?numberNucleus sampling parameter.
stream?booleanWhether to stream the response.
tools?array<>Tool definitions.
tool_choice?|Tool choice strategy.
reasoning?Reasoning configuration.
previous_response_id?stringID of the previous response, used to continue the context of a multi-turn conversation.
truncation?stringTruncation strategy.
Value in
"auto""disabled"Successful response
application/json- response
id?stringResponse ID.
object?stringObject type.
created_at?integerCreation time, Unix timestamp in seconds.
status?stringResponse status.
model?stringID of the model actually used.
output?array<>List of output items.
usage?Token usage statistics.
curl -X POST 'https://api-sg.cysuo.ai/v1/responses' \ -H 'Content-Type: application/json' \ -d '{ "model": "deepseek-v4-flash", "input": "Hello, please introduce yourself."}'Example Response200
{ "id": "string", "object": "string", "created_at": 0, "status": "string", "model": "string", "output": [ { "type": "string", "id": "string", "status": "string", "role": "string", "content": [ { "type": "string", "text": "string" } ] } ], "usage": { "input_tokens": 0, "input_tokens_details": { "cached_tokens": 0 }, "output_tokens": 0, "output_tokens_details": { "reasoning_tokens": 0 }, "total_tokens": 0 }}