GET
/
gi
/
history
curl --request GET \
  --url http://api.attention.tech/v2/gi/history \
  --header 'Authorization: <api-key>'
{
  "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
  }
}

Authorizations

Authorization
string
header
required

Query Parameters

user_uuid
string
required

Unique identifier of the user whose insight history is being requested

withoutEnhancingResults
boolean

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

limit
integer

Maximum number of history entries to return

offset
integer

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

Response

200
application/json

Successfully retrieved the insight history

The response is of type object.