Skip to main content

List Messages

POST 

/chat-svc/thread/:threadId/messages

Fetch messages (and associated assets) for a specific chat thread.

Request

Path Parameters

    threadId stringrequired

    Thread ID

Responses

Messages and assets successfully retrieved

Schema

    assets

    object[]

  • Array [

  • content string

    Content is the base64 encoded binary file direcly embedded in the asset itself

    createdAt string
    description string
    id string
    type string
    updatedAt string
    url string

    Url of the asset where

  • ]

  • messages

    object[]

  • Array [

  • assetIds string[]

    AssetIds defines the attachments the message has.

    content string

    Content of the message eg. "Hi, what's up?"

    createdAt string
    id string
    threadId string

    ThreadId of the message.

    updatedAt string
    userId string

    UserId is the id of the user who wrote the message. For AI messages this field is empty.

  • ]

Loading...