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

# Get Assessments for Candidate

> Get all assessments for a specific candidate



## OpenAPI

````yaml https://api.ropes.ai/api/docs/openapi.json get /api/public/assessments/candidate/{candidateId}
openapi: 3.0.0
info:
  title: Ropes Public API
  version: 1.0.0
  description: >-
    Public API for Ropes. Authenticate using your API key in the x-api-key
    header.
servers:
  - url: https://api.ropes.ai
    description: Production server
  - url: http://localhost:3001
    description: Local development server
security: []
paths:
  /api/public/assessments/candidate/{candidateId}:
    get:
      tags:
        - Assessments
      summary: Get Assessments for Candidate
      description: Get all assessments for a specific candidate
      parameters:
        - schema:
            type: string
            description: The unique identifier of the candidate
          required: true
          description: The unique identifier of the candidate
          name: candidateId
          in: path
      responses:
        '200':
          description: Successfully retrieved candidate assessments
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CandidateAssessmentsResponse'
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Candidate or assessments not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CandidateAssessmentsResponse:
      type: object
      properties:
        interviews:
          type: array
          items:
            $ref: '#/components/schemas/CandidateAssessment'
          description: List of assessments for the candidate
      required:
        - interviews
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
        message:
          type: string
          description: Error message (alternative field)
    CandidateAssessment:
      allOf:
        - $ref: '#/components/schemas/Assessment'
        - type: object
          properties:
            problemName:
              type: string
              nullable: true
              description: Display name/title of the problem assigned to this assessment
          required:
            - problemName
    Assessment:
      type: object
      properties:
        identifier:
          type: string
          description: Unique identifier for the assessment/interview
        candidateId:
          type: string
          description: Identifier of the candidate taking the assessment
        problemId:
          type: string
          description: Identifier of the problem/question for this assessment
        problemType:
          $ref: '#/components/schemas/ProblemType'
        status:
          type: string
          description: Current status of the assessment
        createdAt:
          type: string
          description: Timestamp when the assessment was created
      required:
        - identifier
        - candidateId
        - problemId
        - problemType
        - status
        - createdAt
    ProblemType:
      type: string
      enum:
        - technical-assessment
        - video-screening
      description: Problem type discriminator
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````