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

# Get Run



## OpenAPI

````yaml /openapi-generated.json get /customer-intelligence/runs/{run_id}
openapi: 3.1.0
info:
  title: anycrm-api
  version: 0.0.1
servers: []
security: []
tags:
  - name: Customer Intelligence
    description: >-
      Company research and ICP-fit scoring — create a research run, track its
      progress, and read back scored companies as leads.
  - name: Outreach
    description: >-
      The cold-email management console — domains, mailboxes, and campaigns — as
      a thin control plane over the SalesForge stack.
  - name: AnyCard
    description: >-
      Authenticated CRUD for AnyCard, the org's digital business-card /
      lead-capture product.
  - name: AnyCard Events
    description: >-
      Event-attribution analytics for AnyCard — which captured leads converted,
      broken down by source, owner, and deal.
  - name: AnyCard Share Links
    description: >-
      Unauthenticated endpoints reached by anyone who scans a QR code or opens a
      shared AnyCard link.
  - name: AI
    description: >-
      A streaming (SSE) AI chat endpoint with account-commit actions it can take
      on the caller's behalf.
  - name: Analytics Assistant
    description: >-
      The natural-language analytics assistant — a guarded text-to-SQL loop
      (SSE) that answers ad-hoc questions over the org's CRM data as a
      least-privilege, read-only database role.
  - name: Account Readiness
    description: >-
      Account Readiness Profiles — AI-scored signals on whether an account is
      ready for outreach or expansion, computed via a Temporal workflow.
  - name: Integrations
    description: >-
      Pipedream Connect — issuing connect tokens and managing the org's
      connected third-party accounts.
  - name: Feedback
    description: >-
      User-submitted platform feedback (bug reports, feature requests) — global,
      not scoped to one organization.
  - name: Public Media
    description: >-
      Unauthenticated image reads for publicly-embeddable assets (card photos,
      inline email images) — allowlisted by key shape; everything else in the
      storage bucket stays private.
  - name: Service Health
    description: Service liveness.
paths:
  /customer-intelligence/runs/{run_id}:
    get:
      tags:
        - Customer Intelligence
      summary: Get Run
      operationId: get_run_customer_intelligence_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/CustomerIntelRunDetail'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    CustomerIntelRunDetail:
      properties:
        id:
          type: string
          title: Id
        org_id:
          type: string
          title: Org Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        status:
          type: string
          title: Status
        phase:
          anyOf:
            - type: string
            - type: 'null'
          title: Phase
        awaiting_gate:
          anyOf:
            - type: string
            - type: 'null'
          title: Awaiting Gate
        temporal_workflow_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Temporal Workflow Id
        targets_total:
          type: integer
          title: Targets Total
          default: 0
        targets_completed:
          type: integer
          title: Targets Completed
          default: 0
        targets_scored:
          type: integer
          title: Targets Scored
          default: 0
        targets_errored:
          type: integer
          title: Targets Errored
          default: 0
        targets_filtered:
          type: integer
          title: Targets Filtered
          default: 0
        outcome_counts:
          additionalProperties: true
          type: object
          title: Outcome Counts
        deliverables:
          additionalProperties: true
          type: object
          title: Deliverables
        report_files:
          additionalProperties:
            type: string
          type: object
          title: Report Files
        shortlist_selection:
          additionalProperties: true
          type: object
          title: Shortlist Selection
        cost:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Cost
        health:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Health
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        created_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
        gate:
          anyOf:
            - $ref: '#/components/schemas/CustomerIntelGateResponse'
            - type: 'null'
        results:
          items:
            $ref: '#/components/schemas/CxIntelResultSummary'
          type: array
          title: Results
        exports:
          items:
            $ref: '#/components/schemas/CustomerIntelExportResponse'
          type: array
          title: Exports
      type: object
      required:
        - id
        - org_id
        - status
      title: CustomerIntelRunDetail
      description: Run response + the open gate + result summaries for the detail page.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CustomerIntelGateResponse:
      properties:
        gate_type:
          type: string
          title: Gate Type
        status:
          type: string
          title: Status
        resolution_review:
          anyOf:
            - $ref: '#/components/schemas/ResolutionReview'
            - type: 'null'
        shortlist:
          items:
            $ref: '#/components/schemas/ShortlistItem'
          type: array
          title: Shortlist
        notified_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Notified At
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
      type: object
      required:
        - gate_type
        - status
      title: CustomerIntelGateResponse
      description: The currently-open gate for a run (resolution or shortlist), if any.
    CxIntelResultSummary:
      properties:
        id:
          type: string
          title: Id
        run_id:
          type: string
          title: Run Id
        company_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Name
        vertical:
          anyOf:
            - type: string
            - type: 'null'
          title: Vertical
        website:
          anyOf:
            - type: string
            - type: 'null'
          title: Website
        status:
          type: string
          title: Status
        pain_score:
          anyOf:
            - type: number
            - type: 'null'
          title: Pain Score
        fit_score:
          anyOf:
            - type: number
            - type: 'null'
          title: Fit Score
        fit_tier:
          anyOf:
            - type: string
            - type: 'null'
          title: Fit Tier
        skip_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Skip Reason
        gate_failed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Gate Failed At
        researched_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Researched At
        account_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Id
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        champion_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Champion Name
        champion_title:
          anyOf:
            - type: string
            - type: 'null'
          title: Champion Title
        outreach_summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Outreach Summary
        combined_score:
          anyOf:
            - type: number
            - type: 'null'
          title: Combined Score
        confidence:
          anyOf:
            - type: string
            - type: 'null'
          title: Confidence
        bpo_fit_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Bpo Fit Reason
        match:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Match
        why:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Why
        outreach_violations_count:
          type: integer
          title: Outreach Violations Count
          default: 0
        warm_paths_count:
          type: integer
          title: Warm Paths Count
          default: 0
        stakeholders_count:
          type: integer
          title: Stakeholders Count
          default: 0
        cx_report_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Cx Report Id
        cx_report_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Cx Report Error
        demo_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Demo Status
        has_demo:
          type: boolean
          title: Has Demo
          default: false
        demo_skip_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Demo Skip Reason
        missing_deliverables:
          items:
            type: string
          type: array
          title: Missing Deliverables
        files:
          items:
            type: string
          type: array
          title: Files
        selected:
          type: boolean
          title: Selected
          default: false
        contacts:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Contacts
      type: object
      required:
        - id
        - run_id
        - status
      title: CxIntelResultSummary
      description: Row in the results table on the run detail page.
    CustomerIntelExportResponse:
      properties:
        id:
          type: string
          title: Id
        run_id:
          type: string
          title: Run Id
        format:
          type: string
          title: Format
        status:
          type: string
          title: Status
        files:
          additionalProperties:
            type: string
          type: object
          title: Files
        row_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Row Count
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        completed_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Completed At
      type: object
      required:
        - id
        - run_id
        - format
        - status
      title: CustomerIntelExportResponse
      description: One row of customer_intel_run_exports; `files` presigned at read time.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    ResolutionReview:
      properties:
        ambiguous:
          items:
            $ref: '#/components/schemas/ResolutionReviewItem'
          type: array
          title: Ambiguous
        scope:
          items:
            $ref: '#/components/schemas/ScopeReviewItem'
          type: array
          title: Scope
        empty_discovery:
          items:
            $ref: '#/components/schemas/EmptyDiscoveryItem'
          type: array
          title: Empty Discovery
      type: object
      title: ResolutionReview
    ShortlistItem:
      properties:
        result_id:
          type: string
          title: Result Id
        company_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Name
        website:
          anyOf:
            - type: string
            - type: 'null'
          title: Website
        target_type:
          type: string
          title: Target Type
          default: company
        pain_score:
          anyOf:
            - type: number
            - type: 'null'
          title: Pain Score
        fit_tier:
          anyOf:
            - type: string
            - type: 'null'
          title: Fit Tier
        pain_summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Pain Summary
      type: object
      required:
        - result_id
      title: ShortlistItem
      description: A scored target offered for deep-set selection at gate E.
    ResolutionReviewItem:
      properties:
        input_id:
          type: string
          title: Input Id
        raw_input:
          type: string
          title: Raw Input
        input_class:
          type: string
          title: Input Class
        candidates:
          items:
            $ref: '#/components/schemas/ResolutionCandidate'
          type: array
          title: Candidates
        recommended_candidate_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Recommended Candidate Id
      type: object
      required:
        - input_id
        - raw_input
        - input_class
      title: ResolutionReviewItem
    ScopeReviewItem:
      properties:
        seed_id:
          type: string
          title: Seed Id
        raw_input:
          type: string
          title: Raw Input
        est_count:
          type: integer
          title: Est Count
          default: 0
        est_cost:
          anyOf:
            - type: number
            - type: 'null'
          title: Est Cost
      type: object
      required:
        - seed_id
        - raw_input
      title: ScopeReviewItem
    EmptyDiscoveryItem:
      properties:
        seed_id:
          type: string
          title: Seed Id
        raw_input:
          type: string
          title: Raw Input
          default: ''
      type: object
      required:
        - seed_id
      title: EmptyDiscoveryItem
      description: |-
        An ICP discovery seed that matched zero companies — shown as a
        non-blocking note in the resolution review, never a disambiguation item.
    ResolutionCandidate:
      properties:
        id:
          type: string
          title: Id
        label:
          type: string
          title: Label
        company_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Company Name
        domain:
          anyOf:
            - type: string
            - type: 'null'
          title: Domain
        linkedin_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Linkedin Url
        confidence:
          anyOf:
            - type: number
            - type: 'null'
          title: Confidence
      type: object
      required:
        - id
        - label
      title: ResolutionCandidate
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````