conversations

Read a chat session's durable conversation

Changed on
get/api/v1/sessions/{sessionId}/conversation

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/sessions/{sessionId}/conversation
  • Auth
    none declared

Path parameters

sessionIdstring required

Session identifier, e.g. project-1.

Query parameters

beforeSequenceinteger nullable

Read items older than this conversation sequence. Omit for the newest page.

limitinteger nullable

Maximum messages to return; tool activity between them comes along without counting. Defaults to 200.

Response

OK

activeBranchIdstring
branchedFromEarlierMessageboolean required
capabilitiesstring[]
compactedAtstring nullable
continueTurnIdstring required
controller'connecting' | 'ready' | 'busy' | 'recovering' | 'hibernated' | 'stopped' required
conversationIdstring required
harnessstring
hasMoreBeforeboolean required
latestSequenceinteger required
mode'chat' | 'tui' required
nativeForkAvailableAfterSequenceinteger required
oldestSequenceinteger
sessionIdstring required
supportsExcerptsboolean
titlestring

Changes

    • info

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

    • warning

      added the new ao_action enum value to the // response property for the response status