[B068-2]Query the triplet task results.
Retrieve extracted triplet results using jobId
Request Parameters
List of parameters supported by this API endpoint
| Name | Type | Example | Description |
|---|---|---|---|
Required | string | eeaba18b-a5b1-42c0-b2a8-1fc0a427b914 | Job Id |
Response Schema
Structure of the API response data
| Field Name | Type | Example | Description |
|---|---|---|---|
data | object | - | response data |
codeRequired | 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 | string | task_12345 | Task ID |
error_detail | object | {
"error_code": "TIMEOUT",
"error_message": "Task timeout"
} | Error details |
message | string | success | Response message |
statusRequired | boolean | false | Status |
error_msg | string | The request parameter format is incorrect! | Error Message |
error_codeRequired | integer | 0 | 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 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 |
|---|---|
67200000 | API call exceeds the total limit set by the platform! |
67200001 | API call exceeds the total limit set by the platform! |
67200002 | The current call rate is too fast, exceeding the current configuration limit QPS! |
67200003 | The key and secret parameters for applying for the token are incorrect or the client has been disabled! |
67200004 | The requested api does not have permission. Please contact our support personnel! |
67200005 | Insufficient account balance/number of calls! |
67200006 | The client has exceeded the activation validity period! |
67200007 | The current call exceeds the configured usage limit of the day! |
67200008 | Please check if the required apikey in the query parameter has been transmitted! |
67200009 | The apikey does not match the passed bearerToken. Please check if a valid token is being used! |
67200012 | The request is illegal! |
67200100 | The current server status is busy, request response timeout! |
67200101 | The API requested currently does not exist. Please check the request path! |
HTTP Status Codes
| Status Code | Description |
|---|---|
0 | Success |
201 | Created |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |