[B068-2]Query the triplet task results.

post
https://connect.patsnap.com/eureka/material/docAnalyzer/getExtractMaterial
Try in Sandbox

Retrieve extracted triplet results using jobId

Request Parameters

List of parameters supported by this API endpoint

NameTypeExampleDescription
job_id
Required
stringeeaba18b-a5b1-42c0-b2a8-1fc0a427b914
Job Id

Response Schema

Structure of the API response data

Field NameTypeExampleDescription
data
object-
response data
code
Required
integer<int32>-
Response code
data
array[{"task_id":"task_12345","total":100,"running":5,"success":90,"errors":5,"results":{"pages_processed":10,"languageResults":{"zh":{"spum":[{"substance":"聚乙烯","property":"熔点","measurement":"120-130","unit":"°C","source_sentences":["聚乙烯的熔点通常在120-130°C之间"]}],"processes":{"process_1":{"process_name":"聚合工艺","valid_steps":5,"source_section":"实验部分","steps":[{"step_id":1,"sub_process_name":"加热反应","action":"将反应物加热至120℃"}],"process_domain":"高分子材料","process_sub_domain":"聚合反应","process_type":"溶液聚合"}}}}},"error_detail":{"error_code":"TIMEOUT","error_message":"Task timeout"}}]
Response data - array of job results
total
integer<int32>100
Total number of tasks
errors
integer<int32>5
Number of error tasks
results
object{"pages_processed":10,"languageResults":{"zh":{"spum":[{"substance":"聚乙烯","property":"熔点","measurement":"120-130","unit":"°C","source_sentences":["聚乙烯的熔点通常在120-130°C之间"]}],"processes":{"process_1":{"process_name":"聚合工艺","valid_steps":5,"source_section":"实验部分","steps":[{"step_id":1,"sub_process_name":"加热反应","action":"将反应物加热至120℃"}],"process_domain":"高分子材料","process_sub_domain":"聚合反应","process_type":"溶液聚合"}}}}}}
Multi-language analysis results
pages_processed
integer<int32>10
Number of pages processed
language_results
object{ "en": { "spum": [ { "unit": "°C", "property": "Melting Point", "substance": "Polyethylene", "measurement": "120-130", "source_sentences": [ "The melting point of polyethylene is typically between 120-130°C" ] } ], "processes": { "process_1": { "steps": [ { "action": "Heat reactants to 120°C", "step_id": 1, "sub_process_name": "Heating Reaction" } ], "valid_steps": 3, "process_name": "Polymerization Process", "process_type": "Solution Polymerization", "process_domain": "Polymer Materials", "source_section": "Experimental Section", "process_sub_domain": "Polymerization Reaction" } } }, "zh": { "spum": [ { "unit": "°C", "property": "熔点", "substance": "聚乙烯", "measurement": "120-130", "source_sentences": [ "聚乙烯的熔点通常在120-130°C之间" ] } ], "processes": { "process_1": { "steps": [ { "action": "将反应物加热至120℃", "step_id": 1, "sub_process_name": "加热反应" } ], "valid_steps": 5, "process_name": "聚合工艺", "process_type": "溶液聚合", "process_domain": "高分子材料", "source_section": "实验部分", "process_sub_domain": "聚合反应" } } } }
Multi-language analysis results mapping
running
integer<int32>5
Number of running tasks
success
integer<int32>90
Number of successful tasks
task_id
stringtask_12345
Task ID
error_detail
object{ "error_code": "TIMEOUT", "error_message": "Task timeout" }
Error details
message
stringsuccess
Response message
status
Required
booleanfalse
Status
error_msg
stringThe request parameter format is incorrect!
Error Message
error_code
Required
integer0
Error Code

Success Response Example

Example of a successful API response

JSON
{
  "data": {
    "code": 0,
    "data": [
      {
        "total": 100,
        "errors": 5,
        "results": {
          "pages_processed": 10,
          "language_results": {
            "en": {
              "spum": [
                {
                  "unit": "°C",
                  "property": "Melting Point",
                  "substance": "Polyethylene",
                  "measurement": "120-130",
                  "source_sentences": [
                    "The melting point of polyethylene is typically between 120-130°C"
                  ]
                }
              ],
              "processes": {
                "process_1": {
                  "steps": [
                    {
                      "action": "Heat reactants to 120°C",
                      "step_id": 1,
                      "sub_process_name": "Heating Reaction"
                    }
                  ],
                  "valid_steps": 3,
                  "process_name": "Polymerization Process",
                  "process_type": "Solution Polymerization",
                  "process_domain": "Polymer Materials",
                  "source_section": "Experimental Section",
                  "process_sub_domain": "Polymerization Reaction"
                }
              }
            },
            "zh": {
              "spum": [
                {
                  "unit": "°C",
                  "property": "熔点",
                  "substance": "聚乙烯",
                  "measurement": "120-130",
                  "source_sentences": [
                    "聚乙烯的熔点通常在120-130°C之间"
                  ]
                }
              ],
              "processes": {
                "process_1": {
                  "steps": [
                    {
                      "action": "将反应物加热至120℃",
                      "step_id": 1,
                      "sub_process_name": "加热反应"
                    }
                  ],
                  "valid_steps": 5,
                  "process_name": "聚合工艺",
                  "process_type": "溶液聚合",
                  "process_domain": "高分子材料",
                  "source_section": "实验部分",
                  "process_sub_domain": "聚合反应"
                }
              }
            }
          }
        },
        "running": 5,
        "success": 90,
        "task_id": "task_12345",
        "error_detail": {
          "error_code": "TIMEOUT",
          "error_message": "Task timeout"
        }
      }
    ],
    "message": "success"
  },
  "status": true,
  "error_code": 0
}

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
67200000API call exceeds the total limit set by the platform!
67200001API call exceeds the total limit set by the platform!
67200002The current call rate is too fast, exceeding the current configuration limit QPS!
67200003The key and secret parameters for applying for the token are incorrect or the client has been disabled!
67200004The requested api does not have permission. Please contact our support personnel!
67200005Insufficient account balance/number of calls!
67200006The client has exceeded the activation validity period!
67200007The current call exceeds the configured usage limit of the day!
67200008Please check if the required apikey in the query parameter has been transmitted!
67200009The apikey does not match the passed bearerToken. Please check if a valid token is being used!
67200012The request is illegal!
67200100The current server status is busy, request response timeout!
67200101The API requested currently does not exist. Please check the request path!

HTTP Status Codes

Status CodeDescription
0Success
201Created
401Unauthorized
403Forbidden
404Not Found