# ai_index_orgs_users_documents_search_create Retrieve resource documents similar to the given query. This endpoint performs a semantic search to find documents that are relevant to the provided query within the specified pathway. Args: request: The HTTP request containing the search query. org: Organization key identifier. Returns: Response: A list of documents relevant to the search query. Raises: ValidationError: If the request data is invalid. Endpoint: POST /api/ai-index/orgs/{org}/users/{user_id}/documents/search/ 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): - `results` (array, required) Docs from similarity search - `results.page_content` (string, required) The page content