Skip to navigation

Read Workspace Presence Roster

Beta

Admin only, and only for a signed-in person: call with the viewing user’s own session token, which an app served from a computer receives for its viewer when that viewer created the computer. An API key, a personal token, a computer-asset sandbox credential and the scoped credential such an app receives for any other viewer are refused. Read one page of who is online in a workspace, active first and then by name, each with the places of theirs the caller may open: a document the caller may not open is absent, or shown only as a project that contains it. Names, emails and avatars come from the member directory; a person who appears offline is absent, and one set Away is listed with no places. The same answer as the People page in Athena. Requires the presence roster to be enabled for the deployment and opted in for the workspace. Poll it; a few seconds apart is enough.

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

workspace_idstringRequired1-128 characters
The workspace whose presence feed to read.

Headers

X-Athena-Session-CredentialstringOptional

Request

This endpoint expects a nullable object.
limitintegerOptionalDefaults to 100

People per page. A value above 100 is served as 100, one below 1 as 1; the answer says what was served.

offsetintegerOptionalDefaults to 0
People to skip. A negative value is served as 0.
searchstring or nullOptional<=1000 characters
Keep only people whose name contains this, whatever its case.

Response

Successful Response
availableboolean

False only while Athena has no fresh presence data for the workspace yet (it starts observing a workspace when someone asks). people is then empty; ask again in a few seconds.

limitinteger
People per page, as served.
offsetinteger
People skipped, as served.
total_onlineinteger
People online that match search, across every page. Agent runs are not counted.
peoplelist of objectsOptional

Active first, then by name. The agent runs the caller may see come with the last page, outside limit and total_online.

Errors

403
Forbidden Error
422
Unprocessable Entity Error
503
Service Unavailable Error