Responses

Create Response

post/v1/responses

Request

Headers

Content-Type'application/json' required

Media type of the request body. Must be set to application/json

Request body

modelstring required

Model name to invoke, e.g. MiniMax-M3.1-Flash

service_tier'standard' | 'priority'

Service tier for request admission. Supported values are standard and priority. If omitted, the request uses the standard tier. The priority price is 1.5 times the standard price and ensures priority admission so the request is processed ahead of other requests, leading to faster responses and fewer failures. MiniMax-M3.1-Flash does not support this field.

instructionsstring

System instructions

max_output_tokensinteger

Maximum output token count. Reasoning tokens count toward it too, so a value that is too small yields status: "incomplete" with no message item in output.

temperaturenumber float

Not supported yet; any value passed has no effect. MiniMax-M3.1-Flash and MiniMax-M3 always use 1.

top_pnumber float

Not supported yet; any value passed has no effect. MiniMax-M3.1-Flash and MiniMax-M3 always use 0.95. If passed, the value must be within (0, 1].

streamboolean

Set to true to enable SSE streaming response

tool_choice'auto'

Tool selection strategy: auto lets the model decide whether to call tools

metadataobject

Request metadata. Both keys and values are strings

prompt_cache_keystring

Prompt cache routing identifier

Example request

{
  "model": "MiniMax-M3.1-Flash"
}

Response

Successful response

idstring

Response ID

object'response'

Object type, always response

created_atinteger

Response creation time (Unix seconds)

modelstring

Actual model that processed the request

status'completed' | 'incomplete' | 'failed'

Response status

output_textstring nullable

Convenience field: concatenates all text outputs

parallel_tool_callsboolean

This parameter is not supported in requests. If passed, it will be ignored, and the response always returns true.

storeboolean

This parameter is not supported in requests. If passed, it will be ignored, and the response always returns false.

truncation'disabled'

This parameter is not supported in requests. If passed, it will be ignored, and the response always returns disabled.

previous_response_idstring nullable

This parameter is not supported in requests. If passed, it will be ignored, and the response always returns null.

conversationobject nullable

This parameter is not supported in requests. If passed, it will be ignored, and the response always returns null.

service_tierstring nullable

The service tier actually applied to this request: standard or priority. MiniMax-M3.1-Flash does not support this field, so the response returns null.

safety_identifierstring nullable

This parameter is not supported in requests. If passed, it will be ignored, and the response always returns null.

Example response

{
  "id": "abc123",
  "model": "MiniMax-M3.1-Flash"
}

Changes

No recorded changes to this operation across all 1 revision of this API.