v1

latestOpenAPI 3.0.1Apache 2.02026-07-1398228598.3 KB
General Insights

List GI History

Retrieves the history of generalized insights for a specific user. This endpoint allows you to track and analyze the evolution of insights over time, with options to control the response format and pagination.

get/gi/history

Query parameters

user_uuidstring required

Unique identifier of the user whose insight history is being requested

withoutEnhancingResultsboolean

When set to true, returns raw insight data without additional processing or enhancement

limitinteger

Maximum number of history entries to return

offsetinteger

Number of entries to skip before starting to collect the result set

Response

Successfully retrieved the insight history

Example response

{
  "data": [
    {
      "uuid": "hist_123",
      "title": "Sales Team Analysis",
      "results": [
        {
          "uuid": "res_456",
          "synthesis": "Team performance analysis for Q1",
          "prompt": "Analyze sales team performance",
          "status": "FINISHED",
          "items": [],
          "conversationsUsed": [
            "conv_789"
          ],
          "emailsUsed": [
            "email_123"
          ],
          "type": "TEXT_WITH_SOURCES",
          "result": {}
        }
      ]
    }
  ],
  "links": {
    "self": "https://api.attention.tech/v2/gi/history",
    "related": "https://api.attention.tech/v2/gi/history/related"
  },
  "meta": {
    "pageCount": 1,
    "totalRecords": 1,
    "pageNumber": 1,
    "pageSize": 10
  }
}
All 98 operations