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

# Get Interview

> Returns the candidate's interview as a single aggregated result (status, outcome, summary) rather than a list of raw call rows. This is the recommended way to consume screening results — poll it or, preferably, receive the interview.completed webhook. Use GET /candidates/:id/calls only for raw per-attempt call records (advanced).

Retrieve a candidate's interview as a single aggregated result — status, outcome, and AI-generated summary — rather than a list of raw call rows.

This is the **recommended way to consume screening results**. Poll this endpoint, or (preferably) receive the `interview.completed` webhook and then fetch the interview here. Use [List candidate calls](/docs/api-reference/calls/list-candidate-calls.md) only when you need the raw per-attempt call records (advanced).

`outcome` is `null` while nothing has decided the interview yet. Only `qualified`, `unqualified` and `completed` mean an interview took place. The other values (`candidate_not_interested`, `ai_opt_out`, `candidate_not_responsive`, `ai_stopped_override` and the three `not_sent_*` values) are set without a completed interview, so don't treat a non-null `outcome` as "the interview finished". The [Glossary](/docs/glossary.md#interview-outcomes) says when each value is set.

```bash cURL theme={null}
curl -X GET "https://api.classet.ai/v2/candidates/Xk3pQ9vT2mLr8bNc4Hd1s/interview" \
  -H "X-API-KEY: your-api-key"
```

```json 200 theme={null}
{
  "data": {
    "candidate_id": "Xk3pQ9vT2mLr8bNc4Hd1s",
    "job_id": "k7Hq2xVbN",
    "job_title": "Electrician Apprentice",
    "status": "completed",
    "outcome": "qualified",
    "summary": "Candidate demonstrated solid knowledge of residential wiring and safety protocols. Available to start May 1st.",
    "sent_at": "2026-04-02T09:00:00.000Z",
    "completed_at": "2026-04-02T09:18:00.000Z",
    "question_answers": [
      {
        "question": "How many years of residential electrical experience do you have?",
        "answer": "About three years."
      },
      {
        "question": "Do you have your own tools?",
        "answer": "Yes."
      }
    ],
    "custom_data": {
      "available_start_date": "2026-05-01",
      "has_own_tools": true
    },
    "call_count": 1,
    "recording_url": "https://storage.example.com/recordings/48211.wav?token=...",
    "transcript": [
      {
        "role": "agent",
        "text": "Hi John, thanks for taking a few minutes to chat about the apprentice role."
      },
      {
        "role": "candidate",
        "text": "Happy to. I've been doing residential work for about three years."
      }
    ]
  }
}
```


## OpenAPI

````yaml GET /v2/candidates/{candidateId}/interview
openapi: 3.1.0
info:
  title: Classet API
  version: 2.0.3
  description: >-
    AI-powered recruiting and phone screening API.


    **API key scopes.** `read` covers every GET; any other method needs `write`
    (403 `insufficient_scope`); starting or stopping an interview also needs
    `interviews:send`. A branch-limited key sees and writes only jobs in its
    branches (not jobs with no branch) and their candidates, applications and
    calls; anything outside is a 404. An organization-group key is read-only
    across every organization in its group. Branch-limited and group keys cannot
    use organization configuration (scripts, knowledge, webhooks, message
    automations, agent settings, AI generation, organization): 403
    `restricted_key_unsupported`. `GET /v2/me` reports what the calling key can
    do.
servers:
  - url: https://api.classet.ai
    description: Production
  - url: http://localhost:8081
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /v2/candidates/{candidateId}/interview:
    get:
      tags:
        - Candidates
      summary: Get the candidate's interview
      description: >-
        Returns the candidate's interview as a single aggregated result (status,
        outcome, summary) rather than a list of raw call rows. This is the
        recommended way to consume screening results — poll it or, preferably,
        receive the interview.completed webhook. Use GET /candidates/:id/calls
        only for raw per-attempt call records (advanced).
      parameters:
        - schema:
            type: string
          required: true
          name: candidateId
          in: path
          description: The unique identifier of the candidate.
      responses:
        '200':
          description: Aggregated interview
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/InterviewDetail'
                required:
                  - data
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    InterviewDetail:
      type: object
      properties:
        candidate_id:
          type: string
          example: cand_abc123
        job_id:
          type: string
          nullable: true
          description: >-
            The v2 job ID (`jobs.id`), as GET /v2/jobs returns it.
            `job_shortcode`, where present, is the v1 shortcode of the same job;
            every `{jobId}` and `job_id` input accepts either. Identical in the
            interview.completed webhook.
        job_shortcode:
          type: string
          nullable: true
          description: The v1 shortcode of the job.
        job_title:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - not_sent
            - in_progress
            - completed
          description: >-
            Interview lifecycle state. One of `"not_sent"` (no interview
            requested yet), `"in_progress"` (sent / awaiting completion), or
            `"completed"` (processed).
        outcome:
          type: string
          nullable: true
          example: pass
          description: >-
            Final interview outcome (e.g. `"pass"`, `"fail"`,
            `"ai_stopped_override"`), or `null` until completed.
        summary:
          type: string
          nullable: true
          description: >-
            AI-generated interview summary — the primary consumable for
            screening results.
        sent_at:
          type: string
          nullable: true
          description: ISO 8601 timestamp when the interview invitation was sent.
        completed_at:
          type: string
          nullable: true
          description: ISO 8601 timestamp when the interview was completed.
        question_answers:
          nullable: true
          description: Aggregated screening question answers from the interview.
        custom_data:
          nullable: true
          description: Custom key-value data collected during the interview.
        call_count:
          type: integer
          example: 1
          description: Number of underlying call attempts aggregated into this interview.
        recording_url:
          type: string
          nullable: true
          description: Recording of the most recent completed call (advanced).
        transcript:
          nullable: true
          description: Transcript of the most recent completed call (advanced).
      required:
        - candidate_id
        - job_id
        - job_shortcode
        - job_title
        - status
        - outcome
        - summary
        - sent_at
        - completed_at
        - call_count
        - recording_url
      description: >-
        A candidate's interview as a single aggregated result (summary +
        outcome), not multiple raw calls.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Your Classet API key. Create and rotate keys in Settings → API.

````

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