# ai_index_orgs_users_documents_sources_create Retrieve document sources related to a given query. This endpoint performs a semantic search to find document sources that are relevant to the provided query within the specified pathway, and returns them along with confidence levels. Args: request: The HTTP request containing the search query. org: Organization key identifier. Returns: Response: A list of document sources with confidence levels. Raises: ValidationError: If the request data is invalid. Endpoint: POST /api/ai-index/orgs/{org}/users/{user_id}/documents/sources/ Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Path parameters: - `org` (string, required) - `user_id` (string, required) ## Request fields (application/json): - `query` (string, required) The query for similarity search - `pathway` (string, required) The pathway of the docs ## Response 200 fields (application/json): - `source` (string, required) The source url of the docuemnt - `confidence_level` (number, required) The percentge confidence level of the document retrieved