Retrieve user contexts by documents
Fetches documents view for authenticated user with optional organization context.
Authorization
bearerAuth In: header
Query Parameters
Optional magic key for special access or filtering
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/context/view/docs"{ "documents": [ { "fileName": "support_thread_TCK-1234.txt", "fileType": "text/plain", "groupName": [ "support", "pricing" ], "lastModified": "2025-01-10T12:34:56.000Z", "fileSize": 2048 } ]}Search context and generate an LLM-powered answer POST
This endpoint performs a context search using the context processor, joins all matching context chunks into a single string, then sends that joined context along with the user's query to an LLM to produce a natural-language answer grounded in the retrieved context. By default the response only includes the generated `answer`. Pass `?context=true` to also receive the joined context string that was used to ground the answer.
Retrieve user context GET
Gets the context information for the authenticated user.
