Organization

View organization context

POST
/api/v1/org/context/view

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        }      }    ]  }}