Query
query TimelineEntry($customerId: ID!, $timelineEntryId: ID!) {
timelineEntry(customerId: $customerId, timelineEntryId: $timelineEntryId) {
id
customerId
threadId
timestamp {
unixTimestamp
iso8601
}
entry {
__typename
... on NoteEntry {
noteId
text
markdown
attachments {
__typename
}
isEdited
editedAt {
__typename
}
}
}
actor {
__typename
... on UserActor {
userId
user {
__typename
}
}
}
}
}Variables
{
"customerId": "id",
"timelineEntryId": "id"
}Response
{
"data": {
"timelineEntry": {
"id": "id",
"customerId": "id",
"threadId": "id",
"timestamp": {
"unixTimestamp": "string",
"iso8601": "string"
},
"entry": {
"__typename": "NoteEntry",
"noteId": "id",
"text": "string",
"markdown": "string",
"attachments": [
{
"__typename": "Attachment"
}
],
"isEdited": true,
"editedAt": {
"__typename": "DateTime"
}
},
"actor": {
"__typename": "UserActor",
"userId": "id",
"user": {
"__typename": "User"
}
}
}
}
}Queries
timelineEntry
Fetches a single timeline entry by its ID within a customer’s timeline. Returns null if the entry does not exist.
QUERY
timelineEntry(customerId: ID!, timelineEntryId: ID!): TimelineEntryArguments
customerId
ID!
required
timelineEntryId
ID!
required
Returns
id
ID!
customerId
ID!
threadId
ID!
timestamp
entry
The payload of this timeline entry. Use an inline fragment on the concrete type (e.g. NoteEntry, EmailEntry, CustomerEventEntry) to access type-specific fields.
actor
llmText
String
A plain-text rendering of this timeline entry suitable for use in LLM prompts or search indexing.
Query
query TimelineEntry($customerId: ID!, $timelineEntryId: ID!) {
timelineEntry(customerId: $customerId, timelineEntryId: $timelineEntryId) {
id
customerId
threadId
timestamp {
unixTimestamp
iso8601
}
entry {
__typename
... on NoteEntry {
noteId
text
markdown
attachments {
__typename
}
isEdited
editedAt {
__typename
}
}
}
actor {
__typename
... on UserActor {
userId
user {
__typename
}
}
}
}
}Variables
{
"customerId": "id",
"timelineEntryId": "id"
}Response
{
"data": {
"timelineEntry": {
"id": "id",
"customerId": "id",
"threadId": "id",
"timestamp": {
"unixTimestamp": "string",
"iso8601": "string"
},
"entry": {
"__typename": "NoteEntry",
"noteId": "id",
"text": "string",
"markdown": "string",
"attachments": [
{
"__typename": "Attachment"
}
],
"isEdited": true,
"editedAt": {
"__typename": "DateTime"
}
},
"actor": {
"__typename": "UserActor",
"userId": "id",
"user": {
"__typename": "User"
}
}
}
}
}Was this page helpful?

