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

# Your workspace and key

> The workspace this key belongs to and the key's scopes. Needs no scope.



## OpenAPI

````yaml /openapi.json get /me
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:
  /me:
    get:
      tags:
        - Workspace
      summary: Your workspace and key
      description: The workspace this key belongs to and the key's scopes. Needs no scope.
      operationId: getMe
      responses:
        '200':
          description: The workspace and the key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Me'
              examples:
                me:
                  $ref: '#/components/examples/get_me_response'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    Me:
      type: object
      additionalProperties: false
      required:
        - workspace
        - key
      properties:
        workspace:
          $ref: '#/components/schemas/Workspace'
        key:
          $ref: '#/components/schemas/ApiKeyInfo'
    Workspace:
      type: object
      additionalProperties: false
      required:
        - slug
        - name
      properties:
        slug:
          type: string
        name:
          type: string
    ApiKeyInfo:
      type: object
      additionalProperties: false
      required:
        - id
        - name
        - scopes
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        scopes:
          type: array
          items:
            type: string
            enum:
              - jobs:read
              - candidates:read
              - find_more:write
              - jobs:write
              - candidates:analyze
    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_me_response:
      summary: Your workspace and key
      value:
        workspace:
          slug: example-search
          name: Example Search
        key:
          id: 44444444-4444-4444-8444-444444444444
          name: Zapier
          scopes:
            - jobs:read
            - candidates:read
            - find_more:write
    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_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'
    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.