Organization
View organization context
Retrieves context information for an organization based on provided user IDs.
Request Body
application/json
userIds*array<string>Deprecated
Response Body
application/json
curl -X POST "https://example.com/api/v1/org/context/view" \ -H "Content-Type: application/json" \ -d '{ "userIds": [ "user_123", "user_456" ] }'{ "contexts": { "user_123": [ { "content": "Customer asked about pricing for the Scale plan.", "metadata": { "fileName": "support_thread_TCK-1234.txt", "fileType": "text/plain", "groupName": [ "support", "pricing" ], "lastModified": "2025-01-10T12:34:56.000Z", "fileSize": 2048 } } ] }}Retrieve organization contexts by documents POST
Fetches documents view for an organization with role-based visibility.
Update a member's role in an organization PATCH
Updates the role of a specific member within an organization. The user performing this action must be the 'owner' of the organization. The target member's role cannot be 'owner'.
