Aveco Lead Research API

The Lead Research API from Aveco — 8 operation(s) for lead research.

Operations 8

POST /api/lead-research/run Lead Research Run #
GET /api/lead-research/jobs/{job_id} Lead Research Job Status #
GET /api/lead-research/jobs/{job_id}/results Lead Research Job Results #
GET /api/lead-research/person/{person_id} Lead Research Person #
PATCH /api/lead-research/fact/{fact_id} Lead Research Fact Patch #
PATCH /api/lead-research/person/{person_id}/snippet Lead Research Snippet Patch #
POST /api/lead-research/person/{person_id}/regenerate-snippet Lead Research Regenerate Snippet #
POST /api/lead-research/person/{person_id}/research Lead Research Person Run #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aveco-app:aveco-app-lead-research-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aveco-app-lead-research-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Aveco Lead Research API
  version: 0.1.0
tags:
- name: Lead Research
paths:
  /api/lead-research/run:
    post:
      summary: Lead Research Run
      operationId: lead_research_run_api_lead_research_run_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/aveco__webapp__routes__lead_research__RunBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Lead Research
  /api/lead-research/jobs/{job_id}:
    get:
      summary: Lead Research Job Status
      operationId: lead_research_job_status_api_lead_research_jobs__job_id__get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: integer
          title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Lead Research
  /api/lead-research/jobs/{job_id}/results:
    get:
      summary: Lead Research Job Results
      description: 'Таблица по лидам (§5.2): профиль + факты по каждому контакту из

        прогонённой выборки. «Без данных» — те же строки со status=no_data.'
      operationId: lead_research_job_results_api_lead_research_jobs__job_id__results_get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: integer
          title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Lead Research
  /api/lead-research/person/{person_id}:
    get:
      summary: Lead Research Person
      description: 'Факты + профиль одного контакта — для блока «Исследование» на

        карточке контакта (§5.4) и превью письма (§5.3).'
      operationId: lead_research_person_api_lead_research_person__person_id__get
      parameters:
      - name: person_id
        in: path
        required: true
        schema:
          type: integer
          title: Person Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Lead Research
  /api/lead-research/fact/{fact_id}:
    patch:
      summary: Lead Research Fact Patch
      description: «Отклонить факт» / вернуть — прячет из подстановки, строку не удаляет.
      operationId: lead_research_fact_patch_api_lead_research_fact__fact_id__patch
      parameters:
      - name: fact_id
        in: path
        required: true
        schema:
          type: integer
          title: Fact Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FactPatchBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Lead Research
  /api/lead-research/person/{person_id}/snippet:
    patch:
      summary: Lead Research Snippet Patch
      description: 'Ручная правка сниппета — после неё ре-ресёрч по TTL его не

        перетирает без подтверждения (§5.2).'
      operationId: lead_research_snippet_patch_api_lead_research_person__person_id__snippet_patch
      parameters:
      - name: person_id
        in: path
        required: true
        schema:
          type: integer
          title: Person Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SnippetPatchBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Lead Research
  /api/lead-research/person/{person_id}/regenerate-snippet:
    post:
      summary: Lead Research Regenerate Snippet
      description: '«Перегенерировать сниппет» — заново из текущего набора НЕотклонённых

        фактов (после того как клиент убрал мусор). Один дешёвый LLM-вызов.'
      operationId: lead_research_regenerate_snippet_api_lead_research_person__person_id__regenerate_snippet_post
      parameters:
      - name: person_id
        in: path
        required: true
        schema:
          type: integer
          title: Person Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Lead Research
  /api/lead-research/person/{person_id}/research:
    post:
      summary: Lead Research Person Run
      description: 'Синхронный ресёрч одного контакта (§5.2 «Обновить» на карточке /

        один лид в списке). Тяжелее, чем каскад на одного, но приемлемо для

        точечного запуска.'
      operationId: lead_research_person_run_api_lead_research_person__person_id__research_post
      parameters:
      - name: person_id
        in: path
        required: true
        schema:
          type: integer
          title: Person Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Lead Research
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SnippetPatchBody:
      properties:
        snippet:
          type: string
          title: Snippet
      type: object
      required:
      - snippet
      title: SnippetPatchBody
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    aveco__webapp__routes__lead_research__RunBody:
      properties:
        person_ids:
          anyOf:
          - items:
              type: integer
            type: array
          - type: 'null'
          title: Person Ids
        org_ids:
          anyOf:
          - items:
              type: integer
            type: array
          - type: 'null'
          title: Org Ids
        base_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Base Id
        freshness_days:
          type: integer
          title: Freshness Days
          default: 75
        force:
          type: boolean
          title: Force
          default: false
      type: object
      title: RunBody
    FactPatchBody:
      properties:
        dismissed:
          type: boolean
          title: Dismissed
      type: object
      required:
      - dismissed
      title: FactPatchBody