List Groups
Return all groups in your workspace.Endpoint
GET /api/v1/groups
Response
array
Example
Create Group
Create a new group.Endpoint
POST /api/v1/groups
Request Body
application/json
string
required
Display name for the group
Response
string
The newly created group identifier
Example
Delete All Documents in a Group
Remove all documents assigned to a group. The group itself is kept.Endpoint
DELETE /api/v1/groups/{group_id}/documents
Path Parameters
string
required
The group identifier
Example
Delete Group
Delete an empty group. The group must have no documents assigned to it — call Delete All Documents in a Group first, or passdelete_documents=true in the Python SDK.
Endpoint
DELETE /api/v1/groups/{group_id}
Path Parameters
string
required
The group identifier
