> ## 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 Assessment

> Get details for a specific assessment by interview ID



## OpenAPI

````yaml https://api.ropes.ai/api/docs/openapi.json get /api/public/assessments/{interviewId}
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/{interviewId}:
    get:
      tags:
        - Assessments
      summary: Get Assessment
      description: Get details for a specific assessment by interview ID
      parameters:
        - schema:
            type: string
            description: The unique identifier of the assessment/interview
          required: true
          description: The unique identifier of the assessment/interview
          name: interviewId
          in: path
      responses:
        '200':
          description: Successfully retrieved assessment details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssessmentDetailsResponse'
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Assessment 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:
    AssessmentDetailsResponse:
      type: object
      properties:
        interview:
          allOf:
            - $ref: '#/components/schemas/Assessment'
            - description: Assessment details
      required:
        - interview
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
        message:
          type: string
          description: Error message (alternative field)
    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

````