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

# Get a sales run

> Read a sales run belonging to the API key's organization. Returns its current status, answer (when available), and collected evidence. Evidence is raw source material; use the answer for the agent's qualification of potential buyers. Polling does not start another search or deduct credits.



## OpenAPI

````yaml /openapi.json get /sales/runs/{run_id}
openapi: 3.1.0
info:
  title: Overten API
  version: 1.0.0
  description: >-
    Generate and edit Word, Excel, and PowerPoint documents programmatically.
    Powered by the same agents as the Overten web app.
  contact:
    name: Overten Support
    url: https://overten.ai/support
    email: support@overten.ai
  license:
    name: Terms of Service
    url: https://overten.ai/terms
servers:
  - url: https://backend.overtenai.com/api/v1
    description: Production
  - url: http://localhost:8000/api/v1
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /sales/runs/{run_id}:
    get:
      tags:
        - public
        - sales
      summary: Get a sales run
      description: >-
        Read a sales run belonging to the API key's organization. Returns its
        current status, answer (when available), and collected evidence.
        Evidence is raw source material; use the answer for the agent's
        qualification of potential buyers. Polling does not start another search
        or deduct credits.
      operationId: get_run_api_v1_sales_runs__run_id__get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SalesRunResponse'
        '404':
          description: Run does not exist or belongs to another organization.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SalesRunResponse:
      properties:
        run_id:
          type: string
          title: Run Id
        status:
          type: string
          title: Status
          description: queued, running, completed, paused_budget, failed, or cancelled.
        stop_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Stop Reason
          description: >-
            Reason execution stopped, when available. A completed run can still
            have bounded or incomplete coverage.
        prompt:
          type: string
          title: Prompt
        search_mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Search Mode
          description: >-
            Search mode this run used: economy (default) or quality. Set per
            organization; null until the run starts.
        answer:
          anyOf:
            - type: string
            - type: 'null'
          title: Answer
          description: >-
            The agent's written findings and buyer qualification; null until
            available.
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        evidence:
          items:
            $ref: '#/components/schemas/SalesEvidence'
          type: array
          title: Evidence
          description: >-
            Collected public source material, including items the agent may
            reject as leads. Read answer for its judgment; an empty list does
            not prove there are no buyers.
      type: object
      required:
        - run_id
        - status
        - prompt
        - created_at
        - updated_at
      title: SalesRunResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    SalesEvidence:
      properties:
        platform:
          type: string
          title: Platform
        kind:
          type: string
          title: Kind
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
          description: Link to the source post or comment, when supplied by the source.
        parent_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Parent Url
          description: Link to the containing post or video, when available.
        author:
          anyOf:
            - type: string
            - type: 'null'
          title: Author
        published_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Published At
        text:
          type: string
          title: Text
        seen_before:
          type: boolean
          title: Seen Before
          description: >-
            An earlier sales run for this organization collected the same
            evidence.
      type: object
      required:
        - platform
        - kind
        - url
        - parent_url
        - author
        - published_at
        - text
        - seen_before
      title: SalesEvidence
    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
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Send `X-API-Key: sk_live_<your_key>`. Keys are issued via POST /signup
        or via the dashboard. Legacy callers may also use `Authorization: Bearer
        sk_live_<your_key>`.

````

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