[AI39-2] Design Patent Infringement Search - Get Workflow Task Status
Query overall task status and stage summaries for polling. Top-level status=true only means the query succeeded; inspect task.workflow_status for execution success. task.country contains the saved submission jurisdictions. Request example (parameters in URL query, no request body): ```http GET /api/mcp/task/status?task_id=task_0123456789ab ``` Success response example: ```json { "code": 0, "success": true, "task": { "task_id": "task_0123456789ab", "workflow_status": "running", "current_stage": "rerank", "current_stage_order": 3, "title": "产品外观检索", "country": [ "CN", "EU" ], "total_execution_duration": null, "error_message": null, "created_at": "2026-09-17 02:00:00+00:00" }, "stages": [ { "stage": "convert_lineart", "stage_order": 1, "status": "completed", "execution_duration": 12.3, "retry_count": 0, "error_message": null }, { "stage": "image_search", "stage_order": 2, "status": "completed", "execution_duration": 8.5, "retry_count": 0, "error_message": null }, { "stage": "rerank", "stage_order": 3, "status": "running", "execution_duration": null, "retry_count": 0, "error_message": null }, { "stage": "generate_report", "stage_order": 4, "status": "pending", "execution_duration": null, "retry_count": 0, "error_message": null } ], "status": true } ``` Failure response example: ```json { "code": 1, "success": false, "message": "任务不存在: task_0123456789ab", "status": false } ``` Replace example task IDs, URLs and the Base64 placeholder with real values. The result_data example omits business content. Example message values illustrate API text and are not guaranteed to be translated according to lang.
Request Parameters
List of parameters supported by this API endpoint
| Name | Type | Example | Description |
|---|---|---|---|
Required | string | task_0123456789ab | [Required] Task ID returned by submission. Example: "task_0123456789ab" |
Error Codes
List of possible error codes returned by this endpoint
Business Errors
| Error Code | Description |
|---|---|
68300004 | Invalid parameter! |
68300005 | Search api failure! |
68300006 | Analytic basic access error! |
68300007 | Bad request! |
68300008 | Service error, please try again later! |
68300010 | The file does not comply with upload specifications! |
Platform Errors
| Error Code | Description |
|---|---|
67200001 | API call exceeds the total limit set by the platform! |
67200002 | Quota exceeds the limit! |
67200003 | Access token expired or authentication error! |
67200004 | No permission or API package quota has exceeded the limit! |
67200005 | Insufficient balance, call failed! |
67200006 | This client has expired and call failed! |
67200007 | Exceeded the call limit, call failed! |
HTTP Status Codes
| Status Code | Description |
|---|---|
0 | Success |
422 | Request validation failed: status=false, code=1, with detail retained. |
Performance Metrics
Expected performance characteristics for this endpoint
Normal Response Time
5000 ms
Max Response Time
10000 ms