Skip to main content
POST
/
api
/
v1
/
org
/
context
/
view
View organization context
curl --request POST \
  --url https://platform-backend.getalchemystai.com/api/v1/org/context/view \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "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
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
userIds
string[]
required
deprecated

Response

Success

contexts
object