[AI39-3] Design Patent Infringement Search - Get Stage Execution Result

get
https://connect.patsnap.com/api/mcp/task/stage/result
Try in Sandbox

Retrieve the full result of a stage. Use generate_report for the final report; optional data.report_export is provided when the report completes and export succeeds. Top-level status=true does not mean the stage executed successfully; inspect data.stage_status. Jurisdiction filtering is passed through vector prefilters, so its absence from search_request.q does not prove that no filter was applied. Zero candidates does not mean no risk. Request example (parameters in URL query, no request body): ```http GET /api/mcp/task/stage/result?task_id=task_0123456789ab&stage=generate_report&image_mode=base64 ``` Success response example: ```json { "code": 0, "success": true, "data": { "stage": "generate_report", "stage_status": "completed", "result_data": {}, "execution_duration": 10.5, "retry_count": 0, "error_message": null, "report_export": { "download_url": "https://example.com/report.docx?signature=example", "file_name": "mcp_design_fto_report_task_0123456789ab_cn_1789610400000.docx" } }, "status": true } ``` Failure response example: ```json { "code": 1, "success": false, "message": "Stage结果不存在: task_id=task_0123456789ab, stage=generate_report", "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

NameTypeExampleDescription
task_id
Required
stringtask_0123456789ab
[Required] Task ID returned by submission. Example: "task_0123456789ab"
stage
Required
stringgenerate_report
[Required] Stage: convert_lineart, image_search, rerank or generate_report. Example: "generate_report"
image_mode
stringbase64
[Optional] Image mode for report export; defaults to base64. Example: "base64"

Error Codes

List of possible error codes returned by this endpoint

Business Errors

Error CodeDescription
68300004Invalid parameter!
68300005Search api failure!
68300006Analytic basic access error!
68300007Bad request!
68300008Service error, please try again later!
68300010The file does not comply with upload specifications!

Platform Errors

Error CodeDescription
67200001API call exceeds the total limit set by the platform!
67200002Quota exceeds the limit!
67200003Access token expired or authentication error!
67200004No permission or API package quota has exceeded the limit!
67200005Insufficient balance, call failed!
67200006This client has expired and call failed!
67200007Exceeded the call limit, call failed!

HTTP Status Codes

Status CodeDescription
0Success
422Request 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