Documentation

Responses

Updated: Nov 26, 2026

Method and Path

POST
/v1/responses

Authorization

See API Guide - Authentication.

Header Parameters

See API Guide - Common Request Headers.

Request Body

application/json
  1. body
model*string

Model ID.

input?|array<>

Input content, either a string or an array of messages.

instructions?string

System instructions (equivalent to the system message in Chat Completions).

max_output_tokens?integer

Maximum number of output tokens.

temperature?number

Sampling temperature.

top_p?number

Nucleus sampling parameter.

stream?boolean

Whether to stream the response.

tools?array<>

Tool definitions.

tool_choice?|

Tool choice strategy.

reasoning?

Reasoning configuration.

previous_response_id?string

ID of the previous response, used to continue the context of a multi-turn conversation.

truncation?string

Truncation strategy.

Value in"auto""disabled"

Response Body

Successful response

application/json
  1. response
id?string

Response ID.

object?string

Object type.

created_at?integer

Creation time, Unix timestamp in seconds.

status?string

Response status.

model?string

ID of the model actually used.

output?array<>

List of output items.

usage?

Token usage statistics.

Example Request
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  }}