v1

latestOpenAPI 3.0.02026-07-2380631.2 KB

post/v1/messages

Request body

OR

Response

modelstring required

Model used to generate the response.

idstring required

Unique identifier of the generated message.

typestring required

Object type.

rolestring required

Role of the message author.

stop_reasonstring nullable

Reason why generation stopped.

stop_sequencestring nullable

Custom stop sequence that caused generation to stop.

{"stackTrail":"paths:/v1/messages:post:responses:200:content:application/json:schema:properties:stop_details","oasType":"schema","type":"unknown","description":"Additional details about why generation stopped.","nullable":true}