Skip to main content

Chat With Chat App

POST 

/api/v1/apps/:id/chat

Chat with a chat app.

Request

Path Parameters

    id uuidrequired

Body

required

    messages

    object[]

  • Array [

  • id uuid

    ID of the message, if any. a UUID.

    role MessageRole (string)required

    Message role.

    Possible values: [system, user, assistant, function, tool, chatbot, model]

    content Content (string)required

    data

    object

    Additional data to be stored with the message.

    anyOf

    object

    class_name Class Name (string)
    Default value: base_component
  • ]

Responses

Successful Response

Schema

    any