Create a chat completion message

post/create-chat-completion

Request body

chat_idstring required

Unique id of the chat to create completion.

contentstring required

user message to generate agent chat completion.

Example request

{
  "chat_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
  "content": "hi how are you doing?"
}

Response

Successfully created chat completion.

Example response

{
  "messages": [
    {
      "message_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6",
      "role": "agent",
      "content": "hi how are you doing?",
      "created_timestamp": 1703302428855
    }
  ]
}

Changes

Changed in 2 of the 28 revisions of this API.2596

  • 8ee53928bf312595See the full diff
    • ▲

      the ///// response's property type changed from object to no type for status

      response-property-type-changed

    • ▲

      the ///// response's property type changed from object to no type for status

      response-property-type-changed

    • ▲

      the ///// response's property type changed from object to no type for status

      response-property-type-changed

    • ▲

      the ///// response's property type changed from object to no type for status

      response-property-type-changed

    • ▲

      the ///// response's property type changed from object to no type for status

      response-property-type-changed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ▲

      removed the required property ////// from the response with the status

      response-required-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property ////// from the response with the status

      response-optional-property-removed

    • ○

      added subschema #2 to the ///// response property allOf list for the response status

      response-property-all-of-added

    • ○

      added subschema #2 to the ///// response property allOf list for the response status

      response-property-all-of-added

    • ○

      added subschema #2 to the ///// response property allOf list for the response status

      response-property-all-of-added

    • ○

      added subschema #2 to the ///// response property allOf list for the response status

      response-property-all-of-added

    • ○

      added subschema #2 to the ///// response property allOf list for the response status

      response-property-all-of-added

    • ○

      added the optional property ////// to the response with the status

      response-optional-property-added