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

# Follow a candidate search

> Status of one queued search: pending, running (with its current step), done (with how many people were added) or error (with the reason). A failure is reported as a failure, never as "0 found". Scope `jobs:read`.




## OpenAPI

````yaml /openapi.json get /candidate-searches/{request_id}
openapi: 3.1.0
info:
  title: Kudo Hires API
  version: 1.1.0
  summary: >-
    Create searches, read their candidates, find more candidates and analyse one
    candidate against a search.
  description: >
    One key per workspace. Nothing here contacts a candidate or a client. New
    candidates land on the search's pipeline at stage "sourced" for the
    recruiter to review, tagged "Web check pending". Every answer is JSON. Lists
    are pages ({data, next_cursor, has_more}); every error is {"error": {"code",
    "message"}}.
  contact:
    name: Kudo Hires
    url: https://app.kudohires.com
  license:
    name: Proprietary
    identifier: LicenseRef-KudoHires
servers:
  - url: https://app.kudohires.com/api/v1
    description: Production.
security:
  - ApiKey: []
tags:
  - name: Workspace
    description: Who you are.
  - name: Searches
    description: The searches (job openings) of the workspace.
  - name: Candidates
    description: The people on a search.
  - name: Find more candidates
    description: Queue a search for more candidates and follow it.
  - name: Analyse a candidate
    description: >-
      Score one person against a search, from a LinkedIn URL or pasted profile
      text.
paths:
  /candidate-searches/{request_id}:
    get:
      tags:
        - Find more candidates
      summary: Follow a candidate search
      description: >
        Status of one queued search: pending, running (with its current step),
        done (with how many people were added) or error (with the reason). A
        failure is reported as a failure, never as "0 found". Scope `jobs:read`.
      operationId: getCandidateSearch
      parameters:
        - $ref: '#/components/parameters/RequestId'
      responses:
        '200':
          description: The search's status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CandidateSearch'
              examples:
                done:
                  $ref: '#/components/examples/get_candidate_search_response'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    RequestId:
      name: request_id
      in: path
      required: true
      description: The candidate search's id (request_id from findMoreCandidates).
      schema:
        type: string
        format: uuid
  schemas:
    CandidateSearch:
      type: object
      additionalProperties: false
      required:
        - request_id
        - job_id
        - status
        - step
        - message
        - mode
        - max_candidates
        - result_count
        - requested_at
        - completed_at
        - results_url
      properties:
        request_id:
          type: string
          format: uuid
        job_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - pending
            - running
            - done
            - error
        step:
          type:
            - string
            - 'null'
          description: >-
            Last progress step (queued, started, sourcing, enriching, deduping,
            scoring, delivering, complete, failed).
        message:
          type: string
          description: What is happening, in one sentence.
        mode:
          oneOf:
            - $ref: '#/components/schemas/SearchMode'
            - type: 'null'
        max_candidates:
          type:
            - integer
            - 'null'
        result_count:
          type:
            - integer
            - 'null'
          description: People added; null until the search is done.
        requested_at:
          type: string
          format: date-time
        completed_at:
          type:
            - string
            - 'null'
          format: date-time
        results_url:
          type: string
          format: uri
    SearchMode:
      type: string
      enum:
        - first_batch
        - more_like_this
      description: >-
        first_batch when the search has no candidates yet, otherwise
        more_like_this.
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: object
          additionalProperties: false
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: >
                Stable machine code: invalid_request, invalid_api_key,
                insufficient_scope, workspace_inactive, view_as_not_allowed,
                forbidden, not_found, search_in_flight, missing_brief,
                job_not_active, too_many_unreviewed, not_enabled,
                auth_unavailable, unavailable, profile_not_found, daily_limit,
                not_configured.
            message:
              type: string
              description: A sentence for a person.
  examples:
    get_candidate_search_response:
      summary: A finished search
      value:
        request_id: 33333333-3333-4333-8333-333333333333
        job_id: 11111111-1111-4111-8111-111111111111
        status: done
        step: complete
        message: Candidate search complete · 2 inserted
        mode: more_like_this
        max_candidates: 10
        result_count: 2
        requested_at: '2026-11-20T10:00:00Z'
        completed_at: '2026-11-20T10:06:00Z'
        results_url: >-
          https://app.kudohires.com/api/v1/candidate-searches/33333333-3333-4333-8333-333333333333/results
    error_invalid_api_key_response:
      summary: Missing or revoked key
      value:
        error:
          code: invalid_api_key
          message: Missing, unknown or revoked API key.
    error_workspace_inactive_response:
      summary: Workspace not active
      value:
        error:
          code: workspace_inactive
          message: This workspace is not active. Contact Kudo Hires.
    error_not_found_response:
      summary: Unknown id
      value:
        error:
          code: not_found
          message: Not found.
    error_auth_unavailable_response:
      summary: Try again
      value:
        error:
          code: auth_unavailable
          message: Could not check the API key right now. Please try again.
  responses:
    Unauthorized:
      description: Missing, unknown or revoked key. Code invalid_api_key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            invalid_key:
              $ref: '#/components/examples/error_invalid_api_key_response'
    Forbidden:
      description: >-
        The key lacks the scope (insufficient_scope), the workspace is not
        active (workspace_inactive) or the request came from a view-as session
        (view_as_not_allowed).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            inactive:
              $ref: '#/components/examples/error_workspace_inactive_response'
    NotFound:
      description: >-
        No such id in this workspace (ids of other workspaces answer the same).
        Code not_found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            not_found:
              $ref: '#/components/examples/error_not_found_response'
    Unavailable:
      description: >-
        The key or the data could not be checked right now (auth_unavailable,
        unavailable). Retry later.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            unavailable:
              $ref: '#/components/examples/error_auth_unavailable_response'
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        Per-workspace key issued by Kudo Hires (starts with kh_live_). Send it
        in the Authorization header, never in a URL.

````

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