Sessions

List workstreams for a home screen

Changed on

Returns a page of the workstreams you started and the ones shared with you, most recently updated first. Each carries its status, what it waits on, how many items in your inbox from it need your action, and a one-line preview of the newest one. The inbox fields are null when your inbox is not enabled or cannot be read, and the preview is null when the workstream has nothing in your inbox. Workstreams shared with you are listed only when shared sessions are enabled for you. Workstreams must be available to your organization; otherwise the request fails with 403.

get/api/v0/sessions/workstreams/home

Request

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

Query parameters

limit, integer

Maximum number of workstreams to return (1-50)

cursor, string

The nextCursor of the previous page. Workstreams are ordered by last update, so one updated while you page can move to an earlier page.

Headers

X-Factory-Org-Id, string

Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.

Response

Response for status 200

ListHomeWorkstreams200ResponseBody required
workstreams, object[] required
pagination, object required

Changes