> ## Documentation Index
> Fetch the complete documentation index at: https://www.pickfu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get survey

> Retrieves a survey by its unique GUID, including all questions, answer options, respondent answers (if complete), and AI-generated summaries.



## OpenAPI

````yaml /docs/api-reference/openapi.json get /surveys/{id}
openapi: 3.1.0
info:
  title: PickFu API
  version: 1.0.0
  description: >-
    The PickFu API enables programmatic access to create surveys, retrieve
    results, and integrate PickFu into your workflows.


    ## Overview


    PickFu helps you get instant consumer feedback through surveys. With the
    API, you can:


    - Create surveys programmatically

    - Retrieve survey results and respondent data

    - Target specific audiences with demographic traits

    - Integrate PickFu into your product development workflow


    ## Rate Limits


    Selected endpoints (currently the CSV export endpoints) enforce per-caller
    rate limits and return `429 Too Many Requests` when exceeded. See each
    endpoint description for its specific budget.


    ## Authentication


    All API requests require a Bearer token — either an API key or an OAuth 2.0
    access token. See the [Authentication
    guide](https://www.pickfu.com/docs/developers/authentication) for details.
  contact:
    name: PickFu Support
    email: support@pickfu.com
    url: https://www.pickfu.com
servers:
  - url: https://api.pickfu.com/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Surveys
    description: >-
      Create, retrieve, update, and publish surveys. Surveys are the core
      resource — each contains one or more questions with answer options.
  - name: Responses
    description: >-
      Retrieve individual responses (answers) for a survey, with pagination and
      per-question filtering.
  - name: Tags
    description: Organize surveys with tags. Tags are scoped to your team/account.
  - name: Projects
    description: >-
      Organize surveys into projects. Projects group related surveys and can be
      bookmarked or archived.
  - name: Traits
    description: >-
      Audience targeting and reporting traits used to reach specific
      demographics and segment survey results.
  - name: Playbooks
    description: >-
      Discover and retrieve step-by-step research playbooks. Each playbook is a
      structured sequence of polls designed for a specific research goal.
  - name: Help
    description: Search the PickFu help center for articles and guides.
  - name: Media
    description: >-
      Generate images from text prompts and upload media files to the PickFu
      CDN.
  - name: Semantic Search
    description: >-
      Search completed surveys in your enrolled team account by meaning and
      answer evidence.
paths:
  /surveys/{id}:
    get:
      tags:
        - Surveys
      summary: Get survey
      description: >-
        Retrieves a survey by its unique GUID, including all questions, answer
        options, respondent answers (if complete), and AI-generated summaries.
      operationId: getSurvey
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
          description: Survey GUID
        - schema:
            type:
              - string
              - 'null'
          in: path
          name: questionId
          required: true
          description: Filter to a specific question by its GUID
        - schema:
            type:
              - string
              - 'null'
          in: path
          name: language
          required: true
          description: Language code for response translations (e.g. ES, FR, DE)
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    description: >-
                      Full survey data including questions, options, and
                      metadata
                    properties:
                      schedule:
                        type: object
                        additionalProperties: false
                        required:
                          - scheduledAt
                          - timezone
                          - status
                          - canReschedule
                          - canPublishNow
                          - canCancel
                          - cancellationClosesAt
                          - unavailableReason
                        properties:
                          scheduledAt:
                            type:
                              - 'null'
                              - string
                          timezone:
                            type:
                              - 'null'
                              - string
                          status:
                            type: string
                            enum:
                              - none
                              - draft
                              - confirming
                              - scheduled
                              - publishing
                              - published
                              - canceled
                          canReschedule:
                            type: boolean
                          canPublishNow:
                            type: boolean
                          canCancel:
                            type: boolean
                          cancellationClosesAt:
                            type:
                              - 'null'
                              - string
                          unavailableReason:
                            type:
                              - 'null'
                              - string
                            enum:
                              - permission_denied
                              - payment_pending
                              - publication_committed
                              - cancellation_cutoff
                              - canceled
                              - null
                      id:
                        type: string
                        description: Unique survey GUID
                      name:
                        type:
                          - string
                          - 'null'
                        description: Survey name/title
                      country:
                        type: string
                        description: Two-letter country code (e.g. US, GB)
                      currency:
                        type: string
                        description: >-
                          ISO 4217 currency derived from the survey target
                          country
                      randomizeOptions:
                        type: boolean
                      sampleSize:
                        type: number
                        description: Number of respondents requested
                      numResponses:
                        type:
                          - number
                          - 'null'
                        description: Number of responses collected so far
                      status:
                        type: string
                        description: >-
                          Survey status: unpublished, in-progress, completed, or
                          archived (deleted is also possible here for
                          soft-deleted surveys, which the list endpoint
                          excludes). Same vocabulary as the list endpoint — a
                          survey always has the identical status string on both.
                      targeting:
                        type: array
                        items:
                          type: string
                        description: >-
                          Array of targeting trait permalinks applied to this
                          survey
                      reporting:
                        type: array
                        items:
                          type: string
                        description: >-
                          Array of reporting trait permalinks for demographic
                          breakdowns
                      reportingDefaultsApplied:
                        type: array
                        items:
                          type: string
                        description: >-
                          Reporting trait permalinks that were auto-injected as
                          free defaults (based on plan level and country), not
                          explicitly requested by the caller
                      tags:
                        type: array
                        description: Tags associated with the survey
                        items:
                          type: object
                          required:
                            - id
                            - name
                          properties:
                            id:
                              type: string
                              description: Opaque tag identifier (tag_<32-hex>)
                            name:
                              type: string
                              description: Tag name
                      projects:
                        type: array
                        description: Projects the survey belongs to
                        items:
                          type: object
                          required:
                            - id
                            - name
                          properties:
                            id:
                              type: string
                              description: Project GUID
                            name:
                              type: string
                              description: Project name
                      surveyUrl:
                        type: string
                        description: Public URL to view the survey results
                      surveyIntent:
                        type: string
                        description: AI-interpreted intent of the survey
                      externalId:
                        type: string
                        description: >-
                          Optional opaque correlation key for your own records.
                          Omitted when unset. Case-sensitive and byte-exact.
                          Many surveys may share the same id. We do not
                          interpret this value.
                      template:
                        type:
                          - object
                          - 'null'
                        description: >-
                          The template the survey was made from and the limits
                          it must meet to publish, or null. Edits that break a
                          limit are rejected.
                        properties:
                          id:
                            type:
                              - string
                              - 'null'
                            description: >-
                              Template id (cmb_...), or null when the template
                              can no longer be addressed
                          name:
                            type: string
                          constraints:
                            type: object
                            additionalProperties: false
                            required:
                              - questionTypes
                              - optionTypes
                              - optionCount
                              - sampleSizes
                              - defaultSampleSize
                              - countries
                              - defaultCountry
                            properties:
                              questionTypes:
                                type: array
                                items:
                                  type: string
                                  enum:
                                    - head_to_head
                                    - ranked
                                    - open_ended
                                    - star_rating
                                    - click_test
                              optionTypes:
                                type: array
                                items:
                                  type: string
                                  enum:
                                    - text
                                    - image
                                    - video
                                    - url
                                    - product
                                    - image-set
                                    - audio
                              optionCount:
                                type: object
                                additionalProperties: false
                                required:
                                  - min
                                  - max
                                properties:
                                  min:
                                    type: integer
                                  max:
                                    type: integer
                              sampleSizes:
                                type: array
                                items:
                                  type: string
                              defaultSampleSize:
                                type: string
                              countries:
                                type: array
                                items:
                                  type: string
                              defaultCountry:
                                type: string
                      questions:
                        type: array
                        description: >-
                          Questions in the survey with options, responses, and
                          AI metadata
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              description: Question ID (GUID)
                            heatmapUrl:
                              type: string
                              format: uri
                              description: >-
                                Generated heatmap for a completed click-test
                                question
                            type:
                              type: string
                              description: >-
                                Question type (head_to_head, ranked, open_ended,
                                click_test, emoji_rating, star_rating,
                                five_second_test, screen_recording,
                                single_select, multi_select, likert,
                                van_westendorp)
                            variant:
                              type:
                                - string
                                - 'null'
                              description: Question variant for specialized display modes
                            value:
                              type: string
                              description: Question text
                            translation:
                              type:
                                - string
                                - 'null'
                              description: Translated question text
                            likertScale:
                              type:
                                - string
                                - 'null'
                              enum:
                                - agreement5
                                - agreement7
                                - frequency
                                - satisfaction
                                - null
                              description: >-
                                Likert scale preset, returned for likert
                                questions whose variant matches one of the
                                canonical presets. Null for non-likert questions
                                or legacy likert questions with no recognized
                                variant.
                            explanationRequired:
                              type: boolean
                              description: >-
                                Whether respondents write an explanation after
                                answering. False only when it was turned off;
                                always true on open_ended, five_second_test and
                                screen_recording questions.
                            options:
                              type:
                                - array
                                - 'null'
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    description: Option GUID for round-trip updates
                                  label:
                                    type: string
                                    description: Option identifier label (e.g. "Option A")
                                  value:
                                    oneOf:
                                      - type: string
                                      - type: array
                                        items:
                                          type: string
                                    description: >-
                                      Option content: text string, Cloudinary
                                      URL, or array of URLs (image-set)
                                  type:
                                    type: string
                                    description: >-
                                      Option data type: text, image, video,
                                      product, or image-set
                                  translation:
                                    type:
                                      - string
                                      - 'null'
                                    description: Translated option text
                                  product:
                                    type:
                                      - object
                                      - 'null'
                                    description: >-
                                      Product data for product-type options
                                      (ASIN or custom mockups)
                                    properties:
                                      asin:
                                        type:
                                          - string
                                          - 'null'
                                        description: Amazon ASIN (null for custom mockups)
                                      title:
                                        type: string
                                        description: Product title
                                      price:
                                        type: number
                                        description: Product price
                                      salePrice:
                                        type:
                                          - number
                                          - 'null'
                                        description: >-
                                          Discounted/sale price. null when the
                                          product is not on sale.
                                      currency:
                                        type:
                                          - string
                                          - 'null'
                                        description: Currency code for the price
                                      rating:
                                        type: number
                                        description: Star rating (0-5)
                                      reviews:
                                        type: number
                                        description: Number of reviews
                                      reviewScore:
                                        type:
                                          - number
                                          - 'null'
                                        description: >-
                                          Alias of rating for public API
                                          round-trip
                                      numRatings:
                                        type:
                                          - number
                                          - 'null'
                                        description: >-
                                          Alias of reviews for public API
                                          round-trip
                                      image:
                                        type: string
                                        description: Product image URL
                                  imageSetDirection:
                                    type: string
                                    description: >-
                                      Image stack layout direction: horizontal
                                      or vertical (image-set options only)
                                  mockupType:
                                    type: string
                                    description: >-
                                      Product mockup rendering style: serp or
                                      listing (product options only)
                                  mockup:
                                    type: object
                                    description: >-
                                      The mockup template a text option shows:
                                      `template` is its lookup key and `values`
                                      its stored field values, images at their
                                      PickFu media CDN copies. `values` leaves
                                      out the display field, which is the
                                      option's `value`. On update, leaving
                                      `mockup` out or sending it back unchanged
                                      keeps the page, and `mockup: null` removes
                                      the question's template.
                                    properties:
                                      template:
                                        type: string
                                      values:
                                        type: object
                                        additionalProperties: true
                              description: Answer options for this question
                            context:
                              type:
                                - object
                                - 'null'
                              description: >-
                                Additional context provided with the question
                                (e.g. a product description or image)
                              properties:
                                type:
                                  type: string
                                  description: Context type (text or media)
                                value:
                                  type: string
                                  description: >-
                                    Context content: the text, or for media the
                                    hosted media URL
                                text:
                                  type: string
                                  description: >-
                                    Caption shown with the image. Present only
                                    on a media context that has one; send it
                                    back with the media URL to keep both.
                                translation:
                                  type:
                                    - string
                                    - 'null'
                                  description: Translated context text
                            results:
                              type:
                                - object
                                - 'null'
                              description: >-
                                Aggregated, page-faithful summary of the outcome
                                for this question — the same percentages and
                                ranking shown on the results page. Null for
                                question types without a simple per-option
                                aggregate (open_ended, click_test, likert,
                                five_second_test, screen_recording, round_robin)
                                or before any responses arrive. For ranked
                                questions, `votes` is the final instant-runoff
                                tally the percentage is computed from, and
                                differs from the first-choice count shown beside
                                each option on the page; the winner exceeds 50%.
                              properties:
                                totalResponses:
                                  type: number
                                  description: >-
                                    Number of valid responses the percentages
                                    are computed against
                                winningOptionId:
                                  type:
                                    - string
                                    - 'null'
                                  description: >-
                                    GUID of the winning option, or null on a tie
                                    / before a winner is decided
                                averageScore:
                                  type: number
                                  description: >-
                                    Average rating, returned for rating
                                    questions only (emoji_rating, star_rating)
                                options:
                                  type: array
                                  description: >-
                                    Per-option results, ordered by rank (winner
                                    first)
                                  items:
                                    type: object
                                    properties:
                                      id:
                                        type: string
                                        description: Option GUID
                                      label:
                                        type:
                                          - string
                                          - 'null'
                                        description: Option label (e.g. "A")
                                      votes:
                                        type: number
                                        description: >-
                                          Vote count; the final instant-runoff
                                          tally for ranked questions
                                      percentage:
                                        type: number
                                        description: >-
                                          round(votes / totalResponses * 100),
                                          matching the results page
                                      rank:
                                        type:
                                          - number
                                          - 'null'
                                        description: Final placement (1 = winner)
                                      isWinner:
                                        type: boolean
                                        description: Whether this option is the winner
                            responses:
                              type: array
                              description: Respondent answers for this question
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    description: Response ID
                                  pinned:
                                    type: boolean
                                    description: Whether the response is pinned
                                  explanation:
                                    type:
                                      - string
                                      - 'null'
                                    description: Written explanation from the respondent
                                  translation:
                                    type:
                                      - string
                                      - 'null'
                                    description: Translated explanation text
                                  chosenOption:
                                    type:
                                      - string
                                      - 'null'
                                    description: >-
                                      Label of the option chosen by the
                                      respondent
                                  selectedOptions:
                                    type:
                                      - array
                                      - 'null'
                                    description: >-
                                      Labels of options selected by the
                                      respondent for multi-select questions
                                    items:
                                      type: string
                                  score:
                                    type:
                                      - number
                                      - 'null'
                                    description: >-
                                      Rating score (for emoji_rating,
                                      star_rating question types)
                                  clicks:
                                    type:
                                      - array
                                      - 'null'
                                    description: Click coordinates for click_test questions
                                    items:
                                      type: object
                                      properties:
                                        number:
                                          type: number
                                          description: Click sequence number
                                        xCoord:
                                          type: number
                                          description: X coordinate of the click
                                        yCoord:
                                          type: number
                                          description: Y coordinate of the click
                                  ranking:
                                    type:
                                      - array
                                      - 'null'
                                    description: >-
                                      Respondent's ranking of options for ranked
                                      question types. Each entry pairs a rank (1
                                      = top pick) with the option label.
                                    items:
                                      type: object
                                      properties:
                                        rank:
                                          type: number
                                          description: >-
                                            Rank position (1 = respondent's top
                                            pick)
                                        option:
                                          type:
                                            - string
                                            - 'null'
                                          description: Option label at this rank
                                  media:
                                    type:
                                      - string
                                      - 'null'
                                    description: >-
                                      Media URL (for screen_recording question
                                      types)
                                  mediaTranscription:
                                    type:
                                      - string
                                      - 'null'
                                    description: Transcription of the recorded media
                                  matchup:
                                    type:
                                      - object
                                      - 'null'
                                    description: >-
                                      Head-to-head matchup pairing shown to the
                                      respondent
                                    properties:
                                      option1:
                                        type: string
                                        description: First option in the matchup
                                      option2:
                                        type: string
                                        description: Second option in the matchup
                                  statements:
                                    type:
                                      - array
                                      - 'null'
                                    description: >-
                                      Per-statement responses for likert
                                      question types. Each entry pairs a
                                      statement with the numeric value the
                                      respondent picked on the configured scale.
                                    items:
                                      type: object
                                      properties:
                                        id:
                                          type: string
                                          description: >-
                                            GUID of the statement (the question
                                            option)
                                        statement:
                                          type:
                                            - string
                                            - 'null'
                                          description: Statement text
                                        value:
                                          type: number
                                          description: >-
                                            Numeric value the respondent picked on
                                            the Likert scale (1..N for the
                                            configured scale)
                                  prices:
                                    type:
                                      - object
                                      - 'null'
                                    description: >-
                                      Van Westendorp price-sensitivity
                                      responses. Four numeric prices the
                                      respondent provided for the four
                                      standardized PSM questions.
                                    properties:
                                      tooCheap:
                                        type: number
                                        description: >-
                                          Price at which the product would be so
                                          cheap that quality is questionable
                                      bargain:
                                        type: number
                                        description: >-
                                          Price at which the product would be a
                                          bargain
                                      expensive:
                                        type: number
                                        description: >-
                                          Price at which the product starts to
                                          feel expensive but is still worth
                                          considering
                                      tooExpensive:
                                        type: number
                                        description: >-
                                          Price at which the product would be too
                                          expensive to consider
                                  respondent:
                                    type: array
                                    description: Demographic traits of the respondent
                                    items:
                                      type: object
                                      properties:
                                        trait:
                                          type: string
                                          description: Trait category name
                                        value:
                                          type: string
                                          description: Trait value
                            ai:
                              type: object
                              description: >-
                                AI-generated metadata such as summaries and key
                                themes for this question
                              additionalProperties:
                                type: string
                      pace:
                        type: object
                        additionalProperties: false
                        description: >-
                          Live pace of a poll that is still collecting
                          responses. Present only while the poll is in progress
                          and only for users who can edit it.
                        properties:
                          publishedAt:
                            type: string
                            description: When the poll went live (ISO 8601)
                          elapsedMinutes:
                            type: number
                            description: Whole minutes since the poll went live
                          typical:
                            type:
                              - object
                              - 'null'
                            additionalProperties: false
                            description: >-
                              How long recent polls like this took to fill, or
                              null when there are too few to compare
                            properties:
                              minutesToQuarter:
                                type: number
                                description: >-
                                  Median minutes from launch until recent polls
                                  like this were a quarter full
                              minutesToHalf:
                                type: number
                                description: >-
                                  Median minutes from launch until recent polls
                                  like this were half full
                              minutesToThreeQuarters:
                                type: number
                                description: >-
                                  Median minutes from launch until recent polls
                                  like this were three-quarters full
                              minutesToFinish:
                                type: number
                                description: >-
                                  Median minutes from launch until recent polls
                                  like this were finished
                              basis:
                                type: string
                                enum:
                                  - same_audience
                                  - similar_audience
                                description: >-
                                  same_audience: recent polls with the same
                                  targeting, country and size; similar_audience:
                                  recent polls with the same country and size
                                  that were also targeted
                          yourHistory:
                            type:
                              - object
                              - 'null'
                            additionalProperties: false
                            description: >-
                              The poll owner's own recent polls like this one.
                              Null for anyone but the owner, and when there are
                              too few
                            properties:
                              medianMinutesToFinish:
                                type: number
                                description: Median minutes from launch until they finished
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
                  code:
                    type: string
                  availableLanguages:
                    type: array
                    items:
                      type: string
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        OAuth2 access token obtained via the authorization flow. Include in the
        Authorization header as: `Bearer {access_token}`

````

## Related topics

- [Get survey responses](https://www.pickfu.com/docs/api-reference/responses/get-survey-responses.md)
- [Get survey publication schedule](https://www.pickfu.com/docs/api-reference/surveys/get-survey-publication-schedule.md)
- [International surveys and translation](https://www.pickfu.com/docs/guides/international-surveys.md)
- [Get follow-up answers](https://www.pickfu.com/docs/api-reference/surveys/get-follow-up-answers.md)
- [PickFu CLI for surveys and automation](https://www.pickfu.com/docs/integrations/cli.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.