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

# Find more candidates for a search

> Queues one candidate search (at most one running per search). The worker sources people from the workspace's market map and a people-data provider, judges them against the brief, re-checks them with that provider, checks their LinkedIn profiles and adds the best ones to the search at stage "sourced". Takes a few minutes; follow it with getCandidateSearch. Scope `find_more:write`.




## OpenAPI

````yaml /openapi.json post /jobs/{job_id}/find-more
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:
  /jobs/{job_id}/find-more:
    post:
      tags:
        - Find more candidates
      summary: Find more candidates for a search
      description: >
        Queues one candidate search (at most one running per search). The worker
        sources people from the workspace's market map and a people-data
        provider, judges them against the brief, re-checks them with that
        provider, checks their LinkedIn profiles and adds the best ones to the
        search at stage "sourced". Takes a few minutes; follow it with
        getCandidateSearch. Scope `find_more:write`.
      operationId: findMoreCandidates
      parameters:
        - $ref: '#/components/parameters/JobId'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FindMoreRequest'
            examples:
              request:
                $ref: '#/components/examples/find_more_request'
      responses:
        '202':
          description: Queued.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CandidateSearchQueued'
              examples:
                queued:
                  $ref: '#/components/examples/find_more_queued_response'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/Unprocessable'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  parameters:
    JobId:
      name: job_id
      in: path
      required: true
      description: The search's id.
      schema:
        type: string
        format: uuid
  schemas:
    FindMoreRequest:
      type: object
      additionalProperties: false
      properties:
        max_candidates:
          type: integer
          minimum: 1
          maximum: 25
          default: 15
          description: At most this many people are added.
        note:
          type: string
          maxLength: 300
          description: Steers this run only (never saved on the search).
    CandidateSearchQueued:
      type: object
      additionalProperties: false
      required:
        - request_id
        - job_id
        - status
        - mode
        - max_candidates
        - status_url
      properties:
        request_id:
          type: string
          format: uuid
        job_id:
          type: string
          format: uuid
        status:
          type: string
          const: pending
        mode:
          $ref: '#/components/schemas/SearchMode'
        max_candidates:
          type: integer
          minimum: 1
          maximum: 25
        status_url:
          type: string
          format: uri
          description: GET it to follow the search.
    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:
    find_more_request:
      summary: Ten more, with a focus for this run
      value:
        max_candidates: 10
        note: Prefer people who led a post-merger integration.
    find_more_queued_response:
      summary: Queued
      value:
        request_id: 33333333-3333-4333-8333-333333333333
        job_id: 11111111-1111-4111-8111-111111111111
        status: pending
        mode: more_like_this
        max_candidates: 10
        status_url: >-
          https://app.kudohires.com/api/v1/candidate-searches/33333333-3333-4333-8333-333333333333
    error_invalid_request_response:
      summary: Unknown body field
      value:
        error:
          code: invalid_request
          message: 'Unknown field: review_gate_override. Allowed: max_candidates, note.'
    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_search_in_flight_response:
      summary: Already searching
      value:
        error:
          code: search_in_flight
          message: >-
            A candidate search is already running for this search. New people
            appear as it finishes.
    error_missing_brief_response:
      summary: No brief yet
      value:
        error:
          code: missing_brief
          message: >-
            Add a job description or a brief note first, so the search knows
            what to look for.
    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:
    BadRequest:
      description: >-
        The request is not valid (unknown body field, bad max_candidates, limit,
        status, stage or cursor). Code invalid_request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            invalid:
              $ref: '#/components/examples/error_invalid_request_response'
    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'
    Conflict:
      description: >-
        A candidate search is already queued or running for this search. Code
        search_in_flight.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            in_flight:
              $ref: '#/components/examples/error_search_in_flight_response'
    Unprocessable:
      description: >-
        The search cannot be searched now. Codes missing_brief, job_not_active,
        too_many_unreviewed (40 or more candidates waiting for review),
        not_enabled.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missing_brief:
              $ref: '#/components/examples/error_missing_brief_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.