messages
get/api/v1/messages

Request

  • Base URL: https://app.lobehub.com
  • URL: https://app.lobehub.com/api/v1/messages
  • Auth: HTTP bearer

Query parameters

threadIdstring
topicIdstring nullable
userIdstring nullable
role'user' | 'system' | 'assistant' | 'tool' nullable
keywordstring
pageinteger
pageSizeinteger
limitinteger
offsetinteger

Response

Successful response

messagestring
successtrue required
timestampstring date-time required

Changes

    • breaking

      query request parameter topicId list-of-types was narrowed by removing types null

    • breaking

      query request parameter userId list-of-types was narrowed by removing types null

    • breaking

      for the query request parameter page, the type changed from string to integer

    • breaking

      for the query request parameter pageSize, the type changed from string to integer

    • breaking

      for the query request parameter topicId, the type changed from no type to string null

    • breaking

      for the query request parameter userId, the type changed from no type to string null

    • breaking

      the response property const value false was removed for the status

    • breaking

      the response's property type changed from string to array for status

    • breaking

      removed the required property from the response with the status

    • warning

      for the query request parameter page, the max was set to 1000000.00

    • warning

      for the query request parameter pageSize, the max was set to 100.00

    • warning

      for the query request parameter page, the min was set to 1.00

    • warning

      for the query request parameter pageSize, the min was set to 1.00

    • warning

      added the new false enum value to the response property for the response status

    • info

      added the new optional query request parameter limit

    • info

      added the new optional query request parameter offset

    • info

      added the new optional query request parameter threadId

    • info

      added the required property to the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status