> ## 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 Config

> Org's saved BPO positioning + ICP — used to pre-fill the new-run form
(and overridable per run). Always returns defaults when unset.



## OpenAPI

````yaml /openapi-generated.json get /customer-intelligence/config
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/config:
    get:
      tags:
        - Customer Intelligence
      summary: Get Config
      description: |-
        Org's saved BPO positioning + ICP — used to pre-fill the new-run form
        (and overridable per run). Always returns defaults when unset.
      operationId: get_config_customer_intelligence_config_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CxIntelConfigResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    CxIntelConfigResponse:
      properties:
        org_summary:
          $ref: '#/components/schemas/OrgSummary'
        config:
          anyOf:
            - $ref: '#/components/schemas/CxIntelOrgConfigBody'
            - type: 'null'
        configured:
          type: boolean
          title: Configured
          default: false
      type: object
      required:
        - org_summary
      title: CxIntelConfigResponse
    OrgSummary:
      properties:
        name:
          type: string
          title: Name
          default: ''
        what_we_sell:
          type: string
          title: What We Sell
          default: ''
        target_buyers:
          type: string
          title: Target Buyers
          default: ''
        deal_types:
          type: string
          title: Deal Types
          default: ''
      type: object
      title: OrgSummary
      description: Read-only org context surfaced in the settings page.
    CxIntelOrgConfigBody:
      properties:
        profile:
          $ref: '#/components/schemas/BPOProfileConfig'
          description: This org's positioning, used to pre-fill new runs.
        icp:
          $ref: '#/components/schemas/ICPConfigBody'
          description: Default ideal-customer-profile filters for new runs.
      type: object
      title: CxIntelOrgConfigBody
      description: Combined upsert payload for `organizations.cx_intel_config`.
    BPOProfileConfig:
      properties:
        differentiators:
          items:
            type: string
          type: array
          title: Differentiators
          description: What makes this org's offering different from alternatives.
        ideal_client_signals:
          items:
            type: string
          type: array
          title: Ideal Client Signals
          description: Observable signals that a company is a good-fit client.
        verticals:
          items:
            type: string
          type: array
          title: Verticals
          description: Industry verticals this org targets by default.
        geo_focus:
          items:
            type: string
          type: array
          title: Geo Focus
          description: Geographies this org targets by default.
        certifications:
          items:
            type: string
          type: array
          title: Certifications
          description: Certifications/accreditations to mention in positioning.
        fit_scoring_guidance:
          type: string
          title: Fit Scoring Guidance
          description: Free-text guidance for how Claude should judge fit for this org.
          default: ''
      type: object
      title: BPOProfileConfig
      description: |-
        The Lead Discovery-specific positioning fields. Org-level positioning
        (`name`, `what_we_sell`, `target_buyers`, `deal_types`) lives on
        `organizations.{name, ai_context}` and is read separately.
    ICPConfigBody:
      properties:
        revenue_min:
          type: integer
          title: Revenue Min
          description: Minimum target company annual revenue, in USD.
          default: 50000000
        revenue_max:
          type: integer
          title: Revenue Max
          description: Maximum target company annual revenue, in USD.
          default: 500000000
        headcount_min:
          type: integer
          title: Headcount Min
          description: Minimum target company employee headcount.
          default: 100
        headcount_max:
          type: integer
          title: Headcount Max
          description: Maximum target company employee headcount.
          default: 5000
        geography:
          type: string
          title: Geography
          description: Target company geography, e.g. 'US', 'EU', 'Global'.
          default: US
        trustpilot_max:
          type: number
          title: Trustpilot Max
          description: >-
            Trustpilot rating (0-5) a company must be AT OR BELOW to show pain.
            Lower means worse reviews and a better prospect, not a quality bar.
          default: 3.5
        bbb_max:
          type: number
          title: Bbb Max
          description: >-
            BBB rating (0-5) a company must be at or below to show pain. Same
            direction as trustpilot_max.
          default: 3
        g2_max:
          type: number
          title: G2 Max
          description: >-
            G2 rating (0-5) a company must be at or below to show pain. Same
            direction as trustpilot_max.
          default: 3.5
        min_review_count:
          type: integer
          title: Min Review Count
          description: >-
            Minimum review count for a company's rating to be treated as
            reliable.
          default: 50
        pain_threshold:
          type: number
          title: Pain Threshold
          description: >-
            Minimum computed pain score (0-100) for a company to qualify as a
            lead.
          default: 50
        deep_enrich_threshold:
          type: number
          title: Deep Enrich Threshold
          description: >-
            Minimum score (0-100) for a target to receive deep enrichment
            (stakeholder mapping, network search).
          default: 50
        stakeholder_threshold:
          type: number
          title: Stakeholder Threshold
          description: >-
            Minimum score (0-100) for a target to get full
            buying-committee/stakeholder research.
          default: 70
        verticals:
          items:
            type: string
          type: array
          title: Verticals
          description: >-
            Industry verticals to target, e.g. ['SaaS', 'Healthcare']. Empty =
            no filter.
        exclusions:
          items:
            type: string
          type: array
          title: Exclusions
          description: Company names or domains to exclude from discovery.
      type: object
      title: ICPConfigBody
      description: >-
        Ideal-customer-profile filters for discovering NEW companies (ICP mode).


        The review-score maxes (`trustpilot_max`, `bbb_max`, `g2_max`) are pain

        signals, not quality bars: this pipeline sells CX-improvement services,
        so

        a LOWER rating means MORE pain and a BETTER prospect. A company only
        needs

        to clear one rating ceiling (or have CFPB complaints) to qualify — see

        `cx_intel/qualification.py:gate_3_pain_threshold`.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````