Create a model response

post/v0/responses

Request body

includestring[]
model'witan-alfred' | 'witan-alfred-mini' | 'witan-edward' | 'witan-edward-mini'
streamboolean

Response

OK

idstring required
object'response' required
created_atinteger required
status'completed' | 'in_progress' | 'failed' required
output_textstring required
{"stackTrail":"paths:/v0/responses:post:responses:200:content:application/json:schema:properties:incomplete_details","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v0/responses:post:responses:200:content:application/json:schema:properties:instructions","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v0/responses:post:responses:200:content:application/json:schema:properties:metadata","oasType":"schema","type":"unknown"}
model'witan-alfred' | 'witan-alfred-mini' | 'witan-edward' | 'witan-edward-mini' required
parallel_tool_callsfalse required
{"stackTrail":"paths:/v0/responses:post:responses:200:content:application/json:schema:properties:temperature","oasType":"schema","type":"unknown"}
tool_choice'none' required
{"stackTrail":"paths:/v0/responses:post:responses:200:content:application/json:schema:properties:top_p","oasType":"schema","type":"unknown"}

Changes

Changed in 3 of the 5 revisions of this API.87

  • c17263d2285833See the full diff
    • removed subschema #1 subschema #2 subschema #3 from the / request property anyOf list

      request-property-any-of-removed

    • added subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 subschema #7 subschema #8 subschema #9 to the response body oneOf list for the response status (media type: text/event-stream)

      response-body-one-of-added

    • added subschema #1: Response Output Message subschema #2: Response Reasoning to the / response property oneOf list for the response status (media type: application/json)

      response-property-one-of-added

    • added subschema #1: Response Input Message subschema #2: Response Output Message subschema #3: Response Reasoning to the / request property anyOf list

      request-property-any-of-added

    • removed subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 subschema #7 subschema #8 subschema #9 from the response body oneOf list for the response status (media type: text/event-stream)

      response-body-one-of-removed

    • removed subschema #1 subschema #2 from the / response property oneOf list for the response status (media type: application/json)

      response-property-one-of-removed

  • 36d2b811bb5f53See the full diff
    • added the new required request property ////////

      new-required-request-property

    • the /////// request property type changed from no type to object

      request-property-type-changed

    • added subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 subschema #7 subschema #8 subschema #9 to the response body oneOf list for the response status (media type: text/event-stream)

      response-body-one-of-added

    • the /////// response's property type changed from no type to object for status (media type: application/json)

      response-property-type-changed

    • the / response's property type changed from no type to object for status (media type: application/json)

      response-property-type-changed

    • removed subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 subschema #7 subschema #8 subschema #9 from the response body oneOf list for the response status (media type: text/event-stream)

      response-body-one-of-removed

    • added the required property //////// to the response with the status (media type: application/json)

      response-required-property-added

    • added the required property // to the response with the status (media type: application/json)

      response-required-property-added

    • endpoint added

      endpoint-added