Listing Cards

Query your team's cards with filters, sorting, and paging.

The List Cards endpoint is a search query: you filter your team's cards with Guru Query Language and get back the matching card objects. Reach for it when an integration needs a set of cards, whether that's an export, an audit, or a periodic sync.

GET /v1/search/query

Query parameters

All query parameters are optional.

ParameterDescription
qA Guru Query Language query string specifying the filters to apply. 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 (true or false) indicating whether to show archived cards. If set to true, the searchTerms parameter is ignored.
maxResultsThe maximum number of results to return. Cannot exceed 50.
sortFieldThe field to sort results by. See the values below.
sortOrderasc for ascending order or desc for descending order.

Sort fields

ValueMeaning
lastModifiedThe date the card was last modified. This is the default, with a default sort order of descending.
lastModifiedByThe user that last modified the card.
boardCountThe number of folders the card is in. The field retains its legacy board naming.
verificationStateThe trust status of the card (Trusted, NeedsVerification).
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 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.

Sample request

To get up to 10 cards modified in the last 7 days, use the query lastModified < 7_days_ago (URL encoded in practice):

curl -u $GURU_USER:$GURU_TOKEN "https://api.getguru.com/api/v1/search/query?q=lastModified < 7_days_ago&maxResults=10"

Sample response

The response is an array of card objects, including title, content, ID, and other relevant card information. Results can be paged; see Pagination.