GET /api/v1/{context_id}/sessions/{session_id}/turns

Changed on

List turns in a session, oldest first. Paginated: limit defaults to 100 and is capped at 500; follow page.nextCursor to walk the session.

Request

Path parameters

context_idstring required

Spectron context id

session_idstring required

Session id

Query parameters

limitinteger

Max turns to return (default 100, max 500)

cursorstring

Continuation token from the previous page's page.nextCursor

countboolean

Also return page.totalSize (costs a full count of the session's turns)

offsetinteger

Deprecated: rows to skip. Use cursor.

Response

Changes

    • info

      added the new optional query request parameter count

    • info

      added the new optional query request parameter cursor

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the new optional query request parameter limit

    • info

      added the new optional query request parameter offset