GET
/
v2
/
workspaces
/
{workspace_id}
/
deriver
/
status
import Honcho from '@honcho-ai/core';

const client = new Honcho({
  apiKey: process.env['HONCHO_API_KEY'], // This is the default and can be omitted
});

const deriverStatus = await client.workspaces.deriverStatus('workspace_id');

console.log(deriverStatus.peer_id);
{
  "peer_id": "<string>",
  "session_id": "<string>",
  "total_work_units": 123,
  "completed_work_units": 123,
  "in_progress_work_units": 123,
  "pending_work_units": 123,
  "sessions": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

ID of the workspace

Query Parameters

peer_id
string | null

Optional peer ID to filter by

session_id
string | null

Optional session ID to filter by

include_sender
boolean
default:false

Include work units triggered by this peer

Response

200
application/json

Successful Response

The response is of type object.