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

# Enrich a draft before confirmation

> Discovers missing company and founder LinkedIn/X profiles without creating anything, and waits for the result (about 15 seconds; up to 4 minutes). Prefer create-then-poll for agents. This call can exceed typical MCP timeouts.



## OpenAPI

````yaml /openapi.json post /api/v1/tracker/enrich
openapi: 3.1.0
info:
  title: RaiseGate Partner API
  version: 1.0.0
  description: >-
    Organisation-scoped API for managing tracker entities, reading signals and
    alerts, and reviewing generated leads. Every key belongs to one
    organisation. Send `Authorization: Bearer rg_live_...` on every request.
servers:
  - url: https://app.raisegate.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Tracker
    description: Companies and founders the organisation monitors.
  - name: Signals
    description: Analysed result of each tracker run.
  - name: Alerts
    description: Whether a run emailed the VC, and why.
  - name: Leads
    description: Founders discovered around tracked companies.
paths:
  /api/v1/tracker/enrich:
    post:
      tags:
        - Tracker
      summary: Enrich a draft before confirmation
      description: >-
        Discovers missing company and founder LinkedIn/X profiles without
        creating anything, and waits for the result (about 15 seconds; up to 4
        minutes). Prefer create-then-poll for agents. This call can exceed
        typical MCP timeouts.
      operationId: enrichTrackerDraft
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrackerDraft'
            example:
              companyName: Example Bio
              companyWebsite: https://example.bio
              founders:
                - name: Jane Founder
              thingsToTrack: Fundraising and product launches.
              alertEmails:
                - partners@fund.example
      responses:
        '200':
          description: >-
            Enriched draft. Send `data` to `POST /api/v1/tracker` with
            `confirmed: true` to track it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnrichedDraft'
              example:
                data:
                  companyName: Example
                  companyWebsite: https://example.com
                  companyLinkedinUrl: https://www.linkedin.com/company/example
                  founders:
                    - name: Jane Founder
                      linkedinUrl: https://www.linkedin.com/in/jane-founder
                      twitterUrl: https://x.com/janefounder
                requiresConfirmation: true
                missingProfiles:
                  - companyTwitterUrl
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '502':
          $ref: '#/components/responses/EnrichmentFailed'
components:
  schemas:
    TrackerDraft:
      type: object
      required:
        - companyName
        - companyWebsite
        - founders
        - thingsToTrack
        - alertEmails
      properties:
        companyName:
          type: string
          minLength: 1
          maxLength: 200
        companyWebsite:
          type: string
          format: uri
        companyLinkedinUrl:
          type: string
          format: uri
        companyTwitterUrl:
          type: string
          format: uri
        companyGithubUrl:
          type: string
          format: uri
        companySummary:
          type: string
          maxLength: 5000
        founders:
          type: array
          minItems: 1
          maxItems: 10
          items:
            $ref: '#/components/schemas/Founder'
        thingsToTrack:
          type: string
          minLength: 1
          maxLength: 10000
          description: Natural-language alert rules, compiled into a governed policy.
        alertEmails:
          type: array
          minItems: 1
          maxItems: 20
          items:
            type: string
            format: email
        emailAlertsEnabled:
          type: boolean
          default: true
        cadenceDays:
          type: integer
          enum:
            - 3
            - 7
            - 30
          default: 7
    EnrichedDraft:
      type: object
      properties:
        data:
          type: object
        requiresConfirmation:
          type: boolean
        missingProfiles:
          type: array
          items:
            type: string
    Founder:
      type: object
      required:
        - name
      properties:
        id:
          type: string
          description: 'PATCH only: stored founder id to update in place.'
        name:
          type: string
        linkedinUrl:
          type: string
          format: uri
        twitterUrl:
          type: string
          format: uri
        githubUrl:
          type: string
          format: uri
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
  responses:
    BadRequest:
      description: '`validation_error`, `invalid_json`, or `invalid_cursor`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, malformed, unknown, revoked or expired key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Key lacks the required scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Per-key rate limit exceeded. Wait `Retry-After` seconds.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    EnrichmentFailed:
      description: Draft enrichment failed or returned an invalid result.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: RaiseGate API key
      description: 'API key issued with `npm run partner-api:key`. Format: `rg_live_...`.'

````