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

# Refresh now

> Queues an immediate tracker run. Poll the entity until `lastScrapedAt` differs from `baselineLastScrapedAt` (usually about 1-1.5 minutes). Returns `409 refresh_in_progress` if a run is already in progress (including the automatic first run after creation, once it has started) and `409 entity_paused` if the company is paused.



## OpenAPI

````yaml /openapi.json post /api/v1/tracker/{id}/refresh
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/{id}/refresh:
    post:
      tags:
        - Tracker
      summary: Refresh now
      description: >-
        Queues an immediate tracker run. Poll the entity until `lastScrapedAt`
        differs from `baselineLastScrapedAt` (usually about 1-1.5 minutes).
        Returns `409 refresh_in_progress` if a run is already in progress
        (including the automatic first run after creation, once it has started)
        and `409 entity_paused` if the company is paused.
      operationId: refreshTrackedEntity
      parameters:
        - $ref: '#/components/parameters/EntityId'
      responses:
        '202':
          description: Refresh queued.
          headers:
            Location:
              schema:
                type: string
              description: Poll URL for the entity.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RefreshQueued'
              example:
                refresh:
                  entityId: 6ed57a75-0000-0000-0000-000000000000
                  taskId: c1f00000-0000-0000-0000-000000000000
                  status: queued
                  pollUrl: /api/v1/tracker/6ed57a75-0000-0000-0000-000000000000
                  baselineLastScrapedAt: '2026-09-18T16:29:08.024927+00:00'
                  suggestedPollIntervalSeconds: 5
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '502':
          $ref: '#/components/responses/RefreshFailed'
components:
  parameters:
    EntityId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    RefreshQueued:
      type: object
      properties:
        refresh:
          type: object
          properties:
            entityId:
              type: string
              format: uuid
            taskId:
              type: string
            status:
              type: string
            pollUrl:
              type: string
            baselineLastScrapedAt:
              type:
                - string
                - 'null'
            suggestedPollIntervalSeconds:
              type: integer
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              type: object
  responses:
    Unauthorized:
      description: >-
        Missing, malformed, unknown, revoked or expired key, or a key not tied
        to a member of its organisation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Key lacks the required scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Unknown ID, or an ID from another organisation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Conflict:
      description: >-
        `idempotency_conflict`, `idempotency_in_progress`,
        `refresh_in_progress`, or `entity_paused`.
      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'
    RefreshFailed:
      description: The tracker backend could not queue the run.
      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 -- --org <slug> --user
        <member-email> --name <name>`. Format: `rg_live_...`. The key acts for
        that member of the organisation; keys of `viewer` members are read-only.

````