> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.revvue.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.revvue.ai/_mcp/server.

# Survey

GraphQL object

Reference: https://docs.revvue.ai/api-reference/surveys/types/objects/survey

## Fields

- `id` — Unique id (UUID).
- `documentType` — Document type.
- `activeState` — Active state
- `created` — Timestamp when document was created.
- `changed` — Timestamp of when the last change occurred.
- `createdBy` — Audit identification of who created the document.
- `changedBy` — Audit identification of who changed the document.
- `tenantId` — Document tenant id.
- `companyId` — Company id connected with the survey.
- `locationId` — Location id connected with the survey.
- `templateId` — Template id.
- `surveyType` — Survey type.
- `purpose` — Survey purpose.
- `displayMode` — Survey display mode.
- `name` — Name.
- `description` — Description.
- `language` — Language.
- `languages` — Languages.
- `pages` — Pages
- `nextNumber` — Next number for template
- `performedBy` — Performed by user.
- `performedDate` — Survey performed
- `status` — Survey status.
- `templateStatus` — Template status.
- `surveyFields` — Survey fields.
- `surveyGroupedFields` — Survey fields grouped.
- `surveyLogic` — Survey logic.
- `totalFields` — Total fields.
- `completedFields` — Completed fields.
- `completedSurveys` — Completed surveys.
- `hideTitle` — Hide title.
- `submitterInfo` — Submitter info.
- `enableLeaveExternalReview` — Enable leave external review.
- `externalReviewSources` — External review sources.
- `enableRewards` — Enable rewards.
- `rewardIds` — Reward ids.
- `interactionTime` — Interaction time.
- `dateOfVisit` — Date of visit.
- `customUiTexts` — Custom UI texts
- `userConsents` — User consents.
- `enableMarketingConsent` — Enable marketing consent.
- `themeId` — Theme id.
- `userName` — User name.
- `userEmail` — User email.
- `externalId` — External id.
- `externalSource` — External source.
- `allowAnonymous` — Allow anonymous.
- `systemTag` — System tag for the survey.
- `fileUrls` — File URLs associated with the survey.
- `notificationsIds` — Notification ids associated with the survey.
- `supportTicketId` — Support ticket id associated with the survey.
- `publicImageUrls` — Indicates if the file URLs are public.
- `isPrivate` — Private.
- `userAccessIds` — User access ids.

## Definition

```graphql
type Survey implements BaseObject {
  id: UUID
  documentType: DocumentType
  activeState: ActiveState
  created: DateTime
  changed: DateTime
  createdBy: String
  changedBy: String
  tenantId: String
  companyId: UUID
  locationId: UUID
  templateId: UUID
  surveyType: SurveyType
  purpose: SurveyPurpose
  displayMode: SurveyDisplayMode
  name: String
  description: String
  language: String
  languages: [String]
  pages: Int
  nextNumber: Int
  performedBy: UUID
  performedDate: DateTime
  status: SurveyStatus
  templateStatus: [TemplateStatus]
  surveyFields: [SurveyField]
  surveyGroupedFields: [GroupedFieldsType]
  surveyLogic: [WorkflowStepLogicGql]
  totalFields: Int
  completedFields: Int
  completedSurveys: Int
  hideTitle: Boolean
  submitterInfo: Boolean
  enableLeaveExternalReview: Boolean
  externalReviewSources: [IntegrationSource]
  enableRewards: Boolean
  rewardIds: [UUID]
  interactionTime: Float
  dateOfVisit: DateTime
  customUiTexts: CustomUiText
  userConsents: [UserConsent]
  enableMarketingConsent: Boolean
  themeId: UUID
  userName: String
  userEmail: String
  externalId: String
  externalSource: IntegrationSource
  allowAnonymous: Boolean
  systemTag: SystemTag
  fileUrls: [SurveyFileUrl]
  notificationsIds: [UUID]
  supportTicketId: UUID
  publicImageUrls: Boolean
  isPrivate: Boolean
  userAccessIds: [UUID]
}
```