[AI71]Obtain Offline Report
This interface serves as an optimized function for the AI API, supporting users in integrating report links into their local systems. The Agents that currently support outputting report links are: [AI32] Technology Disclosure Document, [AI35] Novelty Check, [AI37] Patent Drafting (CNIPA), and [AI66] FTO Search.
Request Parameters
List of parameters supported by this API endpoint
| Name | Type | Example | Description |
|---|---|---|---|
Required | string | ai_novelty_search | Agent type, used to filter specific types of Agent records. Supported types: ai_patent_disclosure - [AI32] Patent Disclosure ai_specification - [AI37] Patent Drafting ai_fto_search - [AI66]AI FTO Search ai_novelty_search - [AI35] AI Novelty Search |
Required | string | abc123 | Company ID |
| string | user@example.com | User email |
| integer<int64> | 1761580799999 | End timestamp (milliseconds) |
Required | string | CN | language CN / EN / TW / JP |
| integer<int32> | 1 | Page number, starting from 1 |
| string | 12345678900 | phone number |
| integer<int64> | 1758902400000 | Start timestamp (milliseconds) |
| array | [
"task_id_1",
"task_id_2"
] | Task ID list, if provided, use these task IDs directly to get export links, otherwise query history records based on other conditions. Maximum 5 task IDs supported |
Response Schema
Structure of the API response data
| Field Name | Type | Example | Description |
|---|---|---|---|
data | object | - | response data |
items | array | [
{
"url": "https://qa-patsnap-import-workspace.cdn.zhihuiya.com/agent/reports/technical_solution_20251023.docx",
"task_id": "task01",
"file_name": "Technical_Solution_Exploration_20251023.docx"
},
{
"url": "https://qa-patsnap-import-workspace.cdn.zhihuiya.com/agent/reports/technical_solution_20251023.pdf",
"task_id": "task02",
"file_name": "Technical_Solution_Exploration_20251023.pdf"
}
] | List of export links |
url | string | https://qa-patsnap-import-workspace.cdn.zhihuiya.com/agent/reports/technical_solution_20251023.docx | Export file download URL |
task_id | string | da5eb754-ec87-4a8b-9525-7108b0a76fad | Task ID |
file_name | string | Technical_Solution_Exploration_20251023.docx | Export file name |
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
{
"data": {
"items": [
{
"url": "https://qa-patsnap-import-workspace.cdn.zhihuiya.com/agent/reports/technical_solution_20251023.docx",
"task_id": "da5eb754-ec87-4a8b-9525-7108b0a76fad",
"file_name": "Technical_Solution_Exploration_20251023.docx"
}
]
},
"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 |
Performance Metrics
Expected performance characteristics for this endpoint
Normal Response Time
5000 ms
Max Response Time
10000 ms