Others

AI72 Obtain Offline History Record

This interface serves as an optimized function for the AI API, supporting users in integrating history record into their local systems.

post/ai/sso/agent/history

Request

Request body

company_idstring required

Company ID

emailstring required

User email

end_timeinteger

End timestamp (milliseconds)

pageinteger

Page number, starting from 1

phonestring required

phone number

start_timeinteger

Start timestamp (milliseconds)

Example request

{
  "company_id": "abc123",
  "email": "user@example.com",
  "end_time": 1761580799999,
  "page": 1,
  "phone": "12345678900",
  "start_time": 1758902400000
}

Response

Successful ai72 obtain offline history record response.

statusboolean required

Status

error_msgstring

Error Message

error_codeinteger required

Error Code

Example response

{
  "data": {
    "page": 1,
    "limit": 20,
    "total": 100,
    "history_maps": [
      {
        "data": [
          {
            "id": "2a7a4ddd-7f5d-4266-a96e-13a57095db79",
            "link": "/ai/agent-flow/2a7a4ddd-7f5d-4266-a96e-13a57095db79",
            "time": "13:58",
            "source": "AI_GENERATE",
            "message": "如何提高锂电池能量密度到260瓦时/千克(Wh/kg)且体积没有变大 热管理安全阈值\n,材料成本上限\n,生产工艺兼容性 ",
            "rawType": "ai_generate",
            "icon_url": "https://qa-patsnap-import-workspace.cdn.zhihuiya.com/agent/9b6135cd012c425e84edf84e6b03e366-image.jpeg",
            "icon_path": "agent/9b6135cd012c425e84edf84e6b03e366-image.jpeg",
            "created_at": "23 Oct 2025 13:58",
            "business_id": "2a7a4ddd-7f5d-4266-a96e-13a57095db79",
            "business_name": "Technical Solution Exploration"
          },
          {
            "id": "2570aeaf-7999-430b-9bef-c43fcda4d928",
            "link": "/ai/agent-flow/2570aeaf-7999-430b-9bef-c43fcda4d928",
            "time": "13:39",
            "source": "AI_GENERATE",
            "message": "如何提高锂电池能量密度到260瓦时/千克(Wh/kg)且体积没有变大 热管理安全阈值\n,材料成本上限\n,生产工艺兼容性 ",
            "rawType": "ai_generate",
            "icon_url": "https://qa-patsnap-import-workspace.cdn.zhihuiya.com/agent/9b6135cd012c425e84edf84e6b03e366-image.jpeg",
            "icon_path": "agent/9b6135cd012c425e84edf84e6b03e366-image.jpeg",
            "created_at": "23 Oct 2025 13:39",
            "business_id": "2570aeaf-7999-430b-9bef-c43fcda4d928",
            "business_name": "Technical Solution Exploration"
          }
        ],
        "date": "2025-10-23"
      }
    ]
  },
  "error_msg": "The request parameter format is incorrect!"
}

Changes

No recorded changes to this operation across all 1 revision of this API.