curl --request GET \
--url https://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
}
}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.
curl --request GET \
--url https://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
}
}Unique identifier of the user whose insight history is being requested
When set to true, returns raw insight data without additional processing or enhancement
Maximum number of history entries to return
Number of entries to skip before starting to collect the result set
Successfully retrieved the insight history
Show child attributes
Show child attributes
PENDING, FINISHED "FINISHED"
Show child attributes
Show child attributes
Show child attributes
CONVERSATION "CONVERSATION"
Show child attributes
{
"conversationsEvidence": [
{
"type": "CONVERSATION",
"conversationUUID": "conv_123",
"conversationTitle": "Sales Review Meeting",
"conversationQuotes": [
{
"quote": "We've exceeded our Q1 targets by 20%",
"reference": { "startIdx": "0", "endIdx": "100" }
}
]
}
]
}LIST, TEXT_WITH_SOURCES, SINGLE_QUOTE, QUOTE_LIST, SUMMARY_TABLE, TABLE_QUOTES "TEXT_WITH_SOURCES"
Show child attributes
{
"startDate": "2024-03-01T00:00:00Z",
"endDate": "2024-03-31T23:59:59Z",
"teams": [
{
"teamUUID": "team_123",
"teamName": "Sales Team A"
}
],
"teamMembers": [
{
"teamMemberUUID": "member_123",
"teamMemberName": "John",
"teamMemberLastName": "Doe",
"teamMemberEmail": "[email protected]"
}
],
"opportunities": [
{
"opportunityUUID": "opp_123",
"opportunityName": "Enterprise Deal"
}
],
"conversations": [
{
"conversationUUID": "conv_123",
"conversationTitle": "Sales Review Meeting"
}
],
"isInternal": false,
"labels": [{ "name": "priority", "values": ["high"] }]
}Show child attributes
WEEKLY, MONTHLY Show child attributes
Show child attributes
Show child attributes
The unique identifier of the user.
"123e4567-e89b-12d3-a456-426614174000"
The email address of the user.
The first name of the user.
"John"
The last name of the user.
"Doe"
The date and time the user was created.
"2021-01-01T00:00:00Z"
The date and time the user was deactivated.
"2021-01-01T00:00:00Z"
The preferred transcript language for the user.
"en-US"
Indicates if the user can join meetings outside their host organization.
true
Indicates if the user has real-time transcription capabilities.
false
Show child attributes
{
"realTimeCapabilitiesOFF": true,
"autoCalculateCRMFields": true,
"joinWhenIAmHostAndAlone": true,
"joinWhenIAmHostWithPeers": true,
"joinWhenPeerIsHost": true,
"joinWhenUnlicensedPeerIsHost": true,
"dealsEnabled": true
}The name of the bot associated with the user.
"MyBot"
The URL of the bot's profile image.
"https://example.com/bot.png"
The UUID of the user's primary team.
"primary-team-uuid-12345"
The UUID of the user's role in the organization.
"org-role-uuid-56789"
Whether the user is shown a referral screen.
false
The type of seat assigned to the user.
"admin"
A list of teams assigned to the user.
Show child attributes
Unique identifier of the team
"fe515723-fe2e-4959-a5fa-c4d3937fe7e4"
Name of the team
"Engineering"
List of keywords or phrases associated with the team
["engineering", "tech", "development"]Represents the Slack integration details for a team
Show child attributes
Slack connection identifier
"T1234567890"
Domain associated with the team
"attention.tech"
Whether team organizers can join internal meetings
true
Whether email consent is enabled for the team
true
UUID of the parent team if this team is part of a hierarchy
"2ccf9bde-68e3-4de4-bc4e-51b927336665"
UUID of the organization this team belongs to
"16b78cec-82ef-46d2-8213-5d3bb7d2571c"
List of child teams if this team has a hierarchical structure
{
"uuid": "template_123",
"prompt": "Analyze sales team performance",
"period": "WEEKLY",
"lastExecutionAt": "2024-03-20T10:00:00Z",
"nextExecutionAt": "2024-03-27T10:00:00Z",
"createdAt": "2024-03-13T10:00:00Z",
"filters": {
"teams": [
{
"teamUUID": "team_123",
"teamName": "Sales Team A"
}
],
"teamMembers": [
{
"teamMemberUUID": "member_123",
"teamMemberName": "John",
"teamMemberLastName": "Doe",
"teamMemberEmail": "[email protected]"
}
],
"opportunities": [
{
"opportunityUUID": "opp_123",
"opportunityName": "Enterprise Deal"
}
]
}
}Was this page helpful?