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

# Get a research run

> A run's progress and, once complete, the people and companies it found. Free.



## OpenAPI

````yaml GET /research/{id}
openapi: 3.1.0
info:
  title: West Kite API
  version: 1.0.0
  description: >-
    Sourced US commercial property records, owner research and contacts, priced
    per call. A call that fails, or a lookup that finds nothing, costs nothing.
    Missing fields are unavailable, never zero: each answer lists them in
    missing with a reason.
  contact:
    url: https://westkite.com/docs/api
servers:
  - url: https://api.westkite.com/v1
security:
  - bearer: []
  - apiKey: []
paths:
  /research/{id}:
    get:
      tags:
        - Research
      summary: A research run
      description: >-
        Status and, once complete, the people and companies found, without
        person contacts. While open, progress says the stage, what it is doing,
        sources read, people found, elapsed time and about how long is left, and
        poll_after_seconds when to look again. wait holds the request up to 60 s
        for the run to finish. Free, and never refused for the team's requests
        in flight.
      operationId: getResearch
      parameters:
        - name: id
          in: path
          required: true
          description: Run id.
          schema:
            type: string
        - name: wait
          in: query
          required: false
          description: Seconds, up to 60.
          schema:
            type: integer
      responses:
        '200':
          description: OK
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - missing
                  - billing
                  - request_id
                properties:
                  data:
                    $ref: '#/components/schemas/ResearchRun'
                  missing:
                    type: array
                    items:
                      $ref: '#/components/schemas/MissingField'
                  billing:
                    $ref: '#/components/schemas/Billing'
                  request_id:
                    type: string
        '400':
          description: invalid_request
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: invalid_key
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: scope_missing
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: idempotency_conflict
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: rate_limited
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: service_unavailable
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            Server-Timing:
              $ref: '#/components/headers/Server-Timing'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  headers:
    RateLimit-Limit:
      description: Requests per minute on the team's plan.
      schema:
        type: integer
    RateLimit-Remaining:
      description: Requests left in the current minute.
      schema:
        type: integer
    RateLimit-Reset:
      description: Seconds until the minute resets.
      schema:
        type: integer
    X-Request-Id:
      description: The request's id, as request_id in the body.
      schema:
        type: string
    Server-Timing:
      description: >-
        Milliseconds each step of the call took on West Kite's side: pre, plan,
        admit (key, limits and hold), work (the endpoint itself) and settle
        (charge and log), e.g. admit;dur=40, work;dur=310. Durations only.
      schema:
        type: string
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  schemas:
    ResearchRun:
      type: object
      properties:
        id:
          type: string
        property_id:
          type: string
        status:
          enum:
            - queued
            - running
            - complete
            - failed
        created_at:
          type: string
        completed_at:
          type:
            - string
            - 'null'
        status_url:
          type: string
        queue_position:
          type: integer
          description: 'While queued: 1 starts next.'
        poll_after_seconds:
          type: integer
        error_code:
          type: string
        progress:
          type: object
          description: While queued or running.
          properties:
            stage:
              type: string
            message:
              type: string
            sources_read:
              type: integer
            people_found:
              type: integer
            elapsed_seconds:
              type: integer
            typical_seconds:
              type: integer
            estimated_seconds_remaining:
              type: integer
        charged_usd:
          type: number
        result:
          type:
            - object
            - 'null'
          properties:
            names_person:
              type: boolean
              description: >-
                True when the research reached a person through the owner,
                operator, manager or a broker. Names that appear only on
                planning and permit filings (applicants, their architects and
                expediters) do not count: a run with only those is not charged.
            owner_of_record:
              type:
                - string
                - 'null'
            people:
              type: array
              items:
                type: object
                properties:
                  person_id:
                    type: string
                    description: >-
                      Pass to POST /v1/contacts for this person's email, phone
                      or LinkedIn. Every person listed can be looked up, and a
                      lookup that finds nothing costs nothing.
                  name:
                    type: string
                  roles:
                    type: array
                    items:
                      type: string
              description: >-
                Best contacts first: the owner's principals and managers, a
                small owner company's officers, operators and property managers,
                brokers, a large company's officers and directors, registered
                agents, people whose role is not yet confirmed, then people
                known only from planning filings.
            companies:
              type: array
              description: >-
                The owner first, then parent companies, operators and managers,
                brokers, and companies known only from planning filings. A role
                of parking_operator is read from the company's name (the word
                parking or a national operator's brand), not from a filing.
              items:
                type: object
            sources:
              type: array
              items:
                type: object
            summary:
              type: array
              items:
                type: string
    MissingField:
      type: object
      required:
        - field
        - reason
      properties:
        field:
          type: string
        reason:
          enum:
            - not_covered
            - not_published
            - not_on_record
            - not_found
            - temporarily_unavailable
          description: >-
            not_covered on a find: a where field West Kite holds for under 5% of
            properties in the scope (rows filtered on it are only that share).
        note:
          type: string
    Billing:
      type: object
      required:
        - operation_id
        - operation
        - charged_usd
        - balance_usd
      properties:
        operation_id:
          type: string
        operation:
          type: string
        charged_usd:
          type: number
        balance_usd:
          type: number
        replayed:
          type: boolean
    Error:
      type: object
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              enum:
                - invalid_request
                - invalid_key
                - insufficient_balance
                - spend_limit_exceeded
                - max_cost_too_low
                - scope_missing
                - not_found
                - endpoint_removed
                - idempotency_conflict
                - rate_limited
                - internal_error
                - service_unavailable
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            reason:
              type: string
              description: >-
                invalid_key: revoked, expired or unknown. rate_limited: requests
                (per minute), concurrency (in flight), agent_questions (the
                Agent's own cap) or agent_signups (sign-ups started).
            retry_after:
              type: integer
            upgrade_url:
              type: string
            quoted_usd:
              type: number
            concurrent:
              type: integer
            balance_usd:
              type: number
            available_usd:
              type: number
            spend_cap_usd:
              type: number
            spent_usd:
              type: number
        request_id:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: wk_live_ key
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key

````

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