workspace

Get Workspace Stats

Retrieves conversation and document counts with shared/private breakdown for a specific workspace.

  • Conversations are "shared" if they have at least one shared message
  • Documents are "shared" if their shared field is True
get/api/workspace/{workspace_ext_id}/stats

Path parameters

workspace_ext_idstring required

Response

Successful Response

shared_conversation_countinteger
private_conversation_countinteger
shared_document_countinteger
private_document_countinteger

Changes

Changed in 1 of the 34 revisions of this API.24

  • 849d5e8732f624See the full diff
    • removed the optional property conversation_count from the response with the 200 status

      response-optional-property-removed

    • removed the optional property document_count from the response with the 200 status

      response-optional-property-removed

    • added the optional property private_conversation_count to the response with the 200 status

      response-optional-property-added

    • added the optional property private_document_count to the response with the 200 status

      response-optional-property-added

    • added the optional property shared_conversation_count to the response with the 200 status

      response-optional-property-added

    • added the optional property shared_document_count to the response with the 200 status

      response-optional-property-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog