# Get processing status Get the current processing status of a file in a knowledge store. Returns the processing status of a file including progress percentage, current step, and any error messages. Use this endpoint to poll for processing completion after uploading a file. #### Path Parameters **`organization_id`** string required The unique identifier of the organization (format: `org_*`). **`store_id`** string required The unique identifier of the vector store. **`file_id`** string required The unique identifier of the file (format: `file_*`). ## Returns The processing status object with progress details. Request ```bash cURL curl -s "https://api.aitronos.com/v1/organizations/org_xyz789/stores/vs_abc123/files/file_abc123def456/status" \ -H "Authorization: Bearer $ACCESS_TOKEN" | python3 -m json.tool ``` ```python Python SDK from aitronos import Aitronos client = Aitronos(api_key="your-api-key") result = client.knowledge.get_processing_status( organization_id="org_xyz789", store_id="vs_abc123", file_id="file_abc123def456", ) print(result) ``` ```python Python import requests org_id = "org_xyz789" store_id = "vs_abc123" file_id = "file_abc123def456" url = f"https://api.aitronos.com/v1/organizations/{org_id}/stores/{store_id}/files/{file_id}/status" headers = { "Authorization": "Bearer YOUR_ACCESS_TOKEN", } response = requests.get(url, headers=headers) print(response.json()) ``` ```javascript JavaScript const orgId = "org_xyz789"; const storeId = "vs_abc123"; const fileId = "file_abc123def456"; const response = await fetch( `https://api.aitronos.com/v1/organizations/${orgId}/stores/${storeId}/files/${fileId}/status`, { headers: { Authorization: `Bearer ${accessToken}`, }, } ); const data = await response.json(); console.log(data); ``` Response ```json 200 OK — Processing { "status": "processing", "progress_percent": 50, "current_step": "embedding", "error_message": null, "started_at": "2025-06-15T10:00:05Z", "completed_at": null } ``` ```json 200 OK — Completed { "status": "completed", "progress_percent": 100, "current_step": null, "error_message": null, "started_at": "2025-06-15T10:00:05Z", "completed_at": "2025-06-15T10:02:30Z" } ``` ```json 404 Error { "success": false, "error": { "code": "FILE_NOT_IN_STORE", "message": "We couldn't find the requested resource.", "system_message": "File not found in this store", "type": "client_error", "status": 404, "details": { "file_id": "file_abc123def456", "store_id": "vs_abc123" }, "trace_id": "abc-123-def", "timestamp": "2025-06-15T10:00:00Z" } } ``` ## Related Resources - [Upload File](/docs/api-reference/knowledge/upload-file) - [Get Upload URL](/docs/api-reference/knowledge/upload-url) - [Register Upload](/docs/api-reference/knowledge/register-upload) - [List Files](/docs/api-reference/knowledge/list-files) - [Get File](/docs/api-reference/knowledge/get-file) - [Delete File](/docs/api-reference/knowledge/delete-file) - [Bulk Remove Files](/docs/api-reference/knowledge/bulk-remove) - [Processing Logs](/docs/api-reference/knowledge/processing-logs) - [Retry Processing](/docs/api-reference/knowledge/retry-processing) - [File Config](/docs/api-reference/knowledge/file-config) - [Storage Usage](/docs/api-reference/knowledge/storage-usage)