---
title: "Search with Sources"
method: POST
path: "/api/v1/search/documents"
tags: ["Search"]
---

# Search with Sources

`POST /api/v1/search/documents`

Search across Guru and your connected Sources.

## Headers

- `X-Guru-ActivitySubType` string

## Request body

- SearchQuerySpec
  - `includeFacets` boolean
  - `includeSnippets` boolean
  - `includeContent` boolean
  - `sourceTypes` string[]
  - `agentId` string
  - `query` union
    - AbsoluteDateExpression
      - `type` 'absolute-date', required
      - `value` string, date-time
      - `field` 'DATECREATED' | 'NEXTVERIFICATION' | 'LASTVERIFIED' | 'LASTMODIFIED' | 'FIRST_COMMENT_CREATED_EVENT' | 'LAST_COMMENT_CREATED_EVENT' | 'FIRST_CARD_COPIED_EVENT' | 'LAST_CARD_COPIED_EVENT' | 'LAST_CARD_VIEWED_EVENT' | 'FIRST_CARD_VIEWED_EVENT'
      - `op` 'GT' | 'GTE' | 'LT' | 'LTE'
    - AutoArchivedExpression
      - `type` 'auto-archived', required
      - `op` 'WASAUTOARCHIVED' | 'WASNOTAUTOARCHIVED' | 'ISPENDINGAUTOARCHIVE' | 'ISNOTPENDINGAUTOARCHIVE'
    - BoardIdExpression
      - `type` 'board-ids', required
      - `ids` string[]
      - `op` 'CONTAINS' | 'NOTCONTAINS' | 'CONTAINSIMMEDIATE' | 'NOTCONTAINSIMMEDIATE'
    - CardTemplateExpression
      - `type` 'card-template', required
      - `value` string
      - `op` 'EQ' | 'NOTEXISTS'
    - CardTypeExpression
      - `type` 'card-type', required
      - `cardType` 'CARD' | 'QUESTION'
      - `op` 'EQ' | 'NE'
    - CommentFromExpression
      - `type` 'comment-from', required
      - `op` 'EQ' | 'NE'
      - `email` string
    - CountExpression
      - `type` 'count', required
      - `value` integer
      - `field` 'VERINTERVAL' | 'COMMENTCOUNT' | 'FAVORITECOUNT' | 'BOARDCOUNT' | 'UNVERIFIEDCOPYCOUNT' | 'UNVERIFIEDVIEWCOUNT' | 'TAGCOUNT' | 'CARD_COPIED' | 'CARD_VIEWED' | 'FOLLOWCOUNT'
      - `op` 'EQ' | 'NE' | 'GT' | 'GTE' | 'LT' | 'LTE'
    - FileAttachmentExpression
      - `type` 'file-attachment', required
      - `op` 'EXISTS' | 'NOTEXISTS'
    - FileTypeExpression
      - `type` 'file-type', required
      - `value` string
      - `op` 'EQ' | 'NE'
    - FolderIdExpression
      - `type` 'folder-ids', required
      - `ids` string[]
      - `op` 'CONTAINS' | 'NOTCONTAINS' | 'CONTAINSIMMEDIATE' | 'NOTCONTAINSIMMEDIATE'
    - GroupCollaboratorExpression
      - `type` 'group-collaborator', required
      - `id` string
      - `op` 'EQ'
    - GroupVerifierExpression
      - `type` 'group-verifier', required
      - `op` 'EQ' | 'NE'
      - `groupId` string
    - GroupingExpression
      - `type` 'grouping', required
      - `op` 'AND' | 'OR'
      - `nestedExpressions` Expression[]
    - LastModifiedByExpression
      - `type` 'last-modified-by', required
      - `op` 'EQ' | 'NE'
      - `email` string
    - LastVerifiedByExpression
      - `type` 'last-verified-by', required
      - `op` 'EQ' | 'NE'
      - `email` string
    - MostPopularUnverifiedExpression
      - `type` 'mostPopularUnverified', required
    - MyCardsExpression
      - `type` 'mycards', required
    - MyFavoriteExpression
      - `type` 'myfavorite', required
    - MyFollowedCardsExpression
      - `type` 'myfollowedcards', required
    - MyVerifiedCardsExpression
      - `type` 'myverifiedcards', required
    - OriginalOwnerExpression
      - `type` 'originalOwner', required
      - `op` 'EQ' | 'NE'
      - `email` string
    - OwnerExpression
      - `type` 'owner', required
      - `op` 'EQ' | 'NE'
      - `email` string
    - PinExpression
      - `type` 'pin', required
      - `op` 'EXISTS' | 'NOTEXISTS'
    - PinUrlContainsExpression
      - `type` 'pin-url', required
      - `value` string
    - PublicCardExpression
      - `type` 'public-card', required
      - `op` 'ISPUBLIC' | 'ISNOTPUBLIC'
    - RecentCardsViewedExpression
      - `type` 'recentCardsViewed', required
      - `daysAgo` integer
    - RelativeDateExpression
      - `type` 'relative-date', required
      - `daysAgo` integer
      - `daysFromNow` integer
      - `field` 'DATECREATED' | 'NEXTVERIFICATION' | 'LASTVERIFIED' | 'LASTMODIFIED' | 'FIRST_COMMENT_CREATED_EVENT' | 'LAST_COMMENT_CREATED_EVENT' | 'FIRST_CARD_COPIED_EVENT' | 'LAST_CARD_COPIED_EVENT' | 'LAST_CARD_VIEWED_EVENT' | 'FIRST_CARD_VIEWED_EVENT'
      - `op` 'GT' | 'GTE' | 'LT' | 'LTE'
    - ShareTypeExpression
      - `type` 'share-type', required
      - `shareType` 'PRIVATE' | 'TEAM' | 'PUBLIC'
      - `op` 'EQ' | 'NE'
    - SharedToUserExpression
      - `type` 'shared-to-user', required
      - `email` string
    - TagCategoryExistsExpression
      - `type` 'tagcategory', required
      - `ids` string[]
      - `op` 'EXISTS' | 'NOTEXISTS'
    - TagExistsExpression
      - `type` 'tag', required
      - `ids` string[]
      - `op` 'EXISTS' | 'NOTEXISTS'
    - TitleExpression
      - `type` 'title', required
      - `value` string
      - `op` 'IS' | 'CONTAINS' | 'NOTCONTAINS' | 'STARTSWITH' | 'ENDSWITH'
    - TopPerformersExpression
      - `type` 'topPerformers', required
    - TrustStateExpression
      - `type` 'trust-state', required
      - `op` 'EQ' | 'NE'
      - `verificationState` 'TRUSTED' | 'STALE' | 'NEEDS_VERIFICATION' | 'SYNCED_NO_VERIFICATION'
    - UnverifiableCardExpression
      - `type` 'unverifiable', required
    - UserCollaboratorExpression
      - `type` 'user-collaborator', required
      - `id` string
      - `op` 'EQ'
    - UserVerifierExpression
      - `type` 'user-verifier', required
      - `op` 'EQ' | 'NE'
      - `email` string
    - VerificationTypeExpression
      - `type` 'verification-type', required
      - `verificationType` 'ABSOLUTE' | 'RELATIVE'
  - `collectionIds` string[]
  - `maxResults` integer
  - `sorts` Sort[]
    - `type` 'lastModified' | 'lastModifiedBy' | 'boardCount' | 'verificationState' | 'copyCount' | 'viewCount' | 'favoriteCount' | 'followerCount' | 'dateCreated' | 'verificationInterval' | 'verifier' | 'owner' | 'originalOwner' | 'lastVerifiedBy' | 'lastVerified' | 'verificationReason' | 'popularity' | 'unverifiedViewsCopies' | 'nextVerificationDate' | 'collection' | 'title' | 'followedDate' | 'pendingAutoArchive' | 'relevancy'
    - `dir` 'ASC' | 'DESC'
  - `showArchived` boolean
  - `searchTerms` string
  - `collectionUids` integer[]
  - `sourceIds` string[]
  - `queryType` 'cards' | 'questions' | 'archived' | 'draft' | 'legacy' | 'search_cards'

## Response `200`

successful operation

- DocumentSearchResponse
  - `facets` SearchFacets
    - `collections` CollectionFacet[]
      - `id` string
      - `name` string
      - `count` integer
      - `color` string
    - `tags` TagFacet[]
      - `id` string
      - `name` string
      - `count` integer
    - `authors` AuthorsFacet[]
      - `id` string
      - `name` string
      - `count` integer
    - `sources` SourceFacet[]
      - `id` string
      - `name` string
      - `count` integer
    - `sourceTypes` SourceTypeFacet[]
      - `id` string
      - `name` string
      - `type` string
      - `iconUrl` string
      - `count` integer
  - `total` integer
  - `documents` Document[]
    - union
      - CardDocument — The Card is the basic unit of knowledge in Guru
        - `id` string — ID of the Card
        - `lastModified` string, date-time — Date the Card was last modified
        - `version` integer — Current version of the Card. As the card gets updated and revised, the version number will increase.
        - `inaccessibleToAsker` boolean
        - `inaccessible` boolean
        - `latestVersion` integer
        - `deleted` boolean
        - `dateCreated` string, date-time — Date the Card was created
        - `url` string
        - `title` string
        - `documentType` 'GURU', required
        - `content` string, required — The Card's HTML or Markdown content
        - `owner` User
          - `id` string — The identifier of this User
          - `profilePicUrl` string — The profile picture url for the user
          - `joinedDate` string, date-time
          - `userProfile` UserProfile — Specifies additional information about a Guru User
            - `roleLevel` string — The level at which the user operates in their current role
            - `useCaseList` UseCase[] — Describes different ways the user intends to use Guru
              - …
            - `role` string — The functional role a Guru user performs on their team
          - `lastName` string, required — The user's last name
          - `firstName` string, required — The user's first name
          - `status` 'ACTIVE' | 'PENDING' — The status of a User can be ACTIVE or PENDING. The User must verify their email address to be considered ACTIVE.
          - `email` string, required — The user's email address
        - `verificationType` 'ABSOLUTE' | 'RELATIVE' — Whether the card's verification date is ABSOLUTE or RELATIVE
        - `slug` string — The slug is the URL address to the card
        - `favoritedDate` string, date-time — Date when this card has been favorited by the current user
        - `favorited` boolean — Whether this card has been favorited by the current user
        - `publicLinkAllowed` boolean
        - `archived` boolean — Indicates if the Card has been archived
        - `cardType` 'CARD' | 'QUESTION' — The type of the Card. CARD for content cards, QUESTION for Questions.
        - `nextVerificationDate` string, date-time — Next date that this Card needs verification dependent on verification interval
        - `originalOwner` User
          - `id` string — The identifier of this User
          - `profilePicUrl` string — The profile picture url for the user
          - `joinedDate` string, date-time
          - `userProfile` UserProfile — Specifies additional information about a Guru User
            - `roleLevel` string — The level at which the user operates in their current role
            - `useCaseList` UseCase[] — Describes different ways the user intends to use Guru
              - …
            - `role` string — The functional role a Guru user performs on their team
          - `lastName` string, required — The user's last name
          - `firstName` string, required — The user's first name
          - `status` 'ACTIVE' | 'PENDING' — The status of a User can be ACTIVE or PENDING. The User must verify their email address to be considered ACTIVE.
          - `email` string, required — The user's email address
        - `lastViewed` string, date-time — Last time the card was viewed
        - `collaborators` CardCollaborator[] — Users/Groups that this card is explicitly shared to. Collaborators of a card are the only ones who have access if the Card's shareStatus is PRIVATE.
          - union
            - UserCollaborator
              - …
            - UserGroupCollaborator
              - …
        - `attachments` CardAttachment[] — Attachments to the card
          - `id` string — The ID of the CardAttachment
          - `size` integer — The attached file's size in bytes
          - `extension` string — The attached file's extension
          - `mimetype` string
          - `link` string — Link to where the uploaded file is hosted in Guru's servers
          - `thumbnailLink` string — Link to where the thumbnail for the uploaded file is hosted in Guru's servers
          - `previewable` boolean
          - `filename` string — The file name and extension
        - `verificationReasons` string[]
        - `verificationInitiator` User
          - `id` string — The identifier of this User
          - `profilePicUrl` string — The profile picture url for the user
          - `joinedDate` string, date-time
          - `userProfile` UserProfile — Specifies additional information about a Guru User
            - `roleLevel` string — The level at which the user operates in their current role
            - `useCaseList` UseCase[] — Describes different ways the user intends to use Guru
              - …
            - `role` string — The functional role a Guru user performs on their team
          - `lastName` string, required — The user's last name
          - `firstName` string, required — The user's first name
          - `status` 'ACTIVE' | 'PENDING' — The status of a User can be ACTIVE or PENDING. The User must verify their email address to be considered ACTIVE.
          - `email` string, required — The user's email address
        - `commentCount` integer — Number of comments on the card
        - `cardInfo` CardInfo
          - `analytics` object
          - `membersWithCardView` integer
          - `membersWithoutCardView` integer
          - `boards` Board[]
            - `boardGroupId` string — The ID of the Board Group that this Board belongs to
            - `removed` boolean — Boolean flag if this Board has been removed
            - `id` string — The ID of the directory
            - `lastModified` string, date-time — The date that the directory was last modified
            - `groupsSharedWith` string[] — Returns the groups that a directory is shared with
            - `slug` string — The slug is the URL address to the directory
            - `numberOfFacts` integer — The number of cards in the directory
            - `favoritedDate` string, date-time — When this directory has been favorited by the current user
            - `favorited` boolean — Whether this board has been favorited by the current user
            - `collection` CollectionModel
              - …
            - `lastModifiedBy` User
              - …
            - `description` string — An optional short description of the directory
            - `title` string — The title of the directory
        - `syncInfo` CardSyncInfo
          - `externalUrl` string
          - `lastSyncDate` string, date-time
          - `lastUpdateDate` string, date-time
          - `contentSyncType` 'ZENDESK' | 'ZENDESK_IMPORT' | 'CONFLUENCE' | 'MANUAL' | 'GOOGLE_DRIVE' | 'ZENEFITS' | 'BOX' | 'KUSTOMER' | 'DROPBOX' | 'SALESFORCE' | 'GURU'
        - `suppressVerification` boolean — Flag for enabling card verification on save
        - `verificationInitiationDate` string, date-time — Date corresponding to the action that unverified the card
        - `cardTemplateId` string — ID of the template from which this card was created if applicable
        - `folderCount` integer — The number of folders this card is in
        - `answerId` string
        - `commentsEnabled` boolean — A flag to indicate if comments are allowed on this Card
        - `pendingAutoArchive` boolean — A flag to indicate if this unverified card is currently in an auto archive queue
        - `settingsUpdate` boolean — A flag to indicate if the changes are only updating the settings of the card
        - `collection` CollectionModel
          - `name` string — Collection Name
          - `readOnly` boolean
          - `id` string — ID of the collection
          - `color` string — A hex value for the color of the Collection
          - `emoji` string
          - `slug` string — The slug is the URL to get to this Collection
          - `collectionStats` CollectionStats
            - `stats` object — Returns an object that includes the Collection Trust Score, and Card Count of the Collection.
          - `lastSyncedDate` string, date-time — The date that the Collection was last synced from the source
          - `topLevelSyncLocation` string — The URL where the content of the Collection is being synced from
          - `publicCards` integer
          - `madeByGuru` boolean
          - `homeBoardSlug` string
          - `syncType` 'ZENDESK' | 'ZENDESK_IMPORT' | 'CONFLUENCE' | 'MANUAL' | 'GOOGLE_DRIVE' | 'ZENEFITS' | 'BOX' | 'KUSTOMER' | 'DROPBOX' | 'SALESFORCE' | 'GURU' — If this Collection has been synced, this will return the type. Types include: Zendesk, Confluence, Google Drive, and Manual.
          - `deleted` boolean — Flag for whether this Collection has been deleted
          - `team` Team
            - `name` string — Team Name
            - `id` string — ID of the fact
            - `profilePicUrl` string
            - `companyName` string — Team Company Name
            - `currentUserIsMember` boolean
            - `domain` string — Domain
            - `edition` TeamEdition
              - …
            - `billableUsers` integer
            - `totalUsers` integer
            - `teamDomains` TeamDomain[]
              - …
            - `slackCommandState` string
            - `slackCommandInstalled` boolean
            - `sfdcIntegrationState` string
            - `sfdcIntegrationInstalled` boolean
            - `clearProfilePic` boolean
            - `defaultGroup` UserGroup
              - …
            - `defaultUserType` 'FREE_CORE' | 'CORE'
            - `trialExpirationDate` string, date-time
            - `zendeskAssistState` string
            - `zendeskAssistInstalled` boolean
            - `zendeskKnowledgeState` string
            - `zendeskKnowledgeInstalled` boolean
            - `fileSharingDisabled` boolean
            - `collectionCreated` boolean
            - `teamCreationToken` string
            - `cardsCreated` integer
            - `topLevelOrganizationId` string
            - `numberOfCollections` integer
            - `numberOfOrgSharedCollections` integer
            - `allMembersGroupId` string
            - `deleted` boolean — Indicates if the fact has been deleted
            - `dateCreated` string, date-time — Date the team was created. Dates are in ISO-8601 format. Example date (January 2nd 2014 12pm UTC): 2014-01-02T12:00:00.000+0000
            - `userRole` string
            - `useCase` string
            - `description` string
            - `status` 'ACTIVE' | 'DORMANT' | 'LOCKED' | 'EXPIRED' | 'LOCKED_PAY'
            - `organization` Organization
              - …
          - `defaultVerifier` string
          - `boards` integer — Number of boards in this Collection
          - `dateCreated` string, date-time — Date the collection was created
          - `collectionType` 'INTERNAL' | 'EXTERNAL' — The type can be either INTERNAL or EXTERNAL. EXTERNAL indicates that the card is from a synced Collection.
          - `publicCardsEnabled` boolean
          - `syncVerificationEnabled` boolean
          - `collectionTypeDetail` 'ONBOARDING' | 'FRAMEWORK' | 'USER' | 'EXTERNAL' | 'SOURCE' | 'WELCOME' | 'ONBOARDING_UNEDITED' — The type can be FRAMEWORK, ONBOARDING, USER or EXTERNAL.
          - `verificationInterval` integer
          - `cards` integer — Number of cards in this Collection
          - `administrator` boolean
          - `description` string — Collection Description
          - `tags` integer — Returns all Tag objects associated with this collection
          - `token` string
        - `lastVerified` string, date-time — Date the Card was last verified
        - `lastVerifiedBy` User
          - `id` string — The identifier of this User
          - `profilePicUrl` string — The profile picture url for the user
          - `joinedDate` string, date-time
          - `userProfile` UserProfile — Specifies additional information about a Guru User
            - `roleLevel` string — The level at which the user operates in their current role
            - `useCaseList` UseCase[] — Describes different ways the user intends to use Guru
              - …
            - `role` string — The functional role a Guru user performs on their team
          - `lastName` string, required — The user's last name
          - `firstName` string, required — The user's first name
          - `status` 'ACTIVE' | 'PENDING' — The status of a User can be ACTIVE or PENDING. The User must verify their email address to be considered ACTIVE.
          - `email` string, required — The user's email address
        - `lastModifiedBy` User
          - `id` string — The identifier of this User
          - `profilePicUrl` string — The profile picture url for the user
          - `joinedDate` string, date-time
          - `userProfile` UserProfile — Specifies additional information about a Guru User
            - `roleLevel` string — The level at which the user operates in their current role
            - `useCaseList` UseCase[] — Describes different ways the user intends to use Guru
              - …
            - `role` string — The functional role a Guru user performs on their team
          - `lastName` string, required — The user's last name
          - `firstName` string, required — The user's first name
          - `status` 'ACTIVE' | 'PENDING' — The status of a User can be ACTIVE or PENDING. The User must verify their email address to be considered ACTIVE.
          - `email` string, required — The user's email address
        - `boards` Board[] — Returns Board objects that this card appears on
          - `boardGroupId` string — The ID of the Board Group that this Board belongs to
          - `removed` boolean — Boolean flag if this Board has been removed
          - `id` string — The ID of the directory
          - `lastModified` string, date-time — The date that the directory was last modified
          - `groupsSharedWith` string[] — Returns the groups that a directory is shared with
          - `slug` string — The slug is the URL address to the directory
          - `numberOfFacts` integer — The number of cards in the directory
          - `favoritedDate` string, date-time — When this directory has been favorited by the current user
          - `favorited` boolean — Whether this board has been favorited by the current user
          - `collection` CollectionModel
            - `name` string — Collection Name
            - `readOnly` boolean
            - `id` string — ID of the collection
            - `color` string — A hex value for the color of the Collection
            - `emoji` string
            - `slug` string — The slug is the URL to get to this Collection
            - `collectionStats` CollectionStats
              - …
            - `lastSyncedDate` string, date-time — The date that the Collection was last synced from the source
            - `topLevelSyncLocation` string — The URL where the content of the Collection is being synced from
            - `publicCards` integer
            - `madeByGuru` boolean
            - `homeBoardSlug` string
            - `syncType` 'ZENDESK' | 'ZENDESK_IMPORT' | 'CONFLUENCE' | 'MANUAL' | 'GOOGLE_DRIVE' | 'ZENEFITS' | 'BOX' | 'KUSTOMER' | 'DROPBOX' | 'SALESFORCE' | 'GURU' — If this Collection has been synced, this will return the type. Types include: Zendesk, Confluence, Google Drive, and Manual.
            - `deleted` boolean — Flag for whether this Collection has been deleted
            - `team` Team
              - …
            - `defaultVerifier` string
            - `boards` integer — Number of boards in this Collection
            - `dateCreated` string, date-time — Date the collection was created
            - `collectionType` 'INTERNAL' | 'EXTERNAL' — The type can be either INTERNAL or EXTERNAL. EXTERNAL indicates that the card is from a synced Collection.
            - `publicCardsEnabled` boolean
            - `syncVerificationEnabled` boolean
            - `collectionTypeDetail` 'ONBOARDING' | 'FRAMEWORK' | 'USER' | 'EXTERNAL' | 'SOURCE' | 'WELCOME' | 'ONBOARDING_UNEDITED' — The type can be FRAMEWORK, ONBOARDING, USER or EXTERNAL.
            - `verificationInterval` integer
            - `cards` integer — Number of cards in this Collection
            - `administrator` boolean
            - `description` string — Collection Description
            - `tags` integer — Returns all Tag objects associated with this collection
            - `token` string
          - `lastModifiedBy` User
            - `id` string — The identifier of this User
            - `profilePicUrl` string — The profile picture url for the user
            - `joinedDate` string, date-time
            - `userProfile` UserProfile — Specifies additional information about a Guru User
              - …
            - `lastName` string, required — The user's last name
            - `firstName` string, required — The user's first name
            - `status` 'ACTIVE' | 'PENDING' — The status of a User can be ACTIVE or PENDING. The User must verify their email address to be considered ACTIVE.
            - `email` string, required — The user's email address
          - `description` string — An optional short description of the directory
          - `title` string — The title of the directory
        - `shareStatus` 'PRIVATE' | 'TEAM' | 'PUBLIC' — The share status of the Card. TEAM for team shared cards and PRIVATE for privately shared cards
        - `verificationInterval` integer — Time interval (in days), indicating the frequency that this card needs re-verification. Passing in null will default to 30 days.
        - `verifiers` CardVerifier[] — Users/Groups that are responsible for verifying this card
          - union
            - UserGroupVerifier
              - …
            - UserVerifier
              - …
        - `verificationState` 'TRUSTED' | 'STALE' | 'NEEDS_VERIFICATION' | 'SYNCED_NO_VERIFICATION' — Whether the card is TRUSTED, STALE, or NEEDS_VERIFICATION
        - `verificationReason` 'UPDATE' | 'NEW_VERIFIER' | 'QUESTION' | 'REQUESTED' | 'EXPIRED' — Reason this card needs verification. UPDATE if this card was updated by a user that is not the verifier. NEW_VERIFIER if this card was assigned to a new verifier but has not yet been verified. This value will only be present if the verification state is NEEDS_VERIFICATION
        - `tags` Tag[] — Returns Tag objects associated with this card
          - `value` string — The name of the Tag
          - `id` string — The ID of the Tag
          - `numberOfCards` integer — The number of cards associated with this Tag
          - `categoryId` string — If the tag belongs to a category, this is the ID for the category
          - `categoryName` string — If the tag belongs to a category, this is the name for the category
      - SourceDocument
        - `id` string
        - `lastModified` string, date-time
        - `version` integer
        - `inaccessibleToAsker` boolean
        - `inaccessible` boolean
        - `latestVersion` integer
        - `deleted` boolean
        - `dateCreated` string, date-time
        - `url` string
        - `title` string
        - `documentType` 'SOURCE', required
        - `content` string
        - `source` Source
          - `name` string
          - `id` string
          - `definition` SourceDefinition
            - `name` string
            - `id` string
            - `type` string
            - `manualSyncAllowed` boolean
            - `configType` 'GOOGLE_DRIVE' | 'GOOGLE_DRIVE_V2' | 'SLACK' | 'CUSTOM' | 'GURU_IPAAS' | 'GSHEET' | 'MERGE_FILE' | 'MERGE_TICKET' | 'MERGE_CRM' | 'FILE_UPLOAD'
            - `requestAccess` boolean
            - `config` SourceDefinitionConfig
              - …
            - `availability` 'NONE' | 'GENERAL' | 'TEAM'
            - `category` string
            - `iconUrl` string
          - `config` union
            - CustomSourceConfig
              - …
            - FileUploadSourceConfig
              - …
            - GSheetSourceConfig
              - …
            - GoogleDriveSourceConfig
              - …
            - GoogleDriveV2SourceConfig
              - …
            - GuruIPaasSourceConfig
              - …
            - MergeCRMSourceConfig
              - …
            - MergeFileStorageSourceConfig
              - …
            - MergeTicketingSourceConfig
              - …
            - SlackSourceConfig
              - …
          - `lastSyncedDate` string, date-time
          - `statusReason` 'INVALID_AUTHENTICATION' | 'UNAUTHORIZED' | 'NO_API_ACCESS' | 'TARGET_INACCESSIBLE' | 'TOO_LARGE' | 'TARGET_INSECURE' | 'AUTH_EXPIRED' | 'MISSING_FEATURE' | 'API_ERROR' | 'NO_ADMIN' | 'API_TIMEOUT' | 'API_INTERRUPTED' | 'PARSING_ERROR' | 'EXTRACTION_ERROR' | 'HOMEBOARD_IMPORT_FAILED' | 'JOB_TIMEOUT' | 'UNKNOWN_ERROR'
          - `iconUrl` string
          - `lastSyncAttempt` string, date-time
          - `syncStatus` 'SYNCING' | 'SYNCED' | 'FAILED' | 'INVALID'
          - `connectionId` string
          - `authorizedBy` string
          - `sourceObjectTypes` ObjectType[]
            - `name` string
            - `fields` ObjectField[]
              - …
            - `id` string
            - `externalId` string
            - `analyticsEnabled` boolean
            - `application` Application
              - …
            - `dataType` 'JSON' | 'TEXT' | 'HTML' | 'MARKDOWN' | 'MIXED_HTML_MARKDOWN'
            - `sourceDataType` 'RECORD' | 'STRUCTURED'
            - `currentSyncNumber` integer
            - `templates` ObjectTypeTemplates
              - …
          - `connectionName` string
          - `objectSyncs` SourceObjectSync[]
            - `objectType` ObjectType
              - …
            - `lastSyncedDate` string, date-time
            - `statusReason` 'INVALID_AUTHENTICATION' | 'UNAUTHORIZED' | 'NO_API_ACCESS' | 'TARGET_INACCESSIBLE' | 'TOO_LARGE' | 'TARGET_INSECURE' | 'AUTH_EXPIRED' | 'MISSING_FEATURE' | 'API_ERROR' | 'NO_ADMIN' | 'API_TIMEOUT' | 'API_INTERRUPTED' | 'PARSING_ERROR' | 'EXTRACTION_ERROR' | 'HOMEBOARD_IMPORT_FAILED' | 'JOB_TIMEOUT' | 'UNKNOWN_ERROR'
            - `lastSyncAttempt` string, date-time
            - `syncStatus` 'SYNCING' | 'SYNCED' | 'FAILED' | 'INVALID'
            - `lastSyncCompleted` string, date-time
            - `objectCount` integer
          - `useSourceNativePermissions` boolean
          - `mergeIssues` LinkedAccountIssue[]
            - `id` string
            - `status` string
            - `errorDescription` string
            - `errorDetails` string[]
            - `muted` boolean
            - `firstIncidentTime` string, date-time
            - `lastIncidentTime` string, date-time
            - `userEmail` string
            - `integration` string
          - `team` Team
            - `name` string — Team Name
            - `id` string — ID of the fact
            - `profilePicUrl` string
            - `companyName` string — Team Company Name
            - `currentUserIsMember` boolean
            - `domain` string — Domain
            - `edition` TeamEdition
              - …
            - `billableUsers` integer
            - `totalUsers` integer
            - `teamDomains` TeamDomain[]
              - …
            - `slackCommandState` string
            - `slackCommandInstalled` boolean
            - `sfdcIntegrationState` string
            - `sfdcIntegrationInstalled` boolean
            - `clearProfilePic` boolean
            - `defaultGroup` UserGroup
              - …
            - `defaultUserType` 'FREE_CORE' | 'CORE'
            - `trialExpirationDate` string, date-time
            - `zendeskAssistState` string
            - `zendeskAssistInstalled` boolean
            - `zendeskKnowledgeState` string
            - `zendeskKnowledgeInstalled` boolean
            - `fileSharingDisabled` boolean
            - `collectionCreated` boolean
            - `teamCreationToken` string
            - `cardsCreated` integer
            - `topLevelOrganizationId` string
            - `numberOfCollections` integer
            - `numberOfOrgSharedCollections` integer
            - `allMembersGroupId` string
            - `deleted` boolean — Indicates if the fact has been deleted
            - `dateCreated` string, date-time — Date the team was created. Dates are in ISO-8601 format. Example date (January 2nd 2014 12pm UTC): 2014-01-02T12:00:00.000+0000
            - `userRole` string
            - `useCase` string
            - `description` string
            - `status` 'ACTIVE' | 'DORMANT' | 'LOCKED' | 'EXPIRED' | 'LOCKED_PAY'
            - `organization` Organization
              - …
          - `createdBy` User
            - `id` string — The identifier of this User
            - `profilePicUrl` string — The profile picture url for the user
            - `joinedDate` string, date-time
            - `userProfile` UserProfile — Specifies additional information about a Guru User
              - …
            - `lastName` string, required — The user's last name
            - `firstName` string, required — The user's first name
            - `status` 'ACTIVE' | 'PENDING' — The status of a User can be ACTIVE or PENDING. The User must verify their email address to be considered ACTIVE.
            - `email` string, required — The user's email address

## Other responses

- `400` — Invalid/Incomplete Request
- `401` — Request was unauthorized
- `403` — Forbidden access to the resource
- `404` — Resource could not be found

---

[API](https://skmtc.net/getguru/apis/guru-api.md) · [All operations](https://skmtc.net/getguru/apis/guru-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getguru/guru-api/versions/9090a01dfe1a/schema)
