PinnedSearch
A pinned search is a search query that has been stored by the user for easy reuse.
To fetch all pinned searches:
query PinnedSearches {
pinnedSearches {
nodes {
id
position
createdAt
queryId
conversationCount
}
}
}
type PinnedSearch implements Node, Timestamped {
agent: Agent!
conversationCount: Int!
createdAt: DateTime!
id: ID!
position: Int!
queryId: String
title: String!
updatedAt: DateTime!
}
Fields
PinnedSearch.agent ● Agent! non-null object common
The agent who owns created the pinned search
PinnedSearch.conversationCount ● Int! non-null scalar common
The number of conversations that are in this folder (in the current context)
PinnedSearch.createdAt ● DateTime! non-null scalar common
The date and time that the object was created.
PinnedSearch.id ● ID! non-null scalar common
PinnedSearch.position ● Int! non-null scalar common
The position that the folder should appear in when listed.
PinnedSearch.queryId ● String scalar common
A description of the folder.
PinnedSearch.title ● String! non-null scalar common
A description of the folder.
PinnedSearch.updatedAt ● DateTime! non-null scalar common
The date and time that the object was last updated.
Interfaces
Node interface common
An object with an ID.
Timestamped interface common
An object with timestamp fields for when it was created and last updated.
Member of
PinnedSearchConnection object ● PinnedSearchEdge object