GET /openapi/memorylake/api/v3/workspaces/{workspaceId}/agents/{agentId}/facts
所需权限:
workspace_agent:fact_read路径参数
查询参数
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/api/v3/workspaces/ws-fe314186ccd18cde04d6af48a5afd79f/agents/agent-f8bf71ab17ed8eccad8c0e8ae708273f/facts?page_size=20' \
-H 'Authorization: Bearer sk_xxxxxx'
响应
{
"success": true,
"data": {
"items": [
{
"id": "fact-11a0e057d09877c9c492633fd60424fc",
"fact": "Replies to support tickets in the customer's language",
"metadata": {
"category": "skills",
"confidence": "high"
},
"expired": false,
"score": 0.92,
"expiration_date": null,
"created_at": "2025-05-20T10:00:00Z",
"updated_at": "2025-05-20T10:00:00Z"
},
{
"id": "fact-9e6e9b323824eb264c1165994af65c1e",
"fact": "Reports times in UTC",
"metadata": {
"category": "work"
},
"expired": false,
"score": 0.85,
"expiration_date": "2026-05-20T10:00:00Z",
"created_at": "2025-06-01T16:45:00Z",
"updated_at": "2025-06-01T16:45:00Z"
}
],
"continuation_token": "eyJsYXN0X2lkIjoiZmFjdF8xYTJiM2M0ZDVlNmYifQ"
}
}