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

# Scrape LinkedIn Recruiter people search

> One page of a LinkedIn Recruiter (talent) people search, by a structured filters object (the Recruiter facets: titles, skills, companies, locations, postal codes, industries, education, languages, seniority, function, company size and type, year sliders, network, open-to-work) OR by a pasted Recruiter search url. A Recruiter URL carries no filters, only the searchHistoryId of the search LinkedIn keeps on the seat, so the url half replays that stored search on your page; every answer returns search_history_id and search_url, so page 2 onwards is addressed by the URL alone. 25 hits a page, page 1..40, a real total; rows carry talent_id (for send_linkedin_recruiter_message), headline, location, current position, can_send_inmail. Needs a Recruiter-seat executor with a live session (422 recruiter_required, 409 recruiter_reauth_required); 429 recruiter_search_usage_limit is LinkedIn's per-seat throttle, wait a minute. Ids via scrape_linkedin_recruiter_param_id_lookup. One scraping-bucket slot per page.

Contract:
- MCP tool `scrape_linkedin_search_recruiter_people`, registry package `mcp.linkedin/linkedin_scraping`, mount `linkedin.scraping`.
- Operation `action`, response envelope `action`.
- Flags: none.



## OpenAPI

````yaml /api-reference/linkedin/openapi.yaml post /api/linkedin-scraping/search-recruiter-people
openapi: 3.0.3
info:
  title: 'GTM API public contract: gtm.service.linkedin'
  description: >-
    Connected LinkedIn accounts and everything driven through them: account
    health and smart limits, conversations and messages, the connection graph,
    outbound posting, scraping, profile and company enrichment, and the
    antidetect browsers that execute it all.


    GENERATED. This document is projected from the Zod MCP tool registry in
    `product/mcp/gtm.mcp` (one tool per public endpoint, 1:1). Do not edit it by
    hand; edit the tool definition and regenerate with `pnpm openapi:public`.


    Surface: the public `/api` contract of `gtm.service.linkedin`, 179
    operations. This is the only OpenAPI document the platform publishes.
    Internal (`/internal`) and health endpoints are deliberately absent: they
    are not part of any contract, they can change without notice, and the
    service source is their only description.


    Conventions:

    - Auth is a bearer JWT, optionally narrowed by the `Team-SID` header.

    - Every success body is an MCP envelope: `success: true` plus one typed
    `operation` shape (`search`, `get`, `create`, `update`, `delete`, `metrics`,
    `group_by`, `action`), and a `meta` block with `trace_id` for support.

    - Every failure is the same `McpError` envelope with a code from a fixed
    16-code taxonomy, so a client maps errors once.

    - Lists page with `page_size` (0 to 500, default 50) plus an opaque forward
    `cursor`; `page_size: 0` returns counts only.

    - On `GET` and `DELETE`, object-valued query parameters (`filter`, `sort`)
    travel as JSON text and array-valued ones repeat as `name[]=value`.

    - The MCP-only `_meta` field (usage analytics) never reaches the backend and
    is not part of this contract.
  version: '1.0'
  contact:
    name: GTM API
    url: https://gtm-api.com
    email: support@gtm-api.com
  license:
    name: Proprietary
    url: https://gtm-api.com/license
servers:
  - url: https://app.gtm-api.com/linkedin/v4
    description: Production, through the app.gtm-api.com gateway
security:
  - BearerJwt: []
    TeamSid: []
tags:
  - name: antidetect_browser_logs
    description: >-
      Registry package `mcp.linkedin/antidetect_browser_logs`, served on MCP
      mount `linkedin.browsers`.
  - name: antidetect_browser_proxies
    description: >-
      Registry package `mcp.linkedin/antidetect_browser_proxies`, served on MCP
      mount `linkedin.browsers`.
  - name: antidetect_browsers
    description: >-
      Registry package `mcp.linkedin/antidetect_browsers`, served on MCP mount
      `linkedin.browsers`.
  - name: cloud_browser_sessions
    description: >-
      Registry package `mcp.linkedin/cloud_browser_sessions`, served on MCP
      mount `linkedin.browsers`.
  - name: cloud_browsers
    description: >-
      Registry package `mcp.linkedin/cloud_browsers`, served on MCP mount
      `linkedin.browsers`.
  - name: data_requests
    description: >-
      Registry package `mcp.linkedin/data_requests`, served on MCP mount
      `linkedin.data`.
  - name: linkedin_account_activity_log
    description: >-
      Registry package `mcp.linkedin/linkedin_account_activity_log`, served on
      MCP mount `linkedin.account-monitor`.
  - name: linkedin_account_block_log
    description: >-
      Registry package `mcp.linkedin/linkedin_account_block_log`, served on MCP
      mount `linkedin.account-monitor`.
  - name: linkedin_account_quota_hits
    description: >-
      Registry package `mcp.linkedin/linkedin_account_quota_hits`, served on MCP
      mount `linkedin.account-monitor`.
  - name: linkedin_account_smart_limits
    description: >-
      Registry package `mcp.linkedin/linkedin_account_smart_limits`, served on
      MCP mount `linkedin.accounts`.
  - name: linkedin_account_snapshots
    description: >-
      Registry package `mcp.linkedin/linkedin_account_snapshots`, served on MCP
      mount `linkedin.account-monitor`.
  - name: linkedin_account_sync_runs
    description: >-
      Registry package `mcp.linkedin/linkedin_account_sync_runs`, served on MCP
      mount `linkedin.account-monitor`.
  - name: linkedin_accounts
    description: >-
      Registry package `mcp.linkedin/linkedin_accounts`, served on MCP mount
      `linkedin.accounts`.
  - name: linkedin_auto_scrape_results
    description: >-
      Registry package `mcp.linkedin/linkedin_auto_scrape_results`, served on
      MCP mount `linkedin.auto-scrapes`.
  - name: linkedin_auto_scrape_runs
    description: >-
      Registry package `mcp.linkedin/linkedin_auto_scrape_runs`, served on MCP
      mount `linkedin.auto-scrapes`.
  - name: linkedin_auto_scrapes
    description: >-
      Registry package `mcp.linkedin/linkedin_auto_scrapes`, served on MCP mount
      `linkedin.auto-scrapes`.
  - name: linkedin_benchmarks
    description: >-
      Registry package `mcp.linkedin/linkedin_benchmarks`, served on MCP mount
      `linkedin.account-monitor`.
  - name: linkedin_connection_invitations
    description: >-
      Registry package `mcp.linkedin/linkedin_connection_invitations`, served on
      MCP mount `linkedin.network`.
  - name: linkedin_connection_requests
    description: >-
      Registry package `mcp.linkedin/linkedin_connection_requests`, served on
      MCP mount `linkedin.network`.
  - name: linkedin_connections
    description: >-
      Registry package `mcp.linkedin/linkedin_connections`, served on MCP mount
      `linkedin.network`.
  - name: linkedin_conversations
    description: >-
      Registry package `mcp.linkedin/linkedin_conversations`, served on MCP
      mount `linkedin.messaging`.
  - name: linkedin_custom_requests
    description: >-
      Registry package `mcp.linkedin/linkedin_custom_requests`, served on MCP
      mount `linkedin.platform`.
  - name: linkedin_enrichment
    description: >-
      Registry package `mcp.linkedin/linkedin_enrichment`, served on MCP mount
      `linkedin.enrichment`.
  - name: linkedin_followers
    description: >-
      Registry package `mcp.linkedin/linkedin_followers`, served on MCP mount
      `linkedin.network`.
  - name: linkedin_messages
    description: >-
      Registry package `mcp.linkedin/linkedin_messages`, served on MCP mount
      `linkedin.messaging`.
  - name: linkedin_posting
    description: >-
      Registry package `mcp.linkedin/linkedin_posting`, served on MCP mount
      `linkedin.content`.
  - name: linkedin_scraping
    description: >-
      Registry package `mcp.linkedin/linkedin_scraping`, served on MCP mount
      `linkedin.scraping`.
paths:
  /api/linkedin-scraping/search-recruiter-people:
    post:
      tags:
        - linkedin_scraping
      summary: Scrape LinkedIn Recruiter people search
      description: >-
        One page of a LinkedIn Recruiter (talent) people search, by a structured
        filters object (the Recruiter facets: titles, skills, companies,
        locations, postal codes, industries, education, languages, seniority,
        function, company size and type, year sliders, network, open-to-work) OR
        by a pasted Recruiter search url. A Recruiter URL carries no filters,
        only the searchHistoryId of the search LinkedIn keeps on the seat, so
        the url half replays that stored search on your page; every answer
        returns search_history_id and search_url, so page 2 onwards is addressed
        by the URL alone. 25 hits a page, page 1..40, a real total; rows carry
        talent_id (for send_linkedin_recruiter_message), headline, location,
        current position, can_send_inmail. Needs a Recruiter-seat executor with
        a live session (422 recruiter_required, 409 recruiter_reauth_required);
        429 recruiter_search_usage_limit is LinkedIn's per-seat throttle, wait a
        minute. Ids via scrape_linkedin_recruiter_param_id_lookup. One
        scraping-bucket slot per page.


        Contract:

        - MCP tool `scrape_linkedin_search_recruiter_people`, registry package
        `mcp.linkedin/linkedin_scraping`, mount `linkedin.scraping`.

        - Operation `action`, response envelope `action`.

        - Flags: none.
      operationId: scrape_linkedin_search_recruiter_people
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScrapeLinkedinSearchRecruiterPeopleRequest'
      responses:
        '200':
          description: '`action` success envelope.'
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ScrapeLinkedinSearchRecruiterPeopleResponse
        4XX:
          $ref: '#/components/responses/McpClientError'
        5XX:
          $ref: '#/components/responses/McpServerError'
components:
  schemas:
    ScrapeLinkedinSearchRecruiterPeopleRequest:
      type: object
      description: Request body of `scrape_linkedin_search_recruiter_people`.
      properties:
        linkedin_account_sid:
          type: string
          nullable: true
          minLength: 18
          maxLength: 18
          pattern: ^ln_ac_
          description: >-
            Executor account (ln_ac_...). OPTIONAL everywhere on this surface.
            Given: the call runs on that account ONLY; a saturated or held
            scraping bucket refuses 429 bucket_saturated (with retry_after).
            Omitted: the service auto-picks one of your connected accounts with
            remaining capacity (SN verbs pick only Sales-Navigator seats; 422
            no_connected_accounts when none is ready, 429 when all are at
            capacity).
        idempotency_key:
          type: string
          nullable: true
          maxLength: 128
          description: >-
            Ledger replay guard: a repeat call with the same (team, key) returns
            the stored outcome; no re-execution. Recommended on every search
            run. The KEY ALONE decides: the probe does not compare arguments, so
            reusing one key after changing the arguments hands back the FIRST
            result. On the twelve search verbs that matters twice over, because
            switching a call from filters to url (or back) under one key replays
            instead of running the new search. New search, new key.
        url:
          type: string
          nullable: true
          maxLength: 2048
          pattern: ^https:\/\/www\.linkedin\.com\/talent\/search
          description: >-
            EXCLUSIVE with `filters`: send url OR filters, never both (422) and
            never neither (422). A search URL built in the LinkedIn UI, and the
            escape hatch for everything the filter vocabulary cannot express.
            MUST start with https://www.linkedin.com/talent/search : a URL from
            another LinkedIn search screen is refused here and again by the
            backend (422 invalid_search_url), because running it would silently
            scrape the wrong thing. The URL LinkedIn Recruiter shows after a
            search (/talent/search?...searchHistoryId=N...): it names the search
            by its searchHistoryId only, so a URL without one is refused (422)
            rather than run as a keywords-only search. Use the search_url a
            previous answer returned to page on.
        filters:
          type: object
          nullable: true
          properties:
            keywords:
              type: string
              nullable: true
              maxLength: 256
            first_name:
              type: string
              nullable: true
              maxLength: 100
            last_name:
              type: string
              nullable: true
              maxLength: 100
            job_titles:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                  scope:
                    type: string
                    nullable: true
                    enum:
                      - CURRENT
                      - PAST
                      - CURRENT_OR_PAST
                      - PAST_NOT_CURRENT
                    description: >-
                      Where in the career the chip must sit; omitted =
                      CURRENT_OR_PAST.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                Job titles. Ids via lookup(type: "occupation")
                (urn:li:ts_title:N) or free text: [{text: "Head of Growth"}].
                scope: 'CURRENT' | 'PAST' | 'CURRENT_OR_PAST' (default) |
                'PAST_NOT_CURRENT'.
            occupations:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                  scope:
                    type: string
                    nullable: true
                    enum:
                      - CURRENT
                      - PAST
                      - CURRENT_OR_PAST
                      - PAST_NOT_CURRENT
                    description: >-
                      Where in the career the chip must sit; omitted =
                      CURRENT_OR_PAST.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                Standardized titles (LinkedIn's title taxonomy), id REQUIRED via
                lookup(type: "occupation"). scope: 'CURRENT' | 'PAST' |
                'CURRENT_OR_PAST' (default) | 'PAST_NOT_CURRENT'.
            skills:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                Skills. Ids via lookup(type: "skill") (urn:li:ts_skill:N) or
                free text.
            companies:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                  scope:
                    type: string
                    nullable: true
                    enum:
                      - CURRENT
                      - PAST
                      - CURRENT_OR_PAST
                      - PAST_NOT_CURRENT
                    description: >-
                      Where in the career the chip must sit; omitted =
                      CURRENT_OR_PAST.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                Employers, current or past. Ids via lookup(type: "company")
                (urn:li:ts_company:N) or free text; exclude: true is the classic
                "not my own company". scope: 'CURRENT' | 'PAST' |
                'CURRENT_OR_PAST' (default) | 'PAST_NOT_CURRENT'.
            current_companies:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                The employer right now (the CURRENT_COMPANY facet). Ids via
                lookup(type: "company").
            locations:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                  scope:
                    type: string
                    nullable: true
                    enum:
                      - CURRENT
                      - PREFERRED_NOT_CURRENT
                      - CURRENT_OR_PREFERRED
                    description: >-
                      'CURRENT' lives there, 'PREFERRED_NOT_CURRENT' would move
                      there, 'CURRENT_OR_PREFERRED' either.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                Geography. Ids via lookup(type: "geo") (urn:li:ts_geo:N). scope:
                'CURRENT' (lives there) | 'PREFERRED_NOT_CURRENT' (would move
                there) | 'CURRENT_OR_PREFERRED'.
            postal_codes:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                Postal codes. id via lookup(type: "zip") (urn:li:ts_geo:N)
                REQUIRED, plus its text; a text-only postal code is refused.
                Pair with postal_code_distance.
            postal_code_distance:
              type: integer
              nullable: true
              minimum: 1
              maximum: 500
              description: Radius around every postal code, miles. Default 50.
            industries:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                Industries. Ids via lookup(type: "industry")
                (urn:li:ts_industry:N).
            schools:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                Schools attended. Ids via lookup(type: "school"): the row id is
                the school's urn:li:ts_organization:N, which is what this facet
                matches on (a ts_school id answers zero).
            fields_of_study:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                Fields of study. Ids via lookup(type: "fieldOfStudy")
                (urn:li:ts_field_of_study:N).
            degrees:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: 'Degrees. Ids via lookup(type: "degree") (urn:li:ts_degree:N).'
            spoken_languages:
              type: array
              nullable: true
              items:
                type: object
                properties:
                  id:
                    type: string
                    nullable: true
                    maxLength: 128
                    description: >-
                      The typeahead row id VERBATIM (urn:li:ts_*:N; the
                      lowercase language name for spoken_languages). A bare
                      numeric id is accepted for the urn kinds.
                  text:
                    type: string
                    nullable: true
                    maxLength: 256
                    description: >-
                      The chip label (the typeahead row's display_name).
                      REQUIRED on job_titles / occupations / skills / companies
                      / postal_codes, id or no id: LinkedIn refuses an entity
                      chip without its label. On job_titles / skills / companies
                      a text-only chip is a free-text search term.
                  exclude:
                    type: boolean
                    nullable: true
                    description: true → the chip is a negative filter.
                  required:
                    type: boolean
                    nullable: true
                    description: >-
                      true → a must-have chip (the Recruiter UI "required"
                      toggle); omitted → nice-to-have.
                  scope:
                    type: string
                    nullable: true
                    enum:
                      - ELEMENTARY
                      - LIMITED_WORKING
                      - PROFESSIONAL_WORKING
                      - FULL_PROFESSIONAL
                      - NATIVE_OR_BILINGUAL
                    description: Minimum proficiency of the spoken language.
                description: 'One Recruiter facet chip: at least one of id / text.'
              maxItems: 20
              description: >-
                Languages the member speaks. Ids via lookup(type: "language") -
                the lowercase language name, e.g. "danish". scope = minimum
                proficiency: 'ELEMENTARY' | 'LIMITED_WORKING' |
                'PROFESSIONAL_WORKING' | 'FULL_PROFESSIONAL' |
                'NATIVE_OR_BILINGUAL'.
            network:
              type: array
              nullable: true
              items:
                type: string
                enum:
                  - F
                  - S
                  - A
                  - O
              maxItems: 4
              description: >-
                Relationship: 'F' 1st, 'S' 2nd, 'A' group members, 'O' 3rd+ and
                everyone else.
            seniority_levels:
              type: array
              nullable: true
              items:
                type: string
                enum:
                  - '1'
                  - '2'
                  - '3'
                  - '4'
                  - '5'
                  - '6'
                  - '7'
                  - '8'
                  - '9'
                  - '10'
              maxItems: 10
              description: >-
                Seniority: '1' Unpaid, '2' Training, '3' Entry, '4' Senior, '5'
                Manager, '6' Director, '7' VP, '8' CXO, '9' Partner, '10' Owner.
                NOT the Sales Navigator codes.
            functions:
              type: array
              nullable: true
              items:
                type: string
                enum:
                  - '1'
                  - '2'
                  - '3'
                  - '4'
                  - '5'
                  - '6'
                  - '7'
                  - '8'
                  - '9'
                  - '10'
                  - '11'
                  - '12'
                  - '13'
                  - '14'
                  - '15'
                  - '16'
                  - '17'
                  - '18'
                  - '19'
                  - '20'
                  - '21'
                  - '22'
                  - '23'
                  - '24'
                  - '25'
                  - '26'
              maxItems: 26
              description: >-
                Job function: '1' Accounting, '2' Administrative, '3' Arts and
                Design, '4' Business Development, '5' Community and Social
                Services, '6' Consulting, '7' Education, '8' Engineering, '9'
                Entrepreneurship, '10' Finance, '11' Healthcare Services, '12'
                Human Resources, '13' Information Technology, '14' Legal, '15'
                Marketing, '16' Media and Communication, '17' Military and
                Protective Services, '18' Operations, '19' Product Management,
                '20' Program and Project Management, '21' Purchasing, '22'
                Quality Assurance, '23' Real Estate, '24' Research, '25' Sales,
                '26' Customer Success and Support.
            company_sizes:
              type: array
              nullable: true
              items:
                type: string
                enum:
                  - A
                  - B
                  - C
                  - D
                  - E
                  - F
                  - G
                  - H
                  - I
              maxItems: 9
              description: >-
                Company size: 'A' Self-employed, 'B' 1-10, 'C' 11-50, 'D'
                51-200, 'E' 201-500, 'F' 501-1000, 'G' 1001-5000, 'H'
                5001-10000, 'I' 10001+.
            company_types:
              type: array
              nullable: true
              items:
                type: string
                enum:
                  - P
                  - C
                  - D
                  - 'N'
                  - G
                  - S
                  - O
                  - E
                  - A
              maxItems: 9
              description: >-
                Company type: 'P' Privately Held, 'C' Public Company, 'D'
                Educational Institution, 'N' Non Profit, 'G' Government Agency,
                'S' Partnership, 'O' Self Owned, 'E' Self Employed, 'A' College
                Page.
            profile_languages:
              type: array
              nullable: true
              items:
                type: string
                enum:
                  - en
                  - es
                  - fr
                  - pt
                  - zh
                  - de
                  - it
                  - in
                  - tr
                  - pl
                  - nl
                  - ru
                  - ar
                  - cs
                  - sv
                  - ro
                  - ko
                  - da
                  - 'no'
                  - uk
                  - ms
                  - ja
                  - _o
              maxItems: 23
              description: Profile language, ISO 639-1 ('_o' = others).
            recently_joined:
              type: array
              nullable: true
              items:
                type: string
                enum:
                  - '1'
                  - '2'
                  - '3'
                  - '4'
                  - '5'
              maxItems: 5
              description: >-
                Joined LinkedIn: '1' 1 day ago, '2' 2-7 days, '3' 8-14 days, '4'
                15-30 days, '5' 1-3 months ago.
            workplace_preferences:
              type: array
              nullable: true
              items:
                type: string
                enum:
                  - O
                  - R
                  - H
              maxItems: 3
              description: 'Workplace: ''O'' on-site, ''R'' remote, ''H'' hybrid.'
            employment_types:
              type: array
              nullable: true
              items:
                type: string
                enum:
                  - F
                  - P
                  - C
                  - I
              maxItems: 4
              description: >-
                Employment type: 'F' full-time, 'P' part-time, 'C' contract, 'I'
                internship (the only codes LinkedIn Recruiter accepts here).
            us_military_background:
              type: boolean
              nullable: true
              description: >-
                true → members with a US military background (IS_VETERAN); false
                dispatches nothing.
            years_in_current_position:
              type: object
              nullable: true
              properties:
                min:
                  type: integer
                  minimum: 1
                  maximum: 30
                max:
                  type: integer
                  minimum: 1
                  maximum: 30
              required:
                - min
                - max
              description: Years in the current position, {min, max} in 1..30 (30 = 30+).
            years_in_current_company:
              type: object
              nullable: true
              properties:
                min:
                  type: integer
                  minimum: 1
                  maximum: 30
                max:
                  type: integer
                  minimum: 1
                  maximum: 30
              required:
                - min
                - max
              description: Years at the current company, {min, max} in 1..30.
            years_of_experience:
              type: object
              nullable: true
              properties:
                min:
                  type: integer
                  minimum: 1
                  maximum: 30
                max:
                  type: integer
                  minimum: 1
                  maximum: 30
              required:
                - min
                - max
              description: Total years of experience, {min, max} in 1..30.
          description: >-
            EXCLUSIVE with `url`: send filters OR url, never both (422) and
            never neither (422). LinkedIn Recruiter people-search filters, the
            COMPLETE Recruiter facet vocabulary. At least one member must be
            non-empty. lookup = scrape_linkedin_recruiter_param_id_lookup; chip
            facets take [{id, text, exclude, required, scope}], closed enums
            take flat code arrays (their full sets are inline), the three year
            sliders take {min, max}.
        page:
          type: integer
          minimum: 1
          maximum: 40
          description: >-
            LinkedIn Recruiter page number, default 1; 25 hits a page, 40 pages
            at most (1000 hits per search). Re-call with page + 1 while
            paging.has_more. On the url half OUR number wins over the start= in
            the URL.
    ScrapeLinkedinSearchRecruiterPeopleResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        operation:
          type: string
          enum:
            - action
        action:
          type: string
          description: kebab-case verb; matches the route segment.
        item: {}
        result:
          type: object
          properties:
            rows:
              type: array
              items:
                type: object
                properties:
                  ln_member_id:
                    type: string
                    nullable: true
                    description: Canonical member id (decoded in-process).
                  ln_id:
                    type: string
                    nullable: true
                  sn_id:
                    type: string
                    nullable: true
                  nickname:
                    type: string
                    nullable: true
                  full_name:
                    type: string
                    nullable: true
                  headline:
                    type: string
                    nullable: true
                  position:
                    type: string
                    nullable: true
                  company_name:
                    type: string
                    nullable: true
                  location:
                    type: string
                    nullable: true
                  avatar_url:
                    type: string
                    nullable: true
                  connection_degree:
                    type: string
                    nullable: true
                  talent_id:
                    type: string
                    description: >-
                      The Recruiter (talent) profile id, AEMAA…: what
                      send_linkedin_recruiter_message addresses as
                      recipient_profile_id. Same member as ln_member_id.
                  industry:
                    type: string
                    nullable: true
                  can_send_inmail:
                    type: boolean
                    nullable: true
                    description: LinkedIn says this seat may InMail the member right now.
                  open_to_work:
                    type: boolean
                    nullable: true
                    description: The member signalled openness to new opportunities.
                  connections_count:
                    type: integer
                    nullable: true
                  anonymized:
                    type: boolean
                    description: >-
                      LinkedIn hid the name (out-of-network privacy); the names
                      are what it showed.
                required:
                  - ln_member_id
                  - ln_id
                  - sn_id
                  - nickname
                  - full_name
                  - headline
                  - position
                  - company_name
                  - location
                  - avatar_url
                  - connection_degree
                  - talent_id
                  - industry
                  - can_send_inmail
                  - open_to_work
                  - connections_count
                  - anonymized
              description: >-
                The transient result list, in LinkedIn’s order; NOTHING
                persisted.
            paging:
              type: object
              properties:
                page:
                  type: integer
                page_size:
                  type: integer
                has_more:
                  type: boolean
                total:
                  type: integer
                  nullable: true
              required:
                - page
                - page_size
                - has_more
                - total
              description: >-
                Page-numbered paging with LinkedIn Recruiter's own total;
                has_more is false at the 40-page ceiling even when total says
                more.
            data_request:
              type: object
              properties: {}
              description: >-
                The kind="scrape" DataRequest journal row for this call
                (terminal completed), embedded as result.data_request;
                served_from_cache always false. Full DataRequestDomain shape
                owned by ./data_requests.md, so it is left passthrough here.
            search_history_id:
              type: string
              nullable: true
              description: >-
                The searchHistoryId LinkedIn Recruiter gave this search (the
                seat's "Recent searches" entry); null only when the wire
                returned none.
            search_url:
              type: string
              nullable: true
              description: >-
                https://www.linkedin.com/talent/search?searchHistoryId=N&start=0:
                pass it as `url` (with page) to page on, or to re-run this exact
                search later, without re-sending the filters.
          required:
            - rows
            - paging
            - data_request
            - search_history_id
            - search_url
        meta:
          type: object
          properties:
            trace_id:
              type: string
              description: UUID v7; same 128-bit value as the X-Trace-Id header.
            span_id:
              type: string
              pattern: ^[0-9a-f]{16}$
              description: 16 hex chars, root span of this request.
            timestamp:
              type: string
              description: ISO 8601 UTC (Y-m-dTH:i:sZ), response time.
            duration_ms:
              type: integer
              minimum: 0
              description: Server-side wall clock.
            team_sid:
              type: string
              nullable: true
              description: >-
                The team this call ran in (the token team, or the team_sid
                override). Null when unauthenticated; absent from pre-2026-08-20
                backends.
            actor_type:
              type: string
              nullable: true
              description: >-
                user | agent | api_key | system. Null when unauthenticated;
                absent from pre-2026-08-20 backends.
          required:
            - trace_id
            - span_id
            - timestamp
            - duration_ms
      required:
        - success
        - operation
        - action
        - item
        - result
        - meta
    McpError:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - validation_failed
                - nothing_to_update
                - not_found
                - relation_not_found
                - invalid_transition
                - limit_exceeded
                - payment_required
                - duplicate_rejected
                - conflict
                - delete_blocked
                - unauthorized
                - forbidden
                - rate_limited
                - internal_error
                - service_unavailable
                - not_implemented
            message:
              type: string
            recoverable:
              type: boolean
            suggestion:
              type: string
            field_errors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: object
                  properties:
                    rule:
                      type: string
                    message:
                      type: string
                  required:
                    - rule
                    - message
            blockers:
              type: array
              items:
                type: object
                properties:
                  type:
                    type: string
                    description: >-
                      Machine-readable blocker type (active_flow, pending_tasks,
                      …).
                  severity:
                    type: string
                    enum:
                      - hard
                      - soft
                    description: >-
                      hard = external action required; soft = acknowledge is
                      enough.
                  description:
                    type: string
                  entity_sid:
                    type: string
                    nullable: true
                  count:
                    type: integer
                  resolution:
                    type: string
                    description: 'Hard: tool name to call. Soft: code for acknowledge[].'
                  resolution_hint:
                    type: string
                required:
                  - type
                  - severity
                  - description
                  - entity_sid
                  - resolution
                  - resolution_hint
            context:
              type: object
              additionalProperties: {}
          required:
            - code
            - message
            - recoverable
        meta:
          type: object
          properties:
            trace_id:
              type: string
              description: UUID v7; same 128-bit value as the X-Trace-Id header.
            span_id:
              type: string
              pattern: ^[0-9a-f]{16}$
              description: 16 hex chars, root span of this request.
            timestamp:
              type: string
              description: ISO 8601 UTC (Y-m-dTH:i:sZ), response time.
            duration_ms:
              type: integer
              minimum: 0
              description: Server-side wall clock.
            team_sid:
              type: string
              nullable: true
              description: >-
                The team this call ran in (the token team, or the team_sid
                override). Null when unauthenticated; absent from pre-2026-08-20
                backends.
            actor_type:
              type: string
              nullable: true
              description: >-
                user | agent | api_key | system. Null when unauthenticated;
                absent from pre-2026-08-20 backends.
          required:
            - trace_id
            - span_id
            - timestamp
            - duration_ms
      required:
        - success
        - error
  responses:
    McpClientError:
      description: >-
        MCP error envelope. `error.code` is one of validation_failed,
        nothing_to_update, not_found, relation_not_found, invalid_transition,
        limit_exceeded, payment_required, duplicate_rejected, conflict,
        delete_blocked, unauthorized, forbidden, rate_limited, not_implemented.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/McpError'
    McpServerError:
      description: >-
        MCP error envelope with `error.code` internal_error or
        service_unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/McpError'
  securitySchemes:
    BearerJwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Access token issued by gtm.service.id. Its `access_identity` claim
        carries `team_sid`, `actor_sid` and `actor_type`, and that team scope is
        authoritative.
    TeamSid:
      type: apiKey
      in: header
      name: Team-SID
      description: >-
        Team scope for tokens that do not carry one. Ignored when the token
        already names a team.

````