messages

List thread messages

Changed on
get/api/v1/threads/{threadId}/messages

Request

  • Base URL
    https://api.capy.ai
  • Auth
    HTTP bearer

Path parameters

threadIdstring required

Query parameters

afterstring

Exclusive forward event-ID cursor from cursor. Without either bound, returns the oldest page.

beforestring

Exclusive backward event-ID cursor from beforeCursor. Without after, returns the nearest older page.

limitinteger

Response

TranscriptPage

cursorstring nullable required

Opaque exclusive event-ID cursor for after. Stable across compaction. Null when no newer events remain. An unchanged cursor means unsettled messages still block forward paging. Retry after they settle.

beforeCursorstring nullable required

Opaque exclusive event-ID cursor for before. Stable across compaction. Null when no older events remain.

Changes

    • info

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

    • breaking

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

    • breaking

      removed the required property from the response with the status

    • info

      added to the response body anyOf list for the response status