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

# Submit Resolution



## OpenAPI

````yaml /openapi-generated.json post /customer-intelligence/runs/{run_id}/resolution
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}/resolution:
    post:
      tags:
        - Customer Intelligence
      summary: Submit Resolution
      operationId: submit_resolution_customer_intelligence_runs__run_id__resolution_post
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            title: Run Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolutionDecisionBody'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Submit Resolution Customer Intelligence Runs  Run Id 
                  Resolution Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ResolutionDecisionBody:
      properties:
        decisions:
          items:
            $ref: '#/components/schemas/ResolutionDecisionItem'
          type: array
          title: Decisions
          description: One decision per ambiguous seed.
        scope_trims:
          items:
            $ref: '#/components/schemas/ScopeTrim'
          type: array
          title: Scope Trims
          description: Optional volume caps on over-generated seeds.
      type: object
      title: ResolutionDecisionBody
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ResolutionDecisionItem:
      properties:
        input_id:
          type: string
          title: Input Id
          description: >-
            The pending gate's input id this decision answers (from cx_get_run's
            gate).
        action:
          type: string
          enum:
            - select_candidate
            - provide_anchor
            - drop
          title: Action
          description: >-
            'select_candidate' (requires candidate_id), 'provide_anchor'
            (requires anchor_domain or anchor_linkedin_url), or 'drop'.
        candidate_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Candidate Id
          description: >-
            Required when action='select_candidate' — id of the chosen
            candidate.
        anchor_domain:
          anyOf:
            - type: string
            - type: 'null'
          title: Anchor Domain
          description: A verified domain, when action='provide_anchor'.
        anchor_linkedin_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Anchor Linkedin Url
          description: A verified LinkedIn URL, when action='provide_anchor'.
      type: object
      required:
        - input_id
        - action
      title: ResolutionDecisionItem
      description: |-
        The human's decision for one ambiguous seed. Always resolves to a SOLID
        anchor (a verified domain or LinkedIn URL) or a drop — never a free-text
        name (which would re-enter the resolution waterfall).
    ScopeTrim:
      properties:
        seed_id:
          type: string
          title: Seed Id
          description: The ICP/lookalike seed whose generated set to cap.
        limit:
          type: integer
          minimum: 0
          title: Limit
          description: Maximum targets to keep from this seed.
      type: object
      required:
        - seed_id
        - limit
      title: ScopeTrim
      description: Cap an over-volume ICP/lookalike generated set to `limit` targets.
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````