# ai_index_orgs_users_documents_tasks_retrieve Check the status of a document training task. This endpoint retrieves the current status of an asynchronous document training task that was previously initiated. Args: request: The HTTP request. org: Organization key identifier. task_id: The ID of the training task to check. Returns: Response: The current status of the document training task, which can be "pending", "completed", or "failed". Endpoint: GET /api/ai-index/orgs/{org}/users/{user_id}/documents/tasks/{task_id}/ Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Path parameters: - `org` (string, required) - `task_id` (string, required) - `user_id` (string, required) ## Response 200 fields (application/json): - `status` (string, required) Status of the training - `message` (string, required) Message of the training