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

# List Questions

> Returns a paginated list of questions for a specific assessment.



## OpenAPI

````yaml GET /assessments/{assessmentId}/questions
openapi: 3.0.3
info:
  title: AlfaOne Public API
  description: >
    Public API for third-party integrations with AlfaOne assessment platform.


    ## Authentication

    All endpoints require an API key passed in the `x-api-key` header.

    API keys can be generated from the Integrations page in your organization's
    admin dashboard.


    Each API key is scoped to a single organization, and all data returned will
    be filtered to that organization.
  version: 1.0.0
  contact:
    name: AlfaOne Support
servers:
  - url: https://alfaone.app/api/v1
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Assessments
    description: Operations related to assessments
  - name: Questions
    description: Operations related to assessment questions
  - name: Members
    description: Operations related to organization members
  - name: Invites
    description: Operations related to assessment invites
  - name: Tags
    description: Operations related to organization tags
paths:
  /assessments/{assessmentId}/questions:
    get:
      tags:
        - Questions
      summary: List assessment questions
      description: Returns a paginated list of questions for a specific assessment.
      operationId: listAssessmentQuestions
      parameters:
        - $ref: '#/components/parameters/AssessmentId'
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/Limit'
        - name: sort
          in: query
          description: Field to sort by
          required: false
          schema:
            type: string
            enum:
              - order
              - created_at
              - points
            default: order
        - name: order
          in: query
          description: Sort direction
          required: false
          schema:
            type: string
            enum:
              - asc
              - desc
            default: asc
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  questions:
                    type: array
                    items:
                      $ref: '#/components/schemas/Question'
                  pagination:
                    $ref: '#/components/schemas/PaginationMeta'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  parameters:
    AssessmentId:
      name: assessmentId
      in: path
      description: Unique identifier of the assessment
      required: true
      schema:
        type: string
        format: uuid
    Page:
      name: page
      in: query
      description: Page number (1-indexed)
      required: false
      schema:
        type: integer
        minimum: 1
        default: 1
    Limit:
      name: limit
      in: query
      description: Number of items per page (max 100)
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
  schemas:
    Question:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier of the question
        order:
          type: integer
          description: Display order of the question (1-indexed)
        inputType:
          type: string
          enum:
            - text
            - audio
            - video
          description: How the question is presented to the candidate
        script:
          type: string
          description: The question text/script
        audioUrl:
          type: string
          format: uri
          nullable: true
          description: URL to the audio file for the question (if inputType is audio)
        videoUrl:
          type: string
          format: uri
          nullable: true
          description: URL to the video file for the question (if inputType is video)
        responseType:
          type: string
          enum:
            - text
            - audio
            - video
          description: Expected response format from the candidate
        points:
          type: integer
          description: Points awarded for this question
        timeLimit:
          type: integer
          description: Time limit in seconds for answering this question
        sourceLanguage:
          type: string
          description: Language code of the question content
        targetLanguage:
          type: string
          description: Language code expected for the answer
        createdAt:
          type: string
          format: date-time
          description: When the question was created
        updatedAt:
          type: string
          format: date-time
          description: When the question was last updated
    PaginationMeta:
      type: object
      properties:
        page:
          type: integer
          description: Current page number
          example: 1
        limit:
          type: integer
          description: Number of items per page
          example: 20
        total:
          type: integer
          description: Total number of items across all pages
          example: 87
        totalPages:
          type: integer
          description: Total number of pages
          example: 5
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Error message
  responses:
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missing_key:
              summary: Missing API key
              value:
                error: API key is required
            invalid_key:
              summary: Invalid API key
              value:
                error: Invalid API key
            expired_key:
              summary: Expired API key
              value:
                error: API key has expired
            revoked_key:
              summary: Revoked API key
              value:
                error: API key has been revoked
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Assessment not found
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Internal server error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Format:
        ak_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

````