Responses

Generate a response

Changed on

Create a response using the specified model and instructions.

post/v1/responses

Request

  • Base URL
    https://api.neosantara.xyz
  • URL
    https://api.neosantara.xyz/v1/responses
  • Auth
    HTTP bearer

Request body

modelstring nullable
previous_response_idstring nullable
includestring[]
tool_choiceunknown
metadataobject nullable
temperaturenumber nullable
top_pnumber nullable
presence_penaltynumber nullable
frequency_penaltynumber nullable
parallel_tool_callsboolean nullable
streamboolean
stream_optionsunknown
backgroundboolean
max_output_tokensinteger nullable
max_tool_callsinteger nullable
userstring nullable
safety_identifierstring nullable
prompt_cache_keystring nullable
prompt_cache_retentionunknown
truncation'auto' | 'disabled'
instructionsstring nullable
storeboolean
service_tierunknown
top_logprobsinteger nullable
conversationunknown

Response

Successful response

idstring required
object'response' required
created_atnumber required
status'queued' | 'in_progress' | 'completed' | 'failed' required
modelstring required
usageunknown

Changes

    • breaking

      removed subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 subschema #11 from the // request property anyOf list

    • breaking

      added subschema #2 subschema #3 subschema #5 to the / response property oneOf list for the response status

    • info

      added subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 subschema #11 to the // request property anyOf list

    • info

      added the new max enum value to the request property /

    • info

      added the new minimal enum value to the request property /

    • info

      removed subschema #2 subschema #3 subschema #5 from the / response property oneOf list for the response status