> ## Documentation Index
> Fetch the complete documentation index at: https://docs.staging.questra.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List content revisions

> Newest first. Pass `include=source` to include full source text.



## OpenAPI

````yaml /openapi/program.openapi.json get /surveys/{surveyId}/content/revisions
openapi: 3.1.0
info:
  title: Questra Program API
  version: 0.0.1
  description: >-
    REST API for the Questra Program product. Browser users authenticate through
    Questra Auth SSO; automation uses workspace-scoped API keys (`Authorization:
    Bearer qpk_live_…`). API keys carry scopes enforced before handlers.
    Outbound webhooks follow Standard Webhooks (at-least-once delivery;
    consumers must be idempotent).
servers:
  - url: /v1
    description: Program API base path
security: []
paths:
  /surveys/{surveyId}/content/revisions:
    get:
      tags:
        - Survey content
      summary: List content revisions
      description: Newest first. Pass `include=source` to include full source text.
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: surveyId
          in: path
        - schema:
            type: string
            enum:
              - source
          required: false
          name: include
          in: query
      responses:
        '200':
          description: Revision list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContentRevisionList'
        '404':
          description: Survey not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
components:
  schemas:
    ContentRevisionList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ContentRevisionSummary'
      required:
        - data
    ErrorBody:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        resource:
          type: string
        slug:
          type: string
        file_id:
          type: string
        endpoint_id:
          type: string
        event_id:
          type: string
        delivery_id:
          type: string
        api_key_id:
          type: string
        integration_id:
          type: string
        audit_id:
          type: string
        status:
          type: string
        details: {}
        question_ids:
          type: array
          items:
            type: string
        survey_ids:
          type: array
          items:
            type: string
        revisions:
          type: array
          items:
            type: number
      required:
        - error
    ContentRevisionSummary:
      type: object
      properties:
        survey_id:
          type: string
          minLength: 1
        revision:
          type: integer
          exclusiveMinimum: 0
        platform:
          $ref: '#/components/schemas/ProgrammingPlatform'
        user_id:
          type: string
          minLength: 1
        message:
          type:
            - string
            - 'null'
        change_source:
          $ref: '#/components/schemas/ContentChangeSource'
        created_at:
          type: string
          format: date-time
        source:
          type: string
      required:
        - survey_id
        - revision
        - platform
        - user_id
        - message
        - change_source
        - created_at
    ProgrammingPlatform:
      type: string
      enum:
        - questra
        - decipher
        - confirmit
        - qualtrics
        - alchemer
    ContentChangeSource:
      type: string
      enum:
        - manual
        - agent
        - programming
        - pull
      description: >-
        How this tip was written: manual Review Save, Review/content-edit agent,
        programming workflow, or upstream pull.

````