Listing Cards
API Endpoint GET /v1/search/query
Search for cards.
Query Parameters
All query parameters are optional
q a Guru Query Language query string specifying the filters to apply to the query. See the Guru Query Language reference for details. Be sure to URL encode the query to make it safe for inclusion as a query parameter
-
searchTermssearch terms found in the card title, content, and other properties -
showArchiveda boolean value (trueorfalseindicating whether to show archived cards. If set totrue, thesearchTermsparameter will be ignored. -
maxResultsthe maximum number or results to be returned by the query. Can not exceed50 -
sortFieldthe field to sort the results by. Available fields are...-
lastModifiedthe date the card was last modified. This is the default sort field with default sort order of descending -
lastModifiedBythe user that last modified the card -
boardCountthe number of folders the card is in -
verificationStatethe trust status (Trusted, NeedsVerification) of the card -
copyCountthe number of times the card has been copied -
viewCountthe number of times the card has been viewed -
favoriteCountthe number of times the card has been favorited -
dateCreatedthe date the card was created -
verificationIntervalthe frequency in days the card needs to be verified -
verifierthe user or group that is responsible for verifying the card -
ownerthe user that created the card -
lastVerifiedBythe user that last verified the card -
lastVerifiedthe date the card was last verified -
popularitya Guru metric indicating how popular the card is -
titlethe title of the card
-
-
sortOrdereitherascfor ascending order ordescfor descending order
Sample Request
A call to get up to 10 cards that were modified in the last 7 days would include a query
lastModified < 7_days_ago and would look like this
https://api.getguru.com/api/v1/search/query?q=lastModified < 7_days_ago&maxResults=10
Sample Response
The response will include an array of card objects, including title, content, id, and other relevant information for the cards Results for these calls can be paged.
See the Paging documentation for more information
Updated 20 days ago
