Organizations

List the organization's Workbot, Slack and Automation conversations (content-free)

Changed on

The organization's conversations on the headless runner as Den's session index knows them, most recently updated first: the member (null when the conversation belongs to none), the kind (workbot, slack or automation), when it was created and last updated, its hot and total stored bytes and sealed segment count, when its running turn started (activeTurnSince, null when idle; a long-running value can mean a stuck turn), when it was deleted, and Den's retention class and legal hold. Never a title, a message or anything else a conversation contains. Filter by memberId, kind, active (true: a turn is running) and deleted (exclude by default, include or only). Paged: up to limit rows (default 50, at most 200), then pass nextCursor as cursor. Members with the View usage analytics permission only (owners and admins by default).

get/v1/headless/sessions

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/headless/sessions
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Query parameters

memberIdstring
kind'workbot' | 'slack' | 'automation'
active'true' | 'false'
deleted'exclude' | 'include' | 'only'
limitinteger
cursorstring

Response

One page of conversations.

nextCursorstring nullable required

Changes